@@ -10,7 +10,6 @@ import WatchConnectivity
10
10
public class AppDelegate : ExpoAppDelegate {
11
11
var window : UIWindow ?
12
12
13
- // var reactNativeDelegate: ExpoReactNativeFactoryDelegate?
14
13
var reactNativeDelegate : ReactNativeDelegate ?
15
14
var reactNativeFactory : RCTReactNativeFactory ?
16
15
var watchConnection : WatchConnection ?
@@ -33,7 +32,6 @@ public class AppDelegate: ExpoAppDelegate {
33
32
ReplyNotification . configure ( )
34
33
35
34
let delegate = ReactNativeDelegate ( )
36
- // let factory = ExpoReactNativeFactory(delegate: delegate)
37
35
let factory = RCTReactNativeFactory ( delegate: delegate)
38
36
delegate. dependencyProvider = RCTAppDependencyProvider ( )
39
37
@@ -98,23 +96,6 @@ public class AppDelegate: ExpoAppDelegate {
98
96
}
99
97
}
100
98
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
-
118
99
class ReactNativeDelegate : RCTDefaultReactNativeFactoryDelegate {
119
100
override func sourceURL( for bridge: RCTBridge ) -> URL ? {
120
101
self . bundleURL ( )
0 commit comments