expo 51.0.0-preview.9 → 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-preview.9'
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-preview.9"
49
+ versionName "51.0.1"
50
50
  consumerProguardFiles("proguard-rules.pro")
51
51
  }
52
52
  testOptions {
@@ -3,6 +3,10 @@
3
3
  protected *;
4
4
  private ReactDelegate mReactDelegate;
5
5
  }
6
+ # Remove this after react-native 0.74.1
7
+ -keepclassmembers public class expo.modules.ReactActivityDelegateWrapper {
8
+ protected ReactDelegate getReactDelegate();
9
+ }
6
10
  -keepclassmembers public class com.facebook.react.ReactActivity {
7
11
  private final ReactActivityDelegate mDelegate;
8
12
  }
@@ -61,6 +61,10 @@ class ReactActivityDelegateWrapper(
61
61
  return invokeDelegateMethod("createRootView")
62
62
  }
63
63
 
64
+ override fun getReactDelegate(): ReactDelegate? {
65
+ return invokeDelegateMethod("getReactDelegate")
66
+ }
67
+
64
68
  override fun getReactNativeHost(): ReactNativeHost {
65
69
  return _reactNativeHost
66
70
  }
@@ -238,7 +242,11 @@ class ReactActivityDelegateWrapper(
238
242
  }
239
243
 
240
244
  override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
241
- 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)
242
250
  }
243
251
 
244
252
  override fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean {
@@ -250,7 +258,11 @@ class ReactActivityDelegateWrapper(
250
258
  }
251
259
 
252
260
  override fun onKeyLongPress(keyCode: Int, event: KeyEvent?): Boolean {
253
- 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)
254
266
  }
255
267
 
