@@ -10,7 +10,6 @@ import WatchConnectivity
1010public class AppDelegate : ExpoAppDelegate {
1111 var window : UIWindow ?
1212
13- // var reactNativeDelegate: ExpoReactNativeFactoryDelegate?
1413 var reactNativeDelegate : ReactNativeDelegate ?
1514 var reactNativeFactory : RCTReactNativeFactory ?
1615 var watchConnection : WatchConnection ?
@@ -33,7 +32,6 @@ public class AppDelegate: ExpoAppDelegate {
3332 ReplyNotification . configure ( )
3433
3534 let delegate = ReactNativeDelegate ( )
36- // let factory = ExpoReactNativeFactory(delegate: delegate)
3735 let factory = RCTReactNativeFactory ( delegate: delegate)
3836 delegate. dependencyProvider = RCTAppDependencyProvider ( )
3937
@@ -98,23 +96,6 @@ public class AppDelegate: ExpoAppDelegate {
9896 }
9997}
10098
101- //class ReactNativeDelegate: ExpoReactNativeFactoryDelegate {
102- // // Extension point for config-plugins
103- //
104- // override func sourceURL(for bridge: RCTBridge) -> URL? {
105- // // needed to return the correct URL for expo-dev-client.
106- // bridge.bundleURL ?? bundleURL()
107- // }
108- //
109- // override func bundleURL() -> URL? {
110- //#if DEBUG
111- // return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: ".expo/.virtual-metro-entry")
112- //#else
113- // return Bundle.main.url(forResource: "main", withExtension: "jsbundle")
114- //#endif
115- // }
116- //}
117-
11899class ReactNativeDelegate : RCTDefaultReactNativeFactoryDelegate {
119100 override func sourceURL( for bridge: RCTBridge ) -> URL ? {
120101 self . bundleURL ( )
0 commit comments