expo 51.0.0 → 51.0.1

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.
@@ -33,7 +33,7 @@ def getRNVersion() {
33
33
  ensureDependeciesWereEvaluated(project)
34
34
 
35
35
  group = 'host.exp.exponent'
36
- version = '51.0.0'
36
+ version = '51.0.1'
37
37
 
38
38
  buildscript {
39
39
  // Simple helper that allows the root project to override versions declared by this library.
@@ -46,7 +46,7 @@ android {
46
46
  namespace "expo.core"
47
47
  defaultConfig {
48
48
  versionCode 1
49
- versionName "51.0.0"
49
+ versionName "51.0.1"
50
50
  consumerProguardFiles("proguard-rules.pro")
51
51
  }
52
52
  testOptions {
@@ -242,7 +242,11 @@ class ReactActivityDelegateWrapper(
242
242
  }
243
243
 
244
244
  override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
245
- return delegate.onKeyDown(keyCode, event)
245
+ // if any of the handlers return true, intentionally consume the event instead of passing it
246
+ // through to the delegate
247
+ return reactActivityHandlers
248
+ .map { it.onKeyDown(keyCode, event) }
249
+ .fold(false) { accu, current -> accu || current } || delegate.onKeyDown(keyCode, event)
246
250
  }
247
251
 
248
252
  override fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean {
@@ -254,7 +258,11 @@ class ReactActivityDelegateWrapper(
254
258
  }
255
259
 
256
260
  override fun onKeyLongPress(keyCode: Int, event: KeyEvent?): Boolean {
257
- return delegate.onKeyLongPress(keyCode, event)
261
+ // if any of the handlers return true, intentionally consume the event instead of passing it
262
+ // through to the delegate
263
+ return reactActivityHandlers
264
+ .map { it.onKeyLongPress(keyCode, event) }
265
+ .fold(false) { accu, current -> accu || current } || delegate.onKeyLongPress(keyCode, event)
258
266
  }
259
267
 
260
268
  override fun onBackPressed(): Boolean {
@@ -24,14 +24,14 @@
24
24
  "expo-brightness": "~12.0.1",
25
25
  "expo-build-properties": "~0.12.1",
26
26
  "expo-calendar": "~13.0.3",
27
- "expo-camera": "~15.0.3",
27
+ "expo-camera": "~15.0.5",
28
28
  "expo-cellular": "~6.0.2",
29
29
  "expo-checkbox": "~3.0.0",
30
30
  "expo-clipboard": "~6.0.3",
31
31
  "expo-constants": "~16.0.1",
32
32
  "expo-contacts": "~13.0.3",
33
33
  "expo-crypto": "~13.0.2",
34
- "expo-dev-client": "~4.0.10",
34
+ "expo-dev-client": "~4.0.11",
35
35
  "expo-device": "~6.0.2",
36
36
  "expo-document-picker": "~12.0.1",
37
37
  "expo-face-detector": "~12.7.1",
@@ -40,7 +40,7 @@
40
40
  "expo-gl": "~14.0.2",
41
41
  "expo-google-app-auth": "~8.3.0",
42
42
  "expo-haptics": "~13.0.1",
43
- "expo-image": "~1.12.8",
43
+ "expo-image": "~1.12.9",
44
44
  "expo-image-loader": "~4.7.0",
45
45
  "expo-image-manipulator": "~12.0.3",
46
46
  "expo-image-picker": "~15.0.4",
@@ -54,16 +54,16 @@
54
54
  "expo-location": "~17.0.1",
55
55
  "expo-mail-composer": "~13.0.1",
56
56
  "expo-media-library": "~16.0.3",
57
- "expo-module-template": "~10.14.6",
58
- "expo-modules-core": "~1.12.9",
57
+ "expo-module-template": "~10.14.7",
58
+ "expo-modules-core": "~1.12.10",
59
59
  "expo-navigation-bar": "~3.0.4",
60
60
  "expo-network": "~6.0.1",
61
61
  "expo-notifications": "~0.28.1",
62
62
  "expo-print": "~13.0.1",
63
63
  "expo-random": "~14.0.1",
64
- "expo-router": "~3.5.9",
64
+ "expo-router": "~3.5.11",
65
65
  "expo-screen-capture": "~6.0.1",
66
- "expo-screen-orientation": "~7.0.3",
66
+ "expo-screen-orientation": "~7.0.4",
67
67
  "expo-secure-store": "~13.0.1",
68
68
  "expo-sensors": "~13.0.5",
69
69
  "expo-sharing": "~12.0.1",
@@ -77,7 +77,7 @@
77
77
  "expo-system-ui": "~3.0.4",
78
78
  "expo-task-manager": "~11.8.1",
79
79
  "expo-tracking-transparency": "~4.0.2",
80
- "expo-updates": "~0.25.8",
80
+ "expo-updates": "~0.25.10",
81
81
  "expo-video-thumbnails": "~8.0.0",
82
82
  "expo-web-browser": "~13.0.3",
83
83
  "jest-expo": "~51.0.1",
@@ -93,7 +93,7 @@
93
93
  "react-native-reanimated": "3.10.0",
94
94
  "react-native-screens": "3.31.1",
95
95
  "react-native-safe-area-context": "4.10.1",
96
- "react-native-svg": "15.2.0-rc.0",
96
+ "react-native-svg": "15.2.0",
97
97
  "react-native-view-shot": "3.8.0",
98
98
  "react-native-webview": "13.8.6",
99
99
  "sentry-expo": "~7.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "51.0.0",
3
+ "version": "51.0.1",
4
4
  "description": "The Expo SDK",
5
5
  "main": "build/Expo.js",
6
6
  "module": "build/Expo.js",
@@ -60,7 +60,7 @@
60
60
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo",
61
61
  "dependencies": {
62
62
  "@babel/runtime": "^7.20.0",
63
- "@expo/cli": "0.18.9",
63
+ "@expo/cli": "0.18.10",
64
64
  "@expo/config": "9.0.1",
65
65
  "@expo/config-plugins": "8.0.4",
66
66
  "@expo/metro-config": "0.18.3",
@@ -71,7 +71,7 @@
71
71
  "expo-font": "~12.0.4",
72
72
  "expo-keep-awake": "~13.0.1",
73
73
  "expo-modules-autolinking": "1.11.1",
74
- "expo-modules-core": "1.12.9",
74
+ "expo-modules-core": "1.12.10",
75
75
  "fbemitter": "^3.0.0",
76
76
  "whatwg-url-without-unicode": "8.0.0-3"
77
77
  },
@@ -83,5 +83,5 @@
83
83
  "react-dom": "18.2.0",
84
84
  "react-native": "0.74.1"
85
85
  },
86
- "gitHead": "2975b6db60f0e0ba0e470069c2bf055853e24c60"
86
+ "gitHead": "9c05bec11c7f5b031d1b9b0ebee78c3b71a7e11d"
87
87
  }