All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams
Documentation · Quick Start · QQ Group
Language: English | 简体中文 | 繁體中文 | 日本語 | 한국어
Game Frame X AppsFlyer is an AppsFlyer SDK Unity wrapper based on the GameFrameX framework, providing mobile app attribution and marketing analytics for Unity games.
- Mobile App Attribution: Track user acquisition sources and campaign performance
- Marketing Analytics: Detailed user behavior and conversion data
- Simple Integration: Component-based design built on GameFrameX
- Cross-Platform: Supports both iOS and Android
- Privacy Compliance: Built-in user consent management
- Unity 2019.4 or higher
- GameFrameX framework 1.1.1 or higher
- AppsFlyer Unity SDK 6.17.1
- Open Unity Package Manager
- Click the "+" button and select "Add package from git URL"
- Enter the following URL:
https://github.com/gameframex/com.gameframex.unity.appsflyer.git
- Download or clone this repository
- Copy the package folder into your Unity project's
Packagesdirectory
Add the AppsFlyerComponent component to a GameObject in your scene.
Configure the following parameters in the AppsFlyerComponent:
- iOS Dev Key: iOS developer key from AppsFlyer console
- iOS App ID: iOS App Store ID
- Android Dev Key: Android developer key from AppsFlyer console
- Android App ID: Android app package name
Check the Debug option to enable AppsFlyer SDK debug log output.
The AppsFlyer component initializes automatically when the game starts. Make sure the AppsFlyerComponent is added to the scene and properly configured.
The package uses the ENABLE_GAME_FRAME_X_APPSFLYER compilation symbol to enable AppsFlyer functionality. Make sure this symbol is defined in your project settings.
Runtime/
├── AppsFlyerComponent.cs # AppsFlyer Unity component
├── AppsFlyerManager.cs # AppsFlyer manager implementation
├── IAppsFlyerManager.cs # AppsFlyer manager interface
└── GameFrameXAppsFlyerCroppingHelper.cs # Code stripping helper
Editor/
├── AppsFlyerComponentInspector.cs # Component inspector
└── GameFrameX.AppsFlyer.Editor.asmdef # Editor assembly definition
com.gameframex.unity: GameFrameX core frameworkcom.appsflyer.unity: AppsFlyer Unity SDK
- Documentation: https://gameframex.doc.alianblank.com
- Repository: https://github.com/gameframex/com.gameframex.unity.appsflyer
- Issues: https://github.com/gameframex/com.gameframex.unity.appsflyer/issues
This project is licensed under the MIT License and Apache License (Version 2.0). See LICENSE for details.
