File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ void _send(NSDictionary * parameters);
8
8
void _setProductName (char * name);
9
9
void _setProductVersion (char * version);
10
10
void _setOptOut (bool optOut);
11
+ void _anonymizeIP ();
12
+ void _enableIDFACollection ();
11
13
void _setDispatchInterval (int time);
12
14
void _setTrackUncaughtExceptions (bool trackUncaughtExceptions);
13
15
void _setDryRun (bool dryRun);
Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ void anonymizeIP(){
51
51
[tracker set: kGAIAnonymizeIp value: @" 1" ];
52
52
}
53
53
54
+ void enableIDFACollection (){
55
+ [[GAI sharedInstance ] defaultTracker ].allowIDFACollection = YES ;
56
+ }
57
+
54
58
void setSampleFrequency (int sampleFrequency) {
55
59
id tracker = [[GAI sharedInstance ] defaultTracker ];
56
60
[tracker set: kGAISampleRate value: [@(sampleFrequency) stringValue ]];
You can’t perform that action at this time.
0 commit comments