File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1070
1070
CURRENT_PROJECT_VERSION = 1;
1071
1071
DEAD_CODE_STRIPPING = NO;
1072
1072
DEVELOPMENT_TEAM = QGUGW9AUMK;
1073
+ HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../node_modules/react-native/Libraries/LinkingIOS\"/**";
1073
1074
INFOPLIST_FILE = Example/Info.plist;
1074
1075
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1075
1076
OTHER_LDFLAGS = (
1090
1091
CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements;
1091
1092
CURRENT_PROJECT_VERSION = 1;
1092
1093
DEVELOPMENT_TEAM = QGUGW9AUMK;
1094
+ HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../node_modules/react-native/Libraries/LinkingIOS\"/**";
1093
1095
INFOPLIST_FILE = Example/Info.plist;
1094
1096
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1095
1097
OTHER_LDFLAGS = (
Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
#import " AppDelegate.h"
11
+ #import " RCTLinkingManager.h"
11
12
12
13
#import < React/RCTBundleURLProvider.h>
13
14
#import < React/RCTRootView.h>
@@ -34,4 +35,15 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
34
35
return YES ;
35
36
}
36
37
38
+ - (BOOL )application : (UIApplication *)application openURL : (NSURL *)url sourceApplication : (NSString *)sourceApplication annotation : (id )annotation
39
+ {
40
+ return [RCTLinkingManager application: application openURL: url sourceApplication: sourceApplication annotation: annotation];
41
+ }
42
+
43
+ // Only if your app is using [Universal Links](https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/AppSearch/UniversalLinks.html).
44
+ - (BOOL )application : (UIApplication *)application continueUserActivity : (NSUserActivity *)userActivity restorationHandler : (void (^)(NSArray * _Nullable))restorationHandler
45
+ {
46
+ return [RCTLinkingManager application: application continueUserActivity: userActivity restorationHandler: restorationHandler];
47
+ }
48
+
37
49
@end
You can’t perform that action at this time.
0 commit comments