expo-dev-menu-interface 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'host.exp.exponent'
|
|
4
|
-
version = '1.9.
|
|
4
|
+
version = '1.9.2'
|
|
5
5
|
|
|
6
6
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
7
7
|
apply from: expoModulesCorePlugin
|
|
@@ -13,7 +13,7 @@ android {
|
|
|
13
13
|
namespace "expo.interfaces.devmenu"
|
|
14
14
|
defaultConfig {
|
|
15
15
|
versionCode 6
|
|
16
|
-
versionName '1.9.
|
|
16
|
+
versionName '1.9.2'
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@file:Suppress("DEPRECATION")
|
|
2
|
-
|
|
3
1
|
package expo.interfaces.devmenu
|
|
4
2
|
|
|
5
3
|
import com.facebook.react.JSEngineResolutionAlgorithm
|
|
@@ -8,9 +6,9 @@ import com.facebook.react.ReactInstanceEventListener
|
|
|
8
6
|
import com.facebook.react.ReactNativeHost
|
|
9
7
|
import com.facebook.react.bridge.ReactContext
|
|
10
8
|
import com.facebook.react.common.LifecycleState
|
|
11
|
-
import com.facebook.react.config.ReactFeatureFlags
|
|
12
9
|
import com.facebook.react.devsupport.interfaces.DevSupportManager
|
|
13
10
|
import com.facebook.react.runtime.ReactHostImpl
|
|
11
|
+
import expo.modules.rncompatibility.ReactNativeFeatureFlags
|
|
14
12
|
import java.lang.reflect.Field
|
|
15
13
|
|
|
16
14
|
/**
|
|
@@ -22,7 +20,7 @@ class ReactHostWrapper(reactNativeHost: ReactNativeHost, reactHostProvider: () -
|
|
|
22
20
|
lateinit var reactHost: ReactHost
|
|
23
21
|
|
|
24
22
|
init {
|
|
25
|
-
if (
|
|
23
|
+
if (ReactNativeFeatureFlags.enableBridgelessArchitecture) {
|
|
26
24
|
this.reactHost = requireNotNull(reactHostProvider())
|
|
27
25
|
} else {
|
|
28
26
|
this.reactNativeHost = reactNativeHost
|
|
@@ -64,7 +62,7 @@ class ReactHostWrapper(reactNativeHost: ReactNativeHost, reactHostProvider: () -
|
|
|
64
62
|
}
|
|
65
63
|
}
|
|
66
64
|
|
|
67
|
-
val isBridgelessMode =
|
|
65
|
+
val isBridgelessMode = ReactNativeFeatureFlags.enableBridgelessArchitecture
|
|
68
66
|
|
|
69
67
|
val jsExecutorName: String
|
|
70
68
|
get() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-menu-interface",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "Interface for expo-dev-menu",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"expo": "*"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "6cbc7c671f769d36e4294f25a9445281912e45fd"
|
|
29
29
|
}
|