/// <summary>
        /// Start Flurry session.
        /// </summary>
        /// <param name="iOSApiKey">iOS API key.</param>
        /// <param name="androidApiKey">Android API key.</param>
        public void StartSession(string iOSApiKey, string androidApiKey, bool sendErrorsToFlurry)
        {
#if UNITY_IOS
            FlurryAnalyticsIOS.StartSession(iOSApiKey, sendErrorsToFlurry);
#elif UNITY_ANDROID
            FlurryAnalyticsAndroid.Init(androidApiKey, sendErrorsToFlurry);
            FlurryAnalyticsAndroid.OnStartSession();
#endif
        }
Example #2
0
 public void StartSession(string iOSApiKey, string androidApiKey, bool sendErrorsToFlurry)
 {
     FlurryAnalyticsAndroid.Init(androidApiKey, sendErrorsToFlurry);
     FlurryAnalyticsAndroid.OnStartSession();
 }