forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexpo+51.0.31+002+rn-75-fixes.patch
20 lines (18 loc) · 1.07 KB
/
expo+51.0.31+002+rn-75-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/node_modules/expo/android/src/main/java/expo/modules/ReactNativeHostWrapperBase.kt b/node_modules/expo/android/src/main/java/expo/modules/ReactNativeHostWrapperBase.kt
index d6b2180..cb006ce 100644
--- a/node_modules/expo/android/src/main/java/expo/modules/ReactNativeHostWrapperBase.kt
+++ b/node_modules/expo/android/src/main/java/expo/modules/ReactNativeHostWrapperBase.kt
@@ -8,13 +8,13 @@ import com.facebook.react.ReactNativeHost
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.JavaScriptExecutorFactory
import com.facebook.react.bridge.ReactContext
+import com.facebook.react.defaults.DefaultReactNativeHost
import java.lang.reflect.Method
open class ReactNativeHostWrapperBase(
application: Application,
protected val host: ReactNativeHost
-) : ReactNativeHost(application) {
- // TODO: Inherit from DefaultReactNativeHost when we drop SDK 49 support
+) : DefaultReactNativeHost(application) {
internal val reactNativeHostHandlers = ExpoModulesPackage.packageList
.flatMap { it.createReactNativeHostHandlers(application) }