Skip to content

Commit

Permalink
Fixed commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDixit09 committed Dec 2, 2024
1 parent 18f3c96 commit 2db6c7f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/BranchSDK/BNCRequestFactory.m
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ - (NSDictionary *)dataForInstallWithRequestObject:(BranchInstallRequest *) insta
[self addTimestampsToJSON:json];

// Check if the urlString is a valid URL to ensure it's a universal link, not the external intent uri
/* if (openRequest.) {
NSURL *url = [NSURL URLWithString:urlString];
if (installRequest.urlString) {
NSURL *url = [NSURL URLWithString:installRequest.urlString];
if (url && ([url.scheme isEqualToString:@"http"] || [url.scheme isEqualToString:@"https"])) {
[self safeSetValue:urlString forKey:BRANCH_REQUEST_KEY_UNIVERSAL_LINK_URL onDict:json];
[self safeSetValue:installRequest.urlString forKey:BRANCH_REQUEST_KEY_UNIVERSAL_LINK_URL onDict:json];
} else {
[self safeSetValue:urlString forKey:BRANCH_REQUEST_KEY_EXTERNAL_INTENT_URI onDict:json];
[self safeSetValue:installRequest.urlString forKey:BRANCH_REQUEST_KEY_EXTERNAL_INTENT_URI onDict:json];
}
}
*/

[self addAppleAttributionTokenToJSON:json];

// Install Only
Expand Down

0 comments on commit 2db6c7f

Please sign in to comment.