feat: add deeplinking to native example (#309)

This commit is contained in:
Michał Osadnik
2020-01-28 16:47:01 +01:00
committed by GitHub
parent 50b366e734
commit e55e866af2
6 changed files with 132 additions and 95 deletions

View File

@@ -13,6 +13,7 @@
#import <UMCore/UMModuleRegistry.h>
#import <UMReactNativeAdapter/UMNativeModulesProxy.h>
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
#import <React/RCTLinkingManager.h>
@implementation AppDelegate
@@ -52,4 +53,10 @@
#endif
}
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
return [RCTLinkingManager application:app openURL:url options:options];
}
@end