> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation Guide (SDK v3)

> Step-by-step instructions to integrate Gameball SDK v3 with your application across supported platforms.

> [!NOTE]
>
> This guide is for **SDK v3** which features modern builder patterns, improved type safety, and enhanced performance. SDK v4 is the latest version and adds in-app messaging. To read the SDK v4 or SDK v2 documentation, switch versions using the dropdown above.

> [card] [Web](https://docs.gameball.co/installation-guides/v3/web.md)
>
> Integrate Gameball with your website or web application using JavaScript SDK

> [card] [Android](https://docs.gameball.co/installation-guides/v3/android.md)
>
> Integrate Gameball with your Android application using SDK v3.1.1 with modern Kotlin patterns

> [card] [Flutter](https://docs.gameball.co/installation-guides/v3/flutter.md)
>
> Integrate Gameball with your Flutter application using SDK v3.1.1 with builder patterns

> [card] [React Native](https://docs.gameball.co/installation-guides/v3/react-native.md)
>
> Integrate Gameball with your React Native application using SDK v3.1.2 with TypeScript support

> [card] [iOS](https://docs.gameball.co/installation-guides/v3/ios.md)
>
> Integrate Gameball with your iOS application using SDK v3.1.1 with Swift support

## What's New in SDK v3

> [card] Builder Pattern API
>
> Modern builder patterns for type-safe configuration and requests

> [card] Better Performance
>
> Optimized SDK initialization and reduced memory footprint

> [card] Enhanced Type Safety
>
> Stronger compile-time validation and null safety support

> [card] Improved Error Handling
>
> Better error messages and callback-based async operations

## What you'll learn

Each platform guide covers the essential integration steps:

* **Getting Started** - Install SDK and set up dependencies
* **Initialize SDK** - Configure SDK with builder pattern
* **Initialize Customer Profile** - Register customers and show profile widget
* **Track Customer Events** - Send customer actions and behaviors to Gameball
* **Track Orders & Cashback** - Monitor orders and provide cashback rewards
* **Integrate Redemption** - Enable customers to redeem their earned points
* **Track Referrals** - Implement referral tracking with Firebase Dynamic Links
* **Go-Live Checklist** - Ensure everything is ready for production
* **Migration Notes** - Migrate from v2 to v3

## Prerequisites

Before starting your integration, make sure you have:

* A Gameball account with API credentials
* Your application's development environment set up
* Basic understanding of your chosen platform's development workflow

> [!TIP]
>
> SDK v3 is available for **Web**, **Android**, **Flutter**, **React Native**, and **iOS**.

## Migration from v2

If you're currently using SDK v2 and want to upgrade:

* [Android v2 to v3 Migration Guide](https://docs.gameball.co/installation-guides/v3/android/migration-notes.md)
* [Flutter v2 to v3 Migration Guide](https://docs.gameball.co/installation-guides/v3/flutter/migration-notes.md)
* [React Native v2 to v3 Migration Guide](https://docs.gameball.co/installation-guides/v3/react-native/migration-notes.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.