File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ - (id)initWithConfig:(ADJConfig *_Nullable)adjustConfig
157
157
adjustConfig.attConsentWaitingInterval];
158
158
}
159
159
160
+ if (adjustConfig.isAppTrackingTransparencyUsageEnabled == NO ) {
161
+ [ADJAdjustFactory.logger warn: @" App Tracking Transparency framework usage has been disabled" ];
162
+ }
163
+
160
164
self.adjustConfig = adjustConfig;
161
165
self.savedPreLaunch = savedPreLaunch;
162
166
self.adjustDelegate = adjustConfig.delegate ;
@@ -2933,7 +2937,12 @@ - (BOOL)shouldWaitForAttStatus {
2933
2937
2934
2938
// check current ATT status
2935
2939
int attStatus = [self attStatus ];
2940
+ // App Tracking Transparency framework usage is disabled
2936
2941
if (attStatus == -1 ) {
2942
+ // Just in case it's there from the previous init where
2943
+ // App Tracking Transparency framework usage was enabled,
2944
+ // remove ATT Waiting related stuff.
2945
+ [ADJUserDefaults removeAttWaitingRemainingSeconds ];
2937
2946
return NO ;
2938
2947
}
2939
2948
Original file line number Diff line number Diff line change @@ -460,6 +460,8 @@ - (void)handleResponseWithData:(NSData *)data
460
460
[self injectParameters: mergedParameters kvArray: kvParameters];
461
461
462
462
NSString *bodyString = [kvParameters componentsJoinedByString: @" &" ];
463
+ [self .logger verbose: @" Body (String) to send: [%@ ]" , bodyString];
464
+
463
465
NSData *body = [NSData dataWithBytes: bodyString.UTF8String length: bodyString.length];
464
466
[request setHTTPBody: body];
465
467
return request;
You can’t perform that action at this time.
0 commit comments