File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -421,7 +421,10 @@ - (void)setInstallParams:(NSString *)installParams {
421421}
422422
423423- (void ) setAppleSearchAdDetails : (NSDictionary *)details {
424- [self writeObjectToDefaults: BRANCH_PREFS_KEY_APPLE_SEARCH_ADS_INFO value: details];
424+ if (details == nil || [details isKindOfClass: [NSDictionary class ]]) {
425+ _appleSearchAdDetails = details;
426+ [self writeObjectToDefaults: BRANCH_PREFS_KEY_APPLE_SEARCH_ADS_INFO value: details];
427+ }
425428}
426429
427430- (NSDictionary *) appleSearchAdDetails {
Original file line number Diff line number Diff line change @@ -374,6 +374,8 @@ - (void)initSessionWithLaunchOptions:(NSDictionary *)options isReferrable:(BOOL)
374374
375375 self.asyncRequestCount = 0 ;
376376
377+ // These methods will increment self.asyncRequestCount if they make an async call:
378+
377379 // If Facebook SDK is present, call deferred app link check here which will later on call initUserSession
378380 [self checkFacebookAppLinks ];
379381 // If developer opted in, call deferred apple search attribution API here which will later on call initUserSession
You can’t perform that action at this time.
0 commit comments