256
268
  override fun onBackPressed(): Boolean {
package/build/Expo.d.ts CHANGED
@@ -2,5 +2,5 @@ import './Expo.fx';
2
2
  export { disableErrorHandling } from './errors/ExpoErrorManager';
3
3
  export { default as registerRootComponent } from './launch/registerRootComponent';
4
4
  export { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';
5
- export { requireNativeModule, requireOptionalNativeModule } from 'expo-modules-core';
5
+ export { requireNativeModule, requireOptionalNativeModule, reloadAppAsync, } from 'expo-modules-core';
6
6
  //# sourceMappingURL=Expo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expo.d.ts","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"Expo.d.ts","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,cAAc,GACf,MAAM,mBAAmB,CAAC"}
package/build/Expo.js CHANGED
@@ -2,5 +2,5 @@ import './Expo.fx';
2
2
  export { disableErrorHandling } from './errors/ExpoErrorManager';
3
3
  export { default as registerRootComponent } from './launch/registerRootComponent';
4
4
  export { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';
5
- export { requireNativeModule, requireOptionalNativeModule } from 'expo-modules-core';
5
+ export { requireNativeModule, requireOptionalNativeModule, reloadAppAsync, } from 'expo-modules-core';
6
6
  //# sourceMappingURL=Expo.js.map
package/build/Expo.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Expo.js","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC","sourcesContent":["import './Expo.fx';\n\nexport { disableErrorHandling } from './errors/ExpoErrorManager';\nexport { default as registerRootComponent } from './launch/registerRootComponent';\nexport { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';\nexport { requireNativeModule, requireOptionalNativeModule } from 'expo-modules-core';\n"]}
1
+ {"version":3,"file":"Expo.js","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,cAAc,GACf,MAAM,mBAAmB,CAAC","sourcesContent":["import './Expo.fx';\n\nexport { disableErrorHandling } from './errors/ExpoErrorManager';\nexport { default as registerRootComponent } from './launch/registerRootComponent';\nexport { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';\nexport {\n requireNativeModule,\n requireOptionalNativeModule,\n reloadAppAsync,\n} from 'expo-modules-core';\n"]}
@@ -14,25 +14,25 @@
14
14
  "expo-app-loader-provider": "~8.0.0",
15
15
  "expo-apple-authentication": "~6.4.1",
16
16
  "expo-application": "~5.9.1",
17
- "expo-asset": "~10.0.3",
18
- "expo-auth-session": "~5.5.1",
19
- "expo-av": "~14.0.2",
17
+ "expo-asset": "~10.0.6",
18
+ "expo-auth-session": "~5.5.2",
19
+ "expo-av": "~14.0.3",
20
20
  "expo-background-fetch": "~12.0.1",
21
21
  "expo-barcode-scanner": "~13.0.1",
22
22
  "expo-battery": "~8.0.1",
23
- "expo-blur": "~13.0.1",
23
+ "expo-blur": "~13.0.2",
24
24
  "expo-brightness": "~12.0.1",
25
- "expo-build-properties": "~0.12.0",
26
- "expo-calendar": "~13.0.2",
27
- "expo-camera": "~15.0.3",
28
- "expo-cellular": "~6.0.1",
25
+ "expo-build-properties": "~0.12.1",
26
+ "expo-calendar": "~13.0.3",
27
+ "expo-camera": "~15.0.5",
28
+ "expo-cellular": "~6.0.2",
29
29
  "expo-checkbox": "~3.0.0",
30
- "expo-clipboard": "~6.0.2",
30
+ "expo-clipboard": "~6.0.3",
31
31
  "expo-constants": "~16.0.1",
32
- "expo-contacts": "~13.0.2",
32
+ "expo-contacts": "~13.0.3",
33
33
  "expo-crypto": "~13.0.2",
34
- "expo-dev-client": "~4.0.7",
35
- "expo-device": "~6.0.1",
34
+ "expo-dev-client": "~4.0.11",
35
+ "expo-device": "~6.0.2",
36
36
  "expo-document-picker": "~12.0.1",
37
37
  "expo-face-detector": "~12.7.1",
38
38
  "expo-file-system": "~17.0.1",
@@ -40,66 +40,66 @@
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.4",
43
+ "expo-image": "~1.12.9",
44
44
  "expo-image-loader": "~4.7.0",
45
- "expo-image-manipulator": "~12.0.2",
46
- "expo-image-picker": "~15.0.3",
45
+ "expo-image-manipulator": "~12.0.3",
46
+ "expo-image-picker": "~15.0.4",
47
47
  "expo-intent-launcher": "~11.0.1",
48
48
  "expo-insights": "~0.7.0",
49
49
  "expo-keep-awake": "~13.0.1",
50
50
  "expo-linear-gradient": "~13.0.2",
51
51
  "expo-linking": "~6.3.1",
52
52
  "expo-local-authentication": "~14.0.1",
53
- "expo-localization": "~15.0.1",
53
+ "expo-localization": "~15.0.3",
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.3",
58
- "expo-modules-core": "~1.12.5",
59
- "expo-navigation-bar": "~3.0.2",
57
+ "expo-module-template": "~10.14.7",
58
+ "expo-modules-core": "~1.12.10",
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.6",
64
+ "expo-router": "~3.5.11",
65
65
  "expo-screen-capture": "~6.0.1",
66
- "expo-screen-orientation": "~7.0.2",
66
+ "expo-screen-orientation": "~7.0.4",
67
67
  "expo-secure-store": "~13.0.1",
68
- "expo-sensors": "~13.0.3",
68
+ "expo-sensors": "~13.0.5",
69
69
  "expo-sharing": "~12.0.1",
70
70
  "expo-sms": "~12.0.1",
71
71
  "expo-speech": "~12.0.1",
72
- "expo-splash-screen": "~0.27.2",
72
+ "expo-splash-screen": "~0.27.4",
73
73
  "expo-sqlite": "~14.0.3",
74
74
  "expo-status-bar": "~1.12.1",
75
- "expo-store-review": "~7.0.1",
75
+ "expo-store-review": "~7.0.2",
76
76
  "expo-symbols": "~0.1.4",
77
- "expo-system-ui": "~3.0.2",
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.6",
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",
84
84
  "lottie-react-native": "6.7.0",
85
85
  "react": "18.2.0",
86
86
  "react-dom": "18.2.0",
87
- "react-native": "0.74.0",
87
+ "react-native": "0.74.1",
88
88
  "react-native-web": "~0.19.10",
89
- "react-native-gesture-handler": "~2.16.0",
89
+ "react-native-gesture-handler": "~2.16.1",
90
90
  "react-native-get-random-values": "~1.11.0",
91
91
  "react-native-maps": "1.14.0",
92
92
  "react-native-pager-view": "6.3.0",
93
- "react-native-reanimated": "3.9.0-rc.1",
94
- "react-native-screens": "3.31.0-rc.1",
93
+ "react-native-reanimated": "3.10.0",
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",
100
100
  "unimodules-app-loader": "~4.6.0",
101
101
  "unimodules-image-loader-interface": "~6.1.0",
102
- "@shopify/react-native-skia": "1.2.1",
102
+ "@shopify/react-native-skia": "1.2.3",
103
103
  "@shopify/flash-list": "1.6.4",
104
104
  "@sentry/react-native": "~5.22.0"
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "51.0.0-preview.9",
3
+ "version": "51.0.1",
4
4
  "description": "The Expo SDK",
5
5
  "main": "build/Expo.js",
6
6
  "module": "build/Expo.js",
@@ -60,18 +60,18 @@
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.7",
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",
67
67
  "@expo/vector-icons": "^14.0.0",
68
- "babel-preset-expo": "~11.0.3",
69
- "expo-asset": "~10.0.3",
68
+ "babel-preset-expo": "~11.0.5",
69
+ "expo-asset": "~10.0.6",
70
70
  "expo-file-system": "~17.0.1",
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.5",
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
  },
@@ -81,7 +81,7 @@
81
81
  "expo-module-scripts": "^3.5.1",
82
82
  "react": "18.2.0",
83
83
  "react-dom": "18.2.0",
84
- "react-native": "0.74.0"
84
+ "react-native": "0.74.1"
85
85
  },
86
- "gitHead": "470464ab5c25ae8bd45eb2a94d221ce51a8b2560"
86
+ "gitHead": "9c05bec11c7f5b031d1b9b0ebee78c3b71a7e11d"
87
87
  }