expo-dev-menu 5.0.10 → 5.0.12

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,19 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 5.0.12 — 2024-05-04
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix reloading app through "r" hotkey on iOS. ([#28617](https://github.com/expo/expo/pull/28617) by [@gabrieldonadel](https://github.com/gabrieldonadel))
18
+
19
+ ## 5.0.11 — 2024-05-03
20
+
21
+ ### 🐛 Bug fixes
22
+
23
+ - Fixed `java.lang.IllegalStateException: DevMenu isn't available in release builds` when running dev-menu on Android release builds. ([#28607](https://github.com/expo/expo/pull/28607) by [@kudo](https://github.com/kudo))
24
+ - Fixed JS Debugger not detecting correct engine in new arch on iOS. ([#28606](https://github.com/expo/expo/pull/28606) by [@gabrieldonadel](https://github.com/gabrieldonadel))
25
+
13
26
  ## 5.0.10 — 2024-05-02
14
27
 
15
28
  ### 🐛 Bug fixes
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '5.0.10'
4
+ version = '5.0.12'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -20,7 +20,7 @@ android {
20
20
  namespace "expo.modules.devmenu"
21
21
  defaultConfig {
22
22
  versionCode 10
23
- versionName '5.0.10'
23
+ versionName '5.0.12'
24
24
  }
25
25
 
26
26
  buildTypes {
@@ -72,9 +72,7 @@ object DevMenuManager : DevMenuManagerInterface {
72
72
  throw IllegalStateException(DEV_MENU_IS_NOT_AVAILABLE)
73
73
  }
74
74
 
75
- override fun registerExtensionInterface(extensionInterface: DevMenuExtensionInterface) {
76
- throw IllegalStateException(DEV_MENU_IS_NOT_AVAILABLE)
77
- }
75
+ override fun registerExtensionInterface(extensionInterface: DevMenuExtensionInterface) = Unit
78
76
 
79
77
  override fun serializedItems(): List<Bundle> {
80
78
  throw IllegalStateException(DEV_MENU_IS_NOT_AVAILABLE)
@@ -29,7 +29,15 @@
29
29
 
30
30
  NSString *engine;
31
31
  NSString *bridgeDescription = [[[manager currentBridge] batchedBridge] bridgeDescription];
32
- if ([bridgeDescription containsString:@"Hermes"]) {
32
+
33
+ // In bridgeless mode the bridgeDescription always is "BridgeProxy" instead of actual engine name
34
+ if ([bridgeDescription containsString:@"BridgeProxy"]) {
35
+ #if USE_HERMES
36
+ engine = @"Hermes";
37
+ #else
38
+ engine = @"JSC";
39
+ #endif
40
+ } else if ([bridgeDescription containsString:@"Hermes"]) {
33
41
  engine = @"Hermes";
34
42
  } else if ([bridgeDescription containsString:@"V8"]) {
35
43
  engine = @"V8";
@@ -78,7 +78,6 @@ open class DevMenuExtensions: NSObject, DevMenuExtensionProtocol {
78
78
  reload.label = { "Reload" }
79
79
  reload.glyphName = { "reload" }
80
80
  reload.importance = DevMenuScreenItem.ImportanceHighest
81
- reload.registerKeyCommand(input: "r", modifiers: []) // "r" without modifiers
82
81
  return reload
83
82
  }
84
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-dev-menu",
3
- "version": "5.0.10",
3
+ "version": "5.0.12",
4
4
  "description": "Expo/React Native module with the developer menu.",
5
5
  "main": "build/DevMenu.js",
6
6
  "types": "build/DevMenu.d.ts",
@@ -70,5 +70,5 @@
70
70
  "peerDependencies": {
71
71
  "expo": "*"
72
72
  },
73
- "gitHead": "71b2f4339ef7b5b42ce87c1d8c17fe41c60355e0"
73
+ "gitHead": "a8060e820f0af06873d2278134d4d84081f8dcd2"
74
74
  }