Page MenuHomePhabricator

D7216.id24264.diff
No OneTemporary

D7216.id24264.diff

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 <React/RCTBridge+Private.h>
#import <React/RCTCxxBridgeDelegate.h>
#import <React/RCTJSIExecutorRuntimeInstaller.h>
+#import <React/RCTLinkingManager.h>
#import <cxxreact/JSExecutor.h>
#import <jsireact/JSIExecutor.h>
#import <reacthermes/HermesExecutorFactory.h>
@@ -129,6 +130,25 @@
return YES;
}
+- (BOOL)application:(UIApplication *)application
+ openURL:(NSURL *)url
+ options:
+ (NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options {
+ return [RCTLinkingManager application:application
+ openURL:url
+ options:options];
+}
+
+- (BOOL)application:(UIApplication *)application
+ continueUserActivity:(nonnull NSUserActivity *)userActivity
+ restorationHandler:
+ (nonnull void (^)(NSArray<id<UIUserActivityRestoring>> *_Nullable))
+ restorationHandler {
+ return [RCTLinkingManager application:application
+ continueUserActivity:userActivity
+ restorationHandler:restorationHandler];
+}
+
- (NSArray<id<RCTBridgeModule>> *)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 @@
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.associated-domains</key>
- <array/>
+ <array>
+ <string>applinks:web.comm.app</string>
+ </array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.app.comm</string>

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 5:11 AM (10 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2701660
Default Alt Text
D7216.id24264.diff (1 KB)

Event Timeline