diff --git a/native/ios/Comm/AppDelegate.mm b/native/ios/Comm/AppDelegate.mm --- a/native/ios/Comm/AppDelegate.mm +++ b/native/ios/Comm/AppDelegate.mm @@ -33,6 +33,7 @@ #import #import #import +#import #import #import #import @@ -129,6 +130,25 @@ return YES; } +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options: + (NSDictionary *)options { + return [RCTLinkingManager application:application + openURL:url + options:options]; +} + +- (BOOL)application:(UIApplication *)application + continueUserActivity:(nonnull NSUserActivity *)userActivity + restorationHandler: + (nonnull void (^)(NSArray> *_Nullable)) + restorationHandler { + return [RCTLinkingManager application:application + continueUserActivity:userActivity + restorationHandler:restorationHandler]; +} + - (NSArray> *)extraModulesForBridge:(RCTBridge *)bridge { // If you'd like to export some custom RCTBridgeModules that are not Expo // modules, add them here! diff --git a/native/ios/Comm/Comm.entitlements b/native/ios/Comm/Comm.entitlements --- a/native/ios/Comm/Comm.entitlements +++ b/native/ios/Comm/Comm.entitlements @@ -5,7 +5,9 @@ aps-environment development com.apple.developer.associated-domains - + + applinks:web.comm.app + com.apple.security.application-groups group.app.comm