expo-dev-menu 7.0.7 → 7.0.8
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/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 7.0.8 — 2025-09-02
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
13
17
|
## 7.0.7 — 2025-08-31
|
|
14
18
|
|
|
15
19
|
_This version does not introduce any user-facing changes._
|
|
@@ -31,6 +35,7 @@ _This version does not introduce any user-facing changes._
|
|
|
31
35
|
### 💡 Others
|
|
32
36
|
|
|
33
37
|
- [ios] Wrap system color references for dev client. ([#38912](https://github.com/expo/expo/pull/38912) by [@douglowder](https://github.com/douglowder))
|
|
38
|
+
- [iOS] Change Constants to Constant/Property. ([#38926](https://github.com/expo/expo/pull/38926) by [@jakex7](https://github.com/jakex7))
|
|
34
39
|
|
|
35
40
|
## 7.0.2 — 2025-08-16
|
|
36
41
|
|
package/android/build.gradle
CHANGED
|
@@ -12,7 +12,7 @@ apply plugin: 'expo-module-gradle-plugin'
|
|
|
12
12
|
apply plugin: 'org.jetbrains.kotlin.plugin.compose'
|
|
13
13
|
|
|
14
14
|
group = 'host.exp.exponent'
|
|
15
|
-
version = '7.0.
|
|
15
|
+
version = '7.0.8'
|
|
16
16
|
|
|
17
17
|
expoModule {
|
|
18
18
|
canBePublished false
|
|
@@ -22,7 +22,7 @@ android {
|
|
|
22
22
|
namespace "expo.modules.devmenu"
|
|
23
23
|
defaultConfig {
|
|
24
24
|
versionCode 10
|
|
25
|
-
versionName '7.0.
|
|
25
|
+
versionName '7.0.8'
|
|
26
26
|
}
|
|
27
27
|
buildFeatures {
|
|
28
28
|
compose true
|
|
@@ -11,15 +11,12 @@ public class DevMenuInternalModule: Module {
|
|
|
11
11
|
Name("ExpoDevMenuInternal")
|
|
12
12
|
|
|
13
13
|
// MARK: JavaScript API
|
|
14
|
-
|
|
14
|
+
Constant("doesDeviceSupportKeyCommands") {
|
|
15
15
|
#if targetEnvironment(simulator)
|
|
16
|
-
|
|
16
|
+
return true
|
|
17
17
|
#else
|
|
18
|
-
|
|
18
|
+
return false
|
|
19
19
|
#endif
|
|
20
|
-
return [
|
|
21
|
-
"doesDeviceSupportKeyCommands": doesDeviceSupportKeyCommands
|
|
22
|
-
]
|
|
23
20
|
}
|
|
24
21
|
|
|
25
22
|
AsyncFunction("reload", DevMenuManager.shared.reload)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-menu",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.8",
|
|
4
4
|
"description": "Expo/React Native module with the developer menu.",
|
|
5
5
|
"main": "build/DevMenu.js",
|
|
6
6
|
"types": "build/DevMenu.d.ts",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@babel/preset-typescript": "^7.7.4",
|
|
41
41
|
"@testing-library/react-native": "^13.2.0",
|
|
42
42
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
43
|
-
"babel-preset-expo": "~14.0.
|
|
44
|
-
"expo-dev-client-components": "3.0.
|
|
45
|
-
"expo-module-scripts": "^5.0.
|
|
43
|
+
"babel-preset-expo": "~14.0.6",
|
|
44
|
+
"expo-dev-client-components": "3.0.6",
|
|
45
|
+
"expo-module-scripts": "^5.0.6",
|
|
46
46
|
"fuse.js": "^6.4.6",
|
|
47
47
|
"react": "19.1.0",
|
|
48
48
|
"react-native": "0.81.1",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"expo": "*"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "d635404a12ea7996b987ce0fb7679a238ebcf31b"
|
|
56
56
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import ExpoModulesTestCore
|
|
2
|
-
|
|
3
|
-
@testable import ExpoModulesCore
|
|
4
|
-
@testable import EXDevMenu
|
|
5
|
-
|
|
6
|
-
class DevMenuInternalModuleTest: ExpoSpec {
|
|
7
|
-
override class func spec() {
|
|
8
|
-
let appContext = AppContext.create()
|
|
9
|
-
let module = DevMenuInternalModule(appContext: appContext)
|
|
10
|
-
|
|
11
|
-
it("constants should contain information about key command support") {
|
|
12
|
-
#if targetEnvironment(simulator)
|
|
13
|
-
let doesDeviceSupportKeyCommands = true
|
|
14
|
-
#else
|
|
15
|
-
let doesDeviceSupportKeyCommands = false
|
|
16
|
-
#endif
|
|
17
|
-
let constants = module.definition().getLegacyConstants()
|
|
18
|
-
|
|
19
|
-
expect(constants["doesDeviceSupportKeyCommands"] as? Bool).to(equal(doesDeviceSupportKeyCommands))
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|