Google Analytics for iOS 3.12 causes huge memory issues

262 views Asked by At

I followed the basic documentation for setting up GA (using coocapods), and as soon as my event is fired

- (void)viewDidLoad {

[super viewDidLoad];

id<GAITracker> tracker = [[GAI sharedInstance] defaultTracker];

[tracker send:[[GAIDictionaryBuilder createEventWithCategory:@"ui_action"     // Event category (required)
                                                      action:@"button_press"  // Event action (required)
                                                       label:@"play"          // Event label
                                                       value:nil] build]];

the memory usage goes out of control (gigabytes in seconds). Without this tracker code, everything is just fine.

In Instruments those two allocations repeat millions of times, with nothing else in between.

Instruments

0

There are 0 answers