File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,8 @@ - (void)updateDeviceInfoToMutableDictionary:(NSMutableDictionary *)dict {
610610 [self .deviceInfo checkAdvertisingIdentifier ];
611611
612612 // Only include hardware ID fields for Full Attribution Level
613- if ([self .preferenceHelper attributionLevel ] == BranchAttributionLevelFull) {
613+ if ([self .preferenceHelper attributionLevel ] == BranchAttributionLevelFull
614+ || [self .preferenceHelper attributionLevelInitialized ] == false ) {
614615
615616 // hardware id information. idfa, idfv or random
616617 NSString *hardwareId = [self .deviceInfo.hardwareId copy ];
Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ + (NSString *)advertiserIdentifier {
8484 if ([uid isEqualToString: @" 00000000-0000-0000-0000-000000000000" ]) {
8585 [[BranchLogger shared ] logVerbose: [NSString stringWithFormat: @" IDFA is all 0's. Probably running on a simulator or an App Clip." ] error: nil ];
8686 uid = nil ;
87+ } else {
88+ [[BranchLogger shared ] logDebug: [NSString stringWithFormat: @" IDFA found: %@ " , uid] error: nil ];
8789 }
8890 }
8991 return uid;
You can’t perform that action at this time.
0 commit comments