Inheritance: IAnalyticsService
		public void Initialize()
        {
            _instance = GetInstance();
			Gai.SharedInstance.DispatchInterval = 10;
			Gai.SharedInstance.TrackUncaughtExceptions = true;

			//Enable for debugging:
			//Gai.SharedInstance.DryRun = true; //don't send stuff to server
			//Gai.SharedInstance.Logger.SetLogLevel(LogLevel.Verbose);

			_tracker = Gai.SharedInstance.GetTracker(TrackingId);
			_tracker.SetAllowIdfaCollection(true);
        }
 public static AnalyticsService GetInstance()
 {
     return _instance ?? (_instance = new AnalyticsService());
 }
Ejemplo n.º 3
0
 public static AnalyticsService GetInstance()
 {
     return(_instance ?? (_instance = new AnalyticsService()));
 }