Majchrzak / Flurry-Unity-3D

Flurry iOS and Android plugin for Unity 3D.
MIT License
64 stars 33 forks source link
android flurry flurry-ios unity unity3d

Flurry plugin for Unity 3D


It's free Flurry Analytics iOS and Android implementation for Unity 3D.

Fully supported:

You can also find cross-platform analytics implementation in Flurry.cs file.

Usage

private void Start()
{
    // For Flurry Android only:
    FlurryAndroid.SetLogEnabled(true);

    // For Flurry iOS only:
    FlurryIOS.SetDebugLogEnabled(true);

    // Cross-platform
    Flurry.Instance.StartSession("ios_api_key", "android_api_key");
    Flurry.Instance.LogUserID("Github User");
    Flurry.Instance.LogEvent("event", new Dictionary<string, string> {{ "platform", "Github" }});
}

See TestScene.unity for more details.

Installation

Android:

Due to Google restrictions, under Plugins/Android you can find Google Play Games library that is required for proper working of Flurry for Android. Feel free to replace that library with your existing Google Play Games implementation.

iOS:

Version

0.9.9

License

MIT