Skip to content

Commit

Permalink
[SDK-2475] Fix for BNCURLFilter's regex being set as external_intent_…
Browse files Browse the repository at this point in the history
…uri (#1419)

* Fix for some URI scheme bugs

* Remove other code change

* Fixed space
  • Loading branch information
nsingh-branch authored Aug 20, 2024
1 parent 60fca2a commit 21e2b57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/BranchSDK/Branch.m
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,10 @@ - (BOOL)handleDeepLink:(NSURL *)url sceneIdentifier:(NSString *)sceneIdentifier
}
if (pattern) {
self.preferenceHelper.dropURLOpen = YES;
self.preferenceHelper.externalIntentURI = pattern;
self.preferenceHelper.referringURL = pattern;

NSString *urlString = [url absoluteString];
self.preferenceHelper.externalIntentURI = urlString;
self.preferenceHelper.referringURL = urlString;

[self initUserSessionAndCallCallback:YES sceneIdentifier:sceneIdentifier urlString:nil reset:YES];
return NO;
Expand Down

0 comments on commit 21e2b57

Please sign in to comment.