Thanks to visit codestin.com
Credit goes to github.com

Skip to content

workinman-interactive/Flurry-Unity-3D

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

In order to implement this plugin, you will need to include Google Play Analytics Services API. Using a Unity project that builds via Gradle, add the following to your Gradle build file:

dependencies {
    compile 'com.google.android.gms:play-services-analytics:11.0.4'
}

In Android Studio SDK Manager, make sure your Google Play Games Services SDK is updated, along with the Google Repository.

If you are already using Google Play Games Services, this API is included, but you may run into dex overflow issues when you build. To solve this issue, you will need to compile only the packages you need independently via Gradle (as recommended above with Analytics).

In the Google Play Developer Console,

  • generate unique app id in Google Developer Console under Game Services tab.
  • replace 'APP_ID' field in AndroidMainfest.xml to your existing app id value:
<meta-data android:name="com.google.android.gms.games.APP_ID" android:value="\ APP_ID" />
  • set proper package name in Unity project settings.

iOS:

  • Add Security.framework

Version

0.9.9

License

MIT

About

Flurry iOS and Android plugin for Unity 3D.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 61.2%
  • Objective-C 32.4%
  • Objective-C++ 6.4%