GithubHelp home page GithubHelp logo

isabella232 / appsflyer-unity-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appsflyersdk/appsflyer-unity-plugin

0.0 0.0 0.0 32.43 MB

AppsFlyer Unity Plugin

License: MIT License

C# 70.62% Objective-C++ 12.20% Objective-C 4.57% Java 11.75% Shell 0.86%

appsflyer-unity-plugin's Introduction

appsflyer-unity-plugin

License: MIT GitHub tag

๐Ÿ›  In order for us to provide optimal support, we would kindly ask you to submit any issues to [email protected]

When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , production steps, logs, code snippets and any additional relevant information.

Table of content


This plugin is built for

  • Android AppsFlyer SDK v6.1.0
  • iOS AppsFlyer SDK v6.1.1

๐Ÿ“ฒ Adding the SDK to your project

  1. Clone / download this repository.
  2. Import the appsflyer-unity-plugin-*.unitypackage into your Unity project.
  3. Go to Assets >> Import Package >> Custom Package.
  4. Select the appsflyer-unity-plugin-*.unitypackage file.

Note: The plugin uses the The External Dependency Manager for Unity (EDM4U) (formerly Play Services Resolver / Jar Resolver). If you do not want to use EDM4U see the Installation guide for more details.

๐Ÿš€ Initializing the SDK

Using the AppsFlyerObject.prefab

  1. Go to Assets > AppsFlyer and drag AppsFlyerObject.prefab to your scene.


2. Update the following fields:
Setting Description
Dev Key AppsFlyer's Dev Key, which is accessible from the AppsFlyer dashboard.
App ID Your iTunes Application ID. (If your app is not for iOS the leave field empty)
Get Conversion Data Set this to true if your app is using AppsFlyer for deep linking.
Is Debug Set this to true to view the debug logs. (for development only!)
  1. Update the code in Assets > AppsFlyer > AppsFlyerObjectScript.cs with other available API.

Manual integration

Create a game object and add the following init code:

using AppsFlyerSDK;

public class AppsFlyerObjectScript : MonoBehaviour
{
  void Start()
  {
    AppsFlyer.initSDK("devkey", "appID");
    AppsFlyer.startSDK();
  }
}

Note: Make sure not to call destroy on the game object.

๐Ÿ“– Guides

๐Ÿ“‘ API

See the full API available for this plugin.

โฉ Migration

Migrating from the old plugin? (version V4)
View the migration docs here.

โš ๏ธ There are breaking changes when migrating to Unity v5. This includes new API, different class/package names, and the removal of com.appsflyer.GetDeepLinkingActivity.

appsflyer-unity-plugin's People

Contributors

af-fess avatar embermark avatar gm-appsflyer avatar sokoloff06 avatar sp-jordi-vilalta avatar wesfieldj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.