File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11#import " AppDelegate.h"
22
33#import < React/RCTBundleURLProvider.h>
4+ #import < ReactAppDependencyProvider/RCTAppDependencyProvider.h>
5+
46
57@implementation AppDelegate
68
79- (BOOL )application : (UIApplication *)application didFinishLaunchingWithOptions : (NSDictionary *)launchOptions
810{
911 self.moduleName = @" IosContextMenuExample" ;
12+ self.dependencyProvider = [RCTAppDependencyProvider new ];
13+
1014 // You can add your custom initial props in the dictionary below.
1115 // They will be passed down to the ViewController used by React Native.
1216 self.initialProps = @{};
13-
17+
1418 return [super application: application didFinishLaunchingWithOptions: launchOptions];
1519}
1620
@@ -27,5 +31,4 @@ - (NSURL *)bundleURL
2731 return [[NSBundle mainBundle ] URLForResource: @" main" withExtension: @" jsbundle" ];
2832#endif
2933}
30-
3134@end
You can’t perform that action at this time.
0 commit comments