File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11import UIKit
22import React
33import React_RCTAppDelegate
4+ import ReactCodegen
45
56@main
67class AppDelegate : RCTAppDelegate {
78 override func application( _ application: UIApplication , didFinishLaunchingWithOptions launchOptions: [ UIApplication . LaunchOptionsKey : Any ] ? = nil ) -> Bool {
89 self . moduleName = " HelloWorld "
9-
10+ self . dependencyProvider = RCTAppDependencyProvider ( )
11+
1012 // You can add your custom initial props in the dictionary below.
1113 // They will be passed down to the ViewController used by React Native.
1214 self . initialProps = [ : ]
13-
15+
1416 return super. application ( application, didFinishLaunchingWithOptions: launchOptions)
1517 }
16-
18+
1719 override func sourceURL( for bridge: RCTBridge ) -> URL ? {
1820 self . bundleURL ( )
1921 }
20-
22+
2123 override func bundleURL( ) -> URL ? {
2224#if DEBUG
2325 RCTBundleURLProvider . sharedSettings ( ) . jsBundleURL ( forBundleRoot: " index " )
You can’t perform that action at this time.
0 commit comments