expo-dev-menu 55.0.11 → 55.0.13

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
+ ## 55.0.13 — 2026-03-11
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [Android] Fix crash in FabState coerceTo ([#43752](https://github.com/expo/expo/pull/43752) by [@kot331107](https://github.com/kot331107))
18
+
19
+ ## 55.0.12 — 2026-03-09
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 55.0.11 — 2026-03-04
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -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 = '55.0.11'
15
+ version = '55.0.13'
16
16
 
17
17
  def hasDevLauncher = findProject(":expo-dev-launcher") != null
18
18
  def configureInRelease = findProperty("expo.devmenu.configureInRelease") == "true"
@@ -29,7 +29,7 @@ android {
29
29
 
30
30
  defaultConfig {
31
31
  versionCode 10
32
- versionName '55.0.11'
32
+ versionName '55.0.13'
33
33
  }
34
34
 
35
35
  buildTypes {
@@ -87,10 +87,12 @@ fun rememberFabState(screenBounds: Offset, totalFabSizePx: Offset): FabState {
87
87
  val initialOffset = remember(fabBounds.safe, fabBounds.safeMinY) {
88
88
  val savedX = prefs.getFloat(FAB_POSITION_X, FAB_POSITION_UNSET)
89
89
  val savedY = prefs.getFloat(FAB_POSITION_Y, FAB_POSITION_UNSET)
90
+ val safeMaxX = maxOf(0f, fabBounds.safe.x)
91
+ val safeMaxY = maxOf(fabBounds.safeMinY, fabBounds.safe.y)
90
92
  if (savedX != FAB_POSITION_UNSET && savedY != FAB_POSITION_UNSET) {
91
93
  Offset(
92
- x = (savedX * fabBounds.safe.x).coerceIn(0f, fabBounds.safe.x),
93
- y = (savedY * (fabBounds.safe.y - fabBounds.safeMinY) + fabBounds.safeMinY).coerceIn(fabBounds.safeMinY, fabBounds.safe.y)
94
+ x = (savedX * safeMaxX).coerceIn(0f, safeMaxX),
95
+ y = (savedY * (safeMaxY - fabBounds.safeMinY) + fabBounds.safeMinY).coerceIn(fabBounds.safeMinY, safeMaxY)
94
96
  )
95
97
  } else {
96
98
  Offset(fabBounds.safe.x, fabBounds.safeMinY)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-dev-menu",
3
- "version": "55.0.11",
3
+ "version": "55.0.13",
4
4
  "description": "Expo/React Native module with the developer menu.",
5
5
  "main": "build/DevMenu.js",
6
6
  "types": "build/DevMenu.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@babel/preset-typescript": "^7.7.4",
40
40
  "@testing-library/react-native": "^13.3.0",
41
41
  "babel-plugin-module-resolver": "^5.0.0",
42
- "babel-preset-expo": "~55.0.10",
42
+ "babel-preset-expo": "~55.0.11",
43
43
  "expo-module-scripts": "^55.0.2",
44
44
  "react": "19.2.0",
45
45
  "react-native": "0.83.2"
@@ -47,5 +47,5 @@
47
47
  "peerDependencies": {
48
48
  "expo": "*"
49
49
  },
50
- "gitHead": "2d0f6652717a0c88f4fb82b7b288bfcbfe0f2373"
50
+ "gitHead": "bcdd2c239f8a92cdf5140e35cde768352630acd6"
51
51
  }