We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7071356 + eea525d commit be64242Copy full SHA for be64242
ios/RNBranch.m
@@ -169,6 +169,13 @@ + (void)initSessionWithLaunchOptions:(NSDictionary *)launchOptions isReferrable:
169
170
+ (void)initializeBranchSDK
171
{
172
+ // Universal Links
173
+ NSUserActivity *coldLaunchUserActivity = savedLaunchOptions[UIApplicationLaunchOptionsUserActivityDictionaryKey][@"UIApplicationLaunchOptionsUserActivityKey"];
174
+ if (coldLaunchUserActivity.webpageURL) {
175
+ [self willOpenURL:coldLaunchUserActivity.webpageURL];
176
+ }
177
+
178
+ // URI schemes
179
NSURL *coldLaunchURL = savedLaunchOptions[UIApplicationLaunchOptionsURLKey];
180
if (coldLaunchURL) {
181
[self willOpenURL:coldLaunchURL];
0 commit comments