Google Analytics iOS SDK V0.2 Beta Canceled Interval Timer

I use Google Analytics for my iPad app. I did everything as the documentation said and works. In AppDelegate, I set dispatchInterval to 20 seconds with

[GAI sharedInstance].dispatchInterval = 20; 

This is shooting, and I see a surge in the Google Analytics page. But this happens only once. Then in the console, I get

(GAIDispatcher.m: 422) DEBUG: Waiting for a delete queue. 2013-05-17 15: 37: 28.849 xxxxxx [3584: c07] GoogleAnalytics 2.0b4 - [GAIDispatcher cancelTimer] (GAIDispatcher.m: 224) DEBUG: Canceled timer with an interval of 20.0 s

And he just stops. without calling Analytics. Can anyone help me on this. Why is this happening?

+4
source share
1 answer

The timer is canceled, probably because there are no messages to send to GA

link: http://chrisrisner.com/31-Days-of-iOS--Day-30%E2%80%93Adding-Google-Analytics-to-your-App

-1
source

Source: https://habr.com/ru/post/1481314/


All Articles