Skip to content

GameFrameX/com.gameframex.unity.appsflyer

Repository files navigation

Game Frame X Logo

Game Frame X AppsFlyer

GitHub release License Documentation

All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams

Documentation · Quick Start · QQ Group

Language: English | 简体中文 | 繁體中文 | 日本語 | 한국어


Project Overview

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.

Features

  • 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

Quick Start

System Requirements

  • Unity 2019.4 or higher
  • GameFrameX framework 1.1.1 or higher
  • AppsFlyer Unity SDK 6.17.1

Installation

Via Unity Package Manager

  1. Open Unity Package Manager
  2. Click the "+" button and select "Add package from git URL"
  3. Enter the following URL:
    https://github.com/gameframex/com.gameframex.unity.appsflyer.git
    

Manual Installation

  1. Download or clone this repository
  2. Copy the package folder into your Unity project's Packages directory

Usage Examples

Configuration

1. Add AppsFlyer Component

Add the AppsFlyerComponent component to a GameObject in your scene.

2. Configure Developer Keys and App ID

Configure the following parameters in the AppsFlyerComponent:

iOS Configuration
  • iOS Dev Key: iOS developer key from AppsFlyer console
  • iOS App ID: iOS App Store ID
Android Configuration
  • Android Dev Key: Android developer key from AppsFlyer console
  • Android App ID: Android app package name

3. Enable Debug Mode (Optional)

Check the Debug option to enable AppsFlyer SDK debug log output.

Basic Initialization

The AppsFlyer component initializes automatically when the game starts. Make sure the AppsFlyerComponent is added to the scene and properly configured.

Compilation Symbol

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.

Project Structure

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

Dependencies

  • com.gameframex.unity: GameFrameX core framework
  • com.appsflyer.unity: AppsFlyer Unity SDK

Documentation & Resources

License

This project is licensed under the MIT License and Apache License (Version 2.0). See LICENSE for details.

About

GameFrameX Unity AppsFlyer SDK integration component for mobile attribution and marketing analytics

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages