expo 52.0.0-preview.21 → 52.0.0-preview.22

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 = '52.0.0-preview.21'
36
+ version = '52.0.0-preview.22'
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 "52.0.0-preview.21"
49
+ versionName "52.0.0-preview.22"
50
50
  consumerProguardFiles("proguard-rules.pro")
51
51
  }
52
52
  testOptions {
@@ -5,6 +5,5 @@ export declare const DOM_EVENT = "$$dom_event";
5
5
  export declare const MATCH_CONTENTS_EVENT = "$$match_contents_event";
6
6
  export declare const REGISTER_DOM_IMPERATIVE_HANDLE_PROPS = "$$register_dom_imperative_handle_props";
7
7
  export declare const getInjectEventScript: <T extends BridgeMessage<any>>(detail: T) => string;
8
- export declare function getInjectEnvsScript(): string;
9
8
  export declare function getInjectBodySizeObserverScript(): string;
10
9
  //# sourceMappingURL=injection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../src/dom/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,SAAS,gBAAgB,CAAC;AACvC,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,oCAAoC,2CAA2C,CAAC;AAE7F,eAAO,MAAM,oBAAoB,qDAOhC,CAAC;AAEF,wBAAgB,mBAAmB,WAalC;AAED,wBAAgB,+BAA+B,WAwB9C"}
1
+ {"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../src/dom/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,SAAS,gBAAgB,CAAC;AACvC,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,oCAAoC,2CAA2C,CAAC;AAE7F,eAAO,MAAM,oBAAoB,qDAOhC,CAAC;AAEF,wBAAgB,+BAA+B,WAwB9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"webview-wrapper.d.ts","sourceRoot":"","sources":["../../src/dom/webview-wrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAiB,QAAQ,EAA4B,MAAM,aAAa,CAAC;AAcrF,UAAU,KAAK;IACb,GAAG,EAAE,QAAQ,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,UAAU,sEAkLd,CAAC;AAaH,wBAAgB,cAAc,CAAC,iBAAiB,EAAE,OAAO,OASxD;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"webview-wrapper.d.ts","sourceRoot":"","sources":["../../src/dom/webview-wrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAiB,QAAQ,EAA4B,MAAM,aAAa,CAAC;AAarF,UAAU,KAAK;IACb,GAAG,EAAE,QAAQ,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,UAAU,sEAiLd,CAAC;AAaH,wBAAgB,cAAc,CAAC,iBAAiB,EAAE,OAAO,OASxD;AAED,eAAe,UAAU,CAAC"}
@@ -31,15 +31,15 @@
31
31
  "expo-checkbox": "~4.0.0",
32
32
  "expo-clipboard": "~7.0.0",
33
33
  "expo-constants": "~17.0.2",
34
- "expo-contacts": "~14.0.1",
34
+ "expo-contacts": "~14.0.2",
35
35
  "expo-crypto": "~14.0.1",
36
- "expo-dev-client": "~5.0.0-preview.7",
36
+ "expo-dev-client": "~5.0.0-preview.8",
37
37
  "expo-device": "~7.0.1",
38
38
  "expo-document-picker": "~13.0.1",
39
39
  "expo-face-detector": "~13.0.1",
40
40
  "expo-file-system": "~18.0.0",
41
41
  "expo-font": "~13.0.1",
42
- "expo-gl": "~15.0.0",
42
+ "expo-gl": "~15.0.1",
43
43
  "expo-google-app-auth": "~8.3.0",
44
44
  "expo-haptics": "~14.0.0",
45
45
  "expo-image": "~2.0.0-preview.1",
@@ -57,12 +57,12 @@
57
57
  "expo-mail-composer": "~14.0.1",
58
58
  "expo-media-library": "~17.0.2",
59
59
  "expo-module-template": "~10.15.6",
60
- "expo-modules-core": "~2.0.0-preview.9",
60
+ "expo-modules-core": "~2.0.0-preview.10",
61
61
  "expo-navigation-bar": "~4.0.2",
62
62
  "expo-network": "~7.0.0",
63
- "expo-notifications": "~0.29.4",
63
+ "expo-notifications": "~0.29.5",
64
64
  "expo-print": "~14.0.2",
65
- "expo-router": "~4.0.0-preview.13",
65
+ "expo-router": "~4.0.0-preview.14",
66
66
  "expo-screen-capture": "~7.0.0",
67
67
  "expo-screen-orientation": "~8.0.0",
68
68
  "expo-secure-store": "~14.0.0",
@@ -70,7 +70,7 @@
70
70
  "expo-sharing": "~13.0.0",
71
71
  "expo-sms": "~13.0.0",
72
72
  "expo-speech": "~13.0.0",
73
- "expo-splash-screen": "~0.29.3",
73
+ "expo-splash-screen": "~0.29.4",
74
74
  "expo-sqlite": "~15.0.1",
75
75
  "expo-status-bar": "~2.0.0",
76
76
  "expo-store-review": "~8.0.0",
@@ -80,7 +80,7 @@
80
80
  "expo-tracking-transparency": "~5.0.0",
81
81
  "expo-updates": "~0.26.4",
82
82
  "expo-video-thumbnails": "~9.0.0",
83
- "expo-video": "~2.0.0-preview.1",
83
+ "expo-video": "~2.0.0-preview.2",
84
84
  "expo-web-browser": "~14.0.0",
85
85
  "jest-expo": "~52.0.0-preview.4",
86
86
  "lottie-react-native": "7.0.0",
@@ -93,7 +93,7 @@
93
93
  "react-native-maps": "1.18.0",
94
94
  "react-native-pager-view": "6.4.1",
95
95
  "react-native-reanimated": "~3.16.1",
96
- "react-native-screens": "4.0.0-beta.16",
96
+ "react-native-screens": "4.0.0",
97
97
  "react-native-safe-area-context": "4.12.0",
98
98
  "react-native-svg": "15.8.0",
99
99
  "react-native-view-shot": "~4.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "52.0.0-preview.21",
3
+ "version": "52.0.0-preview.22",
4
4
  "description": "The Expo SDK",
5
5
  "main": "src/Expo.ts",
6
6
  "module": "src/Expo.ts",
@@ -68,9 +68,9 @@
68
68
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo",
69
69
  "dependencies": {
70
70
  "@babel/runtime": "^7.20.0",
71
- "@expo/cli": "0.20.1",
71
+ "@expo/cli": "0.20.2",
72
72
  "@expo/config": "10.0.2",
73
- "@expo/config-plugins": "9.0.6",
73
+ "@expo/config-plugins": "9.0.7",
74
74
  "@expo/fingerprint": "0.11.2",
75
75
  "@expo/metro-config": "0.19.0-preview.3",
76
76
  "@expo/vector-icons": "^14.0.0",
@@ -80,7 +80,7 @@
80
80
  "expo-font": "~13.0.1",
81
81
  "expo-keep-awake": "~14.0.1",
82
82
  "expo-modules-autolinking": "2.0.0-preview.3",
83
- "expo-modules-core": "2.0.0-preview.9",
83
+ "expo-modules-core": "2.0.0-preview.10",
84
84
  "fbemitter": "^3.0.0",
85
85
  "web-streams-polyfill": "^3.3.2",
86
86
  "whatwg-url-without-unicode": "8.0.0-3"
@@ -111,5 +111,5 @@
111
111
  "optional": true
112
112
  }
113
113
  },
114
- "gitHead": "3a0bdbd1d22e5134b41f998eb58ee91420776d1f"
114
+ "gitHead": "c0899e56c5be08b0142f06f05aa7bac8d6bc18b8"
115
115
  }
