expo-dev-menu 5.0.21 → 5.0.23

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,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 5.0.23 — 2024-11-06
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [Android] Fixed mutiple reload when pressing `r` in CLI on react-native old architecture mode. ([#32532](https://github.com/expo/expo/pull/32532) by [@kudo](https://github.com/kudo))
18
+
19
+ ## 5.0.22 — 2024-10-08
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 5.0.21 — 2024-08-23
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '5.0.21'
4
+ version = '5.0.23'
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.21'
23
+ versionName '5.0.23'
24
24
  }
25
25
 
26
26
  buildTypes {
@@ -163,7 +163,7 @@ object DevMenuManager : DevMenuManagerInterface, LifecycleEventListener {
163
163
  if (!this::devMenuHost.isInitialized) {
164
164
  devMenuHost = ReactHostWrapper(
165
165
  reactNativeHost = DevMenuReactNativeHost(application, useDeveloperSupport),
166
- reactHost = DevMenuReactHost.create(application, useDeveloperSupport)
166
+ reactHostProvider = { DevMenuReactHost.create(application, useDeveloperSupport) }
167
167
  )
168
168
  UiThreadUtil.runOnUiThread {
169
169
  devMenuHost.start()
@@ -19,7 +19,7 @@ abstract class DevMenuAwareReactActivity : ReactActivity() {
19
19
  DevMenuManager.initializeWithReactHost(
20
20
  ReactHostWrapper(
21
21
  reactNativeHost = reactNativeHost,
22
- reactHost = (applicationContext as ReactApplication).reactHost
22
+ reactHostProvider = { (applicationContext as ReactApplication).reactHost }
23
23
  )
24
24
  )
25
25
  } else {
@@ -41,7 +41,7 @@ class DevMenuPackage : Package, ReactPackage {
41
41
  DevMenuManager.initializeWithReactHost(
42
42
  ReactHostWrapper(
43
43
  reactNativeHost = (activity.application as ReactApplication).reactNativeHost,
44
- reactHost = (activity.application as ReactApplication).reactHost
44
+ reactHostProvider = { (activity.application as ReactApplication).reactHost }
45
45
  )
46
46
  )
47
47
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-dev-menu",
3
- "version": "5.0.21",
3
+ "version": "5.0.23",
4
4
  "description": "Expo/React Native module with the developer menu.",
5
5
  "main": "build/DevMenu.js",
6
6
  "types": "build/DevMenu.d.ts",
@@ -47,7 +47,7 @@
47
47
  ]
48
48
  },
49
49
  "dependencies": {
50
- "expo-dev-menu-interface": "1.8.3",
50
+ "expo-dev-menu-interface": "1.8.4",
51
51
  "semver": "^7.5.4"
52
52
  },
53
53
  "devDependencies": {
@@ -56,7 +56,7 @@
56
56
  "@testing-library/jest-native": "^4.0.4",
57
57
  "@testing-library/react-native": "^8.0.0",
58
58
  "babel-plugin-module-resolver": "^5.0.0",
59
- "babel-preset-expo": "~11.0.0",
59
+ "babel-preset-expo": "~11.0.15",
60
60
  "expo-dev-client-components": "1.8.1",
61
61
  "expo-module-scripts": "^3.0.0",
62
62
  "fuse.js": "^6.4.6",
@@ -70,5 +70,5 @@
70
70
  "peerDependencies": {
71
71
  "expo": "*"
72
72
  },
73
- "gitHead": "a1b4a5fbbc9e1a5bb310cac977ed84da13040ad5"
73
+ "gitHead": "6583b7c637a965a9a9872efee9905b11ea806e28"
74
74
  }