Skip to content

Commit e57b69e

Browse files
committed
Fixed early return issue in func randomizedDeviceTokenFromResponseData.
1 parent 3d620bb commit e57b69e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Sources/BranchSDK/BranchOpenRequest.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ - (NSString *)randomizedBundleTokenFromResponseData:(NSDictionary *)data {
167167
}
168168

169169
- (NSString *)randomizedDeviceTokenFromResponseData:(NSDictionary *)data {
170-
if (![data objectForKey:BRANCH_RESPONSE_KEY_RANDOMIZED_DEVICE_TOKEN]) {
171-
return nil;
172-
}
173170
NSString *token = data[BRANCH_RESPONSE_KEY_RANDOMIZED_DEVICE_TOKEN];
174171
if (!token) {
175172
// fallback to deprecated name. Fingerprinting was removed long ago, hence the name change.

0 commit comments

Comments
 (0)