@@ -15,21 +15,6 @@ export const getInjectEventScript = <T extends BridgeMessage<any>>(detail: T) =>
15
15
  true;`;
16
16
  };
17
17
 
18
- export function getInjectEnvsScript() {
19
- return `;(function injectEnvs() {
20
- let baseUrl = '';
21
- if (window.location.protocol === 'file:') {
22
- baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf('/'));
23
- }
24
- window.process = window.process || {};
25
- window.process.env = {
26
- ...(window.process.env || {}),
27
- EXPO_BASE_URL: baseUrl,
28
- };
29
- })();
30
- true;`;
31
- }
32
-
33
18
  export function getInjectBodySizeObserverScript() {
34
19
  return `;(function observeDocumentBodySize() {
35
20
  window.addEventListener('DOMContentLoaded', () => {
@@ -8,7 +8,6 @@ import { _emitGlobalEvent } from './global-events';
8
8
  import {
9
9
  getInjectBodySizeObserverScript,
10
10
  getInjectEventScript,
11
- getInjectEnvsScript,
12
11
  MATCH_CONTENTS_EVENT,
13
12
  NATIVE_ACTION,
14
13
  NATIVE_ACTION_RESULT,
@@ -114,7 +113,6 @@ const RawWebView = React.forwardRef<object, Props>(({ dom, filePath, ...marshalP
114
113
  containerStyle,
115
114
  ...dom,
116
115
  injectedJavaScriptBeforeContentLoaded: [
117
- getInjectEnvsScript(),
118
116
  // On first mount, inject `$$EXPO_INITIAL_PROPS` with the initial props.
119
117
  `window.$$EXPO_INITIAL_PROPS = ${JSON.stringify(smartActions)};true;`,
120
118
  dom?.matchContents ? getInjectBodySizeObserverScript() : null,