Integreat.iOS.AnalyticsService.Initialize C# (CSharp) Method

Initialize() public method

public Initialize ( ) : void
return void
		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);
        }