@ankhorage/expo-runtime 4.0.5 → 4.0.7

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
@@ -1,5 +1,18 @@
1
1
  # @ankhorage/expo-runtime
2
2
 
3
+ ## 4.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 8eeac36: Align the canonical Expo SDK 57 platform contract with the current Expo, Router, Linking, Metro Runtime, and Constants patches.
8
+ - 858500a: Update Ankhorage dependencies: `@ankhorage/contracts`, `@ankhorage/paradox`.
9
+
10
+ ## 4.0.6
11
+
12
+ ### Patch Changes
13
+
14
+ - 39e0a83: Update Ankhorage dependencies: `@ankhorage/contracts`.
15
+
3
16
  ## 4.0.5
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -3,10 +3,74 @@
3
3
 
4
4
  # EXPO-RUNTIME
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v4.0.5](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![docs: paradox](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v4.0.7](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Declarative runtime integration for Expo apps: maps app capabilities to permissions, packages, config plugins, providers, and adapters
9
9
 
10
+ ## Usage
11
+
12
+ ### CLI
13
+
14
+ Ankhorage packages expose their command-line interface through `ankh`. Use `ankh --help` to discover available package commands, or run a package command with `--help` for package-specific usage.
15
+
16
+ ```zsh
17
+ # Install the Ankhorage CLI
18
+ bun add --global @ankhorage/ankh
19
+
20
+ # Show usage information for expo-runtime
21
+ ankh expo-runtime --help
22
+ ```
23
+
24
+ ### Basic Usage
25
+
26
+ Derive the Expo packages, providers, config plugins, and runtime adapters required by an app
27
+ directly from its declared screen requirements. The planner keeps Expo-specific implementation
28
+ details out of the manifest while preserving one deterministic owner-derived runtime plan.
29
+
30
+ This example requests barcode scanning on one screen. Expo Runtime automatically includes the
31
+ implied camera permission, Expo Camera dependency, permissions provider, and barcode adapter.
32
+
33
+ ```ts
34
+ export function createBasicExpoRuntimePlan() {
35
+ return resolveExpoRuntimePlan({
36
+ screens: {
37
+ scanner: {
38
+ requires: {
39
+ capabilities: {
40
+ barcodeScanner: true,
41
+ },
42
+ },
43
+ },
44
+ },
45
+ });
46
+ }
47
+ ```
48
+
49
+ ## Configuration
50
+
51
+ ### Example
52
+
53
+ ```ts
54
+ import { defineParadoxConfig } from '@ankhorage/paradox';
55
+
56
+ export default defineParadoxConfig({
57
+ mode: 'write',
58
+
59
+ docs: {
60
+ title: 'EXPO-RUNTIME',
61
+ },
62
+
63
+ package: {
64
+ root: '.',
65
+ entrypoints: ['src/index.ts', 'src/platform.ts'],
66
+ },
67
+
68
+ output: {
69
+ dir: './paradox',
70
+ },
71
+ });
72
+ ```
73
+
10
74
  ## Generated documentation
11
75
 
12
76
  - [Interactive documentation app](././paradox/index.html)
package/dist/platform.js CHANGED
@@ -12,7 +12,7 @@ export const EXPO_PLATFORM = {
12
12
  sdk: 57,
13
13
  architecture: 'new-architecture-only',
14
14
  runtime: {
15
- expo: definePackage('expo', '57.0.23'),
15
+ expo: definePackage('expo', '57.0.25'),
16
16
  react: definePackage('react', '19.2.3'),
17
17
  reactDom: definePackage('react-dom', '19.2.3'),
18
18
  reactNative: definePackage('react-native', '0.86.3'),
@@ -29,7 +29,7 @@ export const EXPO_PLATFORM = {
29
29
  expoDoctor: definePackage('expo-doctor', '1.20.4'),
30
30
  },
31
31
  navigation: {
32
- expoRouter: definePackage('expo-router', '~57.0.21'),
32
+ expoRouter: definePackage('expo-router', '~57.0.23'),
33
33
  screens: definePackage('react-native-screens', '~4.26.0'),
34
34
  safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),
35
35
  },
@@ -49,28 +49,28 @@ export const EXPO_PLATFORM = {
49
49
  },
50
50
  },
51
51
  packages: {
52
- metroRuntime: definePackage('@expo/metro-runtime', '~57.0.15'),
53
- asset: definePackage('expo-asset', '~57.0.17'),
52
+ metroRuntime: definePackage('@expo/metro-runtime', '~57.0.16'),
53
+ asset: definePackage('expo-asset', '~57.0.18'),
54
54
  audio: definePackage('expo-audio', '~57.0.5'),
55
- authSession: definePackage('expo-auth-session', '~57.0.12'),
55
+ authSession: definePackage('expo-auth-session', '~57.0.13'),
56
56
  camera: definePackage('expo-camera', '~57.0.5'),
57
- constants: definePackage('expo-constants', '~57.0.18'),
57
+ constants: definePackage('expo-constants', '~57.0.19'),
58
58
  crypto: definePackage('expo-crypto', '~57.0.3'),
59
59
  devClient: definePackage('expo-dev-client', '~57.0.19'),
60
60
  documentPicker: definePackage('expo-document-picker', '~57.0.2'),
61
61
  fileSystem: definePackage('expo-file-system', '~57.0.7'),
62
62
  font: definePackage('expo-font', '~57.0.4'),
63
- imagePicker: definePackage('expo-image-picker', '~57.0.18'),
63
+ imagePicker: definePackage('expo-image-picker', '~57.0.20'),
64
64
  linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),
65
- linking: definePackage('expo-linking', '~57.0.10'),
65
+ linking: definePackage('expo-linking', '~57.0.11'),
66
66
  localization: definePackage('expo-localization', '~57.0.2'),
67
- location: definePackage('expo-location', '~57.0.18'),
67
+ location: definePackage('expo-location', '~57.0.20'),
68
68
  mediaLibrary: definePackage('expo-media-library', '~57.0.5'),
69
- notifications: definePackage('expo-notifications', '~57.0.19'),
69
+ notifications: definePackage('expo-notifications', '~57.0.21'),
70
70
  secureStore: definePackage('expo-secure-store', '~57.0.4'),
71
71
  splashScreen: definePackage('expo-splash-screen', '~57.0.9'),
72
72
  statusBar: definePackage('expo-status-bar', '~57.0.1'),
73
- updates: definePackage('expo-updates', '~57.0.22'),
73
+ updates: definePackage('expo-updates', '~57.0.23'),
74
74
  webBrowser: definePackage('expo-web-browser', '~57.0.3'),
75
75
  },
76
76
  platforms: {
@@ -1 +1 @@
1
- {"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAKA,SAAS,aAAa,CAAC,IAAY,EAAE,OAAe;IAClD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3B,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,EAAE;IACP,YAAY,EAAE,uBAAuB;IACrC,OAAO,EAAE;QACP,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC;QACtC,KAAK,EAAE,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC;QACvC,QAAQ,EAAE,aAAa,CAAC,WAAW,EAAE,QAAQ,CAAC;QAC9C,WAAW,EAAE,aAAa,CAAC,cAAc,EAAE,QAAQ,CAAC;QACpD,cAAc,EAAE,aAAa,CAAC,kBAAkB,EAAE,SAAS,CAAC;KAC7D;IACD,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,GAAG,EAAE,EAAE;YACP,OAAO,EAAE,MAAM;SAChB;QACD,SAAS,EAAE,aAAa,CAAC,aAAa,EAAE,UAAU,CAAC;QACnD,UAAU,EAAE,aAAa,CAAC,cAAc,EAAE,SAAS,CAAC;QACpD,UAAU,EAAE,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC;QACjD,UAAU,EAAE,aAAa,CAAC,aAAa,EAAE,QAAQ,CAAC;KACnD;IACD,UAAU,EAAE;QACV,UAAU,EAAE,aAAa,CAAC,aAAa,EAAE,UAAU,CAAC;QACpD,OAAO,EAAE,aA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AC,kBAAkB,EAAE,SAAS,CAAC;QACxD,IAAI,EAAE,aAAa,CAAC,WAAW,EAAE,SAAS,CAAC;QAC3C,WAAW,EAAE,aAAa,CAAC,mBAAmB,EAAE,UAAU,CAAC;QAC3D,cAAc,EAAE,aAAa,CAAC,sBAAsB,EAAE,SAAS,CAAC;QAChE,OAAO,EAAE,aAAa,CAAC,cAAc,EAAE,UAAU,CAAC;QAClD,YAAY,EAAE,aAAa,CAAC,mBAAmB,EAAE,SAAS,CAAC;QAC3D,QAAQ,EAAE,aAAa,CAAC,eAAe,EAAE,UAAU,CAAC;QACpD,YAAY,EAAE,aAAa,CAAC,oBAAoB,EAAE,SAAS,CAAC;QAC5D,aAAa,EAAE,aAAa,CAAC,oBAAoB,EAAE,UAAU,CAAC;QAC9D,WAAW,EAAE,aAAa,CAAC,mBAAmB,EAAE,SAAS,CAAC;QAC1D,YAAY,EAAE,aAAa,CAAC,oBAAoB,EAAE,SAAS,CAAC;QAC5D,SAAS,EAAE,aAAa,CAAC,iBAAiB,EAAE,SAAS,CAAC;QACtD,OAAO,EAAE,aAAa,CAAC,cAAc,EAAE,UAAU,CAAC;QAClD,UAAU,EAAE,aAAa,CAAC,kBAAkB,EAAE,SAAS,CAAC;KACzD;IACD,SAAS,EAAE;QACT,OAAO,EAAE;YACP,cAAc,EAAE,CAAC;YACjB,eAAe,EAAE,EAAE;YACnB,UAAU,EAAE,EAAE;YACd,SAAS,EAAE,EAAE;YACb,UAAU,EAAE,IAAI;SACjB;QACD,GAAG,EAAE;YACH,cAAc,EAAE,MAAM;YACtB,mBAAmB,EAAE,MAAM;SAC5B;KACF;CACO,CAAC","sourcesContent":["export interface ExpoPlatformPackage {\n readonly name: string;\n readonly version: string;\n}\n\nfunction definePackage(name: string, version: string): ExpoPlatformPackage {\n return { name, version };\n}\n\n/**\n * The canonical Ankhorage projection of the supported Expo platform.\n *\n * Package versions come from Expo SDK 57's bundled native module map. Keep this\n * structure as the only hand-maintained Expo compatibility authority in this\n * repository; generated manifests and runtime planning derive from it.\n */\nexport const EXPO_PLATFORM = {\n sdk: 57,\n architecture: 'new-architecture-only',\n runtime: {\n expo: definePackage('expo', '57.0.23'),\n react: definePackage('react', '19.2.3'),\n reactDom: definePackage('react-dom', '19.2.3'),\n reactNative: definePackage('react-native', '0.86.3'),\n reactNativeWeb: definePackage('react-native-web', '~0.21.0'),\n },\n tooling: {\n node: {\n lts: 24,\n version: '24.x',\n },\n nodeTypes: definePackage('@types/node', '^24.13.3'),\n reactTypes: definePackage('@types/react', '~19.2.4'),\n typescript: definePackage('typescript', '~6.0.3'),\n expoDoctor: definePackage('expo-doctor', '1.20.4'),\n },\n navigation: {\n expoRouter: definePackage('expo-router', '~57.0.21'),\n screens: definePackage('react-native-screens', '~4.26.0'),\n safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),\n },\n animation: {\n reanimated: definePackage('react-native-reanimated', '4.5.1'),\n worklets: definePackage('react-native-worklets', '0.10.1'),\n gestureHandler: definePackage('react-native-gesture-handler', '~2.32.0'),\n },\n ui: {\n svg: definePackage('react-native-svg', '15.15.4'),\n iconProviders: {\n Ionicons: definePackage('@react-native-vector-icons/ionicons', '^13.1.3'),\n FontAwesome: definePackage('@react-native-vector-icons/fontawesome', '^13.1.3'),\n FontAwesome5: definePackage('@react-native-vector-icons/fontawesome5', '^13.1.3'),\n FontAwesome6: definePackage('@react-native-vector-icons/fontawesome6', '^13.1.3'),\n MaterialDesignIcons: definePackage(\n '@react-native-vector-icons/material-design-icons',\n '^13.1.3',\n ),\n },\n },\n packages: {\n metroRuntime: definePackage('@expo/metro-runtime', '~57.0.15'),\n asset: definePackage('expo-asset', '~57.0.17'),\n audio: definePackage('expo-audio', '~57.0.5'),\n authSession: definePackage('expo-auth-session', '~57.0.12'),\n camera: definePackage('expo-camera', '~57.0.5'),\n constants: definePackage('expo-constants', '~57.0.18'),\n crypto: definePackage('expo-crypto', '~57.0.3'),\n devClient: definePackage('expo-dev-client', '~57.0.19'),\n documentPicker: definePackage('expo-document-picker', '~57.0.2'),\n fileSystem: definePackage('expo-file-system', '~57.0.7'),\n font: definePackage('expo-font', '~57.0.4'),\n imagePicker: definePackage('expo-image-picker', '~57.0.18'),\n linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),\n linking: definePackage('expo-linking', '~57.0.10'),\n localization: definePackage('expo-localization', '~57.0.2'),\n location: definePackage('expo-location', '~57.0.18'),\n mediaLibrary: definePackage('expo-media-library', '~57.0.5'),\n notifications: definePackage('expo-notifications', '~57.0.19'),\n secureStore: definePackage('expo-secure-store', '~57.0.4'),\n splashScreen: definePackage('expo-splash-screen', '~57.0.9'),\n statusBar: definePackage('expo-status-bar', '~57.0.1'),\n updates: definePackage('expo-updates', '~57.0.22'),\n webBrowser: definePackage('expo-web-browser', '~57.0.3'),\n },\n platforms: {\n android: {\n minimumVersion: 7,\n minimumApiLevel: 24,\n compileSdk: 36,\n targetSdk: 36,\n edgeToEdge: true,\n },\n ios: {\n minimumVersion: '16.4',\n minimumXcodeVersion: '26.4',\n },\n },\n} as const;\n\nexport type ExpoPlatform = typeof EXPO_PLATFORM;\n"]}
1
+ {"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAKA,SAAS,aAAa,CAAC,IAAY,EAAE,OAAe;IAClD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3B,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,EAAE;IACP,YAAY,EAAE,uBAAuB;IACrC,OAAO,EAAE;QACP,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC;QACtC,KAAK,EAAE,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC;QACvC,QAAQ,EAAE,aAAa,CAAC,WAAW,EAAE,QAAQ,CAAC;QAC9C,WAAW,EAAE,aAAa,CAAC,cAAc,EAAE,QAAQ,CAAC;QACpD,cAAc,EAAE,aAAa,CAAC,k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EAAE;YACP,cAAc,EAAE,CAAC;YACjB,eAAe,EAAE,EAAE;YACnB,UAAU,EAAE,EAAE;YACd,SAAS,EAAE,EAAE;YACb,UAAU,EAAE,IAAI;SACjB;QACD,GAAG,EAAE;YACH,cAAc,EAAE,MAAM;YACtB,mBAAmB,EAAE,MAAM;SAC5B;KACF;CACO,CAAC","sourcesContent":["export interface ExpoPlatformPackage {\n readonly name: string;\n readonly version: string;\n}\n\nfunction definePackage(name: string, version: string): ExpoPlatformPackage {\n return { name, version };\n}\n\n/**\n * The canonical Ankhorage projection of the supported Expo platform.\n *\n * Package versions come from Expo SDK 57's bundled native module map. Keep this\n * structure as the only hand-maintained Expo compatibility authority in this\n * repository; generated manifests and runtime planning derive from it.\n */\nexport const EXPO_PLATFORM = {\n sdk: 57,\n architecture: 'new-architecture-only',\n runtime: {\n expo: definePackage('expo', '57.0.25'),\n react: definePackage('react', '19.2.3'),\n reactDom: definePackage('react-dom', '19.2.3'),\n reactNative: definePackage('react-native', '0.86.3'),\n reactNativeWeb: definePackage('react-native-web', '~0.21.0'),\n },\n tooling: {\n node: {\n lts: 24,\n version: '24.x',\n },\n nodeTypes: definePackage('@types/node', '^24.13.3'),\n reactTypes: definePackage('@types/react', '~19.2.4'),\n typescript: definePackage('typescript', '~6.0.3'),\n expoDoctor: definePackage('expo-doctor', '1.20.4'),\n },\n navigation: {\n expoRouter: definePackage('expo-router', '~57.0.23'),\n screens: definePackage('react-native-screens', '~4.26.0'),\n safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),\n },\n animation: {\n reanimated: definePackage('react-native-reanimated', '4.5.1'),\n worklets: definePackage('react-native-worklets', '0.10.1'),\n gestureHandler: definePackage('react-native-gesture-handler', '~2.32.0'),\n },\n ui: {\n svg: definePackage('react-native-svg', '15.15.4'),\n iconProviders: {\n Ionicons: definePackage('@react-native-vector-icons/ionicons', '^13.1.3'),\n FontAwesome: definePackage('@react-native-vector-icons/fontawesome', '^13.1.3'),\n FontAwesome5: definePackage('@react-native-vector-icons/fontawesome5', '^13.1.3'),\n FontAwesome6: definePackage('@react-native-vector-icons/fontawesome6', '^13.1.3'),\n MaterialDesignIcons: definePackage(\n '@react-native-vector-icons/material-design-icons',\n '^13.1.3',\n ),\n },\n },\n packages: {\n metroRuntime: definePackage('@expo/metro-runtime', '~57.0.16'),\n asset: definePackage('expo-asset', '~57.0.18'),\n audio: definePackage('expo-audio', '~57.0.5'),\n authSession: definePackage('expo-auth-session', '~57.0.13'),\n camera: definePackage('expo-camera', '~57.0.5'),\n constants: definePackage('expo-constants', '~57.0.19'),\n crypto: definePackage('expo-crypto', '~57.0.3'),\n devClient: definePackage('expo-dev-client', '~57.0.19'),\n documentPicker: definePackage('expo-document-picker', '~57.0.2'),\n fileSystem: definePackage('expo-file-system', '~57.0.7'),\n font: definePackage('expo-font', '~57.0.4'),\n imagePicker: definePackage('expo-image-picker', '~57.0.20'),\n linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),\n linking: definePackage('expo-linking', '~57.0.11'),\n localization: definePackage('expo-localization', '~57.0.2'),\n location: definePackage('expo-location', '~57.0.20'),\n mediaLibrary: definePackage('expo-media-library', '~57.0.5'),\n notifications: definePackage('expo-notifications', '~57.0.21'),\n secureStore: definePackage('expo-secure-store', '~57.0.4'),\n splashScreen: definePackage('expo-splash-screen', '~57.0.9'),\n statusBar: definePackage('expo-status-bar', '~57.0.1'),\n updates: definePackage('expo-updates', '~57.0.23'),\n webBrowser: definePackage('expo-web-browser', '~57.0.3'),\n },\n platforms: {\n android: {\n minimumVersion: 7,\n minimumApiLevel: 24,\n compileSdk: 36,\n targetSdk: 36,\n edgeToEdge: true,\n },\n ios: {\n minimumVersion: '16.4',\n minimumXcodeVersion: '26.4',\n },\n },\n} as const;\n\nexport type ExpoPlatform = typeof EXPO_PLATFORM;\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/expo-runtime",
3
3
  "type": "module",
4
- "version": "4.0.5",
4
+ "version": "4.0.7",
5
5
  "description": "Declarative runtime integration for Expo apps: maps app capabilities to permissions, packages, config plugins, providers, and adapters",
6
6
  "homepage": "https://github.com/ankhorage/expo-runtime#readme",
7
7
  "bugs": {
@@ -26,7 +26,7 @@
26
26
  "runtime"
27
27
  ],
28
28
  "dependencies": {
29
- "@ankhorage/contracts": "^22.3.0"
29
+ "@ankhorage/contracts": "^22.8.2"
30
30
  },
31
31
  "files": [
32
32
  "dist",
@@ -158,13 +158,13 @@
158
158
  "@react-native-vector-icons/ionicons": "^13.1.3",
159
159
  "@react-native-vector-icons/material-design-icons": "^13.1.3",
160
160
  "@zip.js/zip.js": "2.9.0",
161
- "expo": "57.0.23",
161
+ "expo": "57.0.25",
162
162
  "expo-camera": "~57.0.5",
163
- "expo-constants": "~57.0.18",
163
+ "expo-constants": "~57.0.19",
164
164
  "expo-document-picker": "~57.0.2",
165
165
  "expo-file-system": "~57.0.7",
166
166
  "expo-font": "~57.0.4",
167
- "expo-image-picker": "~57.0.18",
167
+ "expo-image-picker": "~57.0.20",
168
168
  "pdfjs-dist": "6.3.289",
169
169
  "react": "19.2.3",
170
170
  "react-native": "0.86.3"
@@ -233,7 +233,7 @@
233
233
  },
234
234
  "devDependencies": {
235
235
  "@ankhorage/devtools": "^1.18.5",
236
- "@ankhorage/paradox": "^0.1.26",
236
+ "@ankhorage/paradox": "^0.2.5",
237
237
  "@ankhorage/permissions": "^0.2.5",
238
238
  "@ankhorage/zora": "^4.5.0",
239
239
  "@readium/navigator": "2.8.2",
@@ -251,13 +251,13 @@
251
251
  "@types/react": "~19.2.4",
252
252
  "@xmldom/xmldom": "0.9.10",
253
253
  "bwip-js": "^4.11.4",
254
- "expo": "57.0.23",
254
+ "expo": "57.0.25",
255
255
  "expo-camera": "~57.0.5",
256
- "expo-constants": "~57.0.18",
256
+ "expo-constants": "~57.0.19",
257
257
  "expo-document-picker": "~57.0.2",
258
258
  "expo-file-system": "~57.0.7",
259
259
  "expo-font": "~57.0.4",
260
- "expo-image-picker": "~57.0.18",
260
+ "expo-image-picker": "~57.0.20",
261
261
  "react": "19.2.3",
262
262
  "react-dom": "19.2.3",
263
263
  "react-native": "0.86.3",
@@ -32,6 +32,17 @@ describe('EXPO_PLATFORM', () => {
32
32
  expect(EXPO_PLATFORM.tooling.expoDoctor.name).toBe('expo-doctor');
33
33
  expect(EXPO_PLATFORM.tooling.reactTypes.name).toBe('@types/react');
34
34
  expect(EXPO_PLATFORM.animation.worklets.name).toBe('react-native-worklets');
35
+ expect(EXPO_PLATFORM.runtime.expo.version).toBe('57.0.25');
36
+ expect(EXPO_PLATFORM.navigation.expoRouter.version).toBe('~57.0.23');
37
+ expect(EXPO_PLATFORM.packages.linking.version).toBe('~57.0.11');
38
+ expect(EXPO_PLATFORM.packages.metroRuntime.version).toBe('~57.0.16');
39
+ expect(EXPO_PLATFORM.packages.constants.version).toBe('~57.0.19');
40
+ expect(EXPO_PLATFORM.packages.asset.version).toBe('~57.0.18');
41
+ expect(EXPO_PLATFORM.packages.authSession.version).toBe('~57.0.13');
42
+ expect(EXPO_PLATFORM.packages.imagePicker.version).toBe('~57.0.20');
43
+ expect(EXPO_PLATFORM.packages.location.version).toBe('~57.0.20');
44
+ expect(EXPO_PLATFORM.packages.notifications.version).toBe('~57.0.21');
45
+ expect(EXPO_PLATFORM.packages.updates.version).toBe('~57.0.23');
35
46
  });
36
47
  });
37
48
 
package/src/platform.ts CHANGED
@@ -18,7 +18,7 @@ export const EXPO_PLATFORM = {
18
18
  sdk: 57,
19
19
  architecture: 'new-architecture-only',
20
20
  runtime: {
21
- expo: definePackage('expo', '57.0.23'),
21
+ expo: definePackage('expo', '57.0.25'),
22
22
  react: definePackage('react', '19.2.3'),
23
23
  reactDom: definePackage('react-dom', '19.2.3'),
24
24
  reactNative: definePackage('react-native', '0.86.3'),
@@ -35,7 +35,7 @@ export const EXPO_PLATFORM = {
35
35
  expoDoctor: definePackage('expo-doctor', '1.20.4'),
36
36
  },
37
37
  navigation: {
38
- expoRouter: definePackage('expo-router', '~57.0.21'),
38
+ expoRouter: definePackage('expo-router', '~57.0.23'),
39
39
  screens: definePackage('react-native-screens', '~4.26.0'),
40
40
  safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),
41
41
  },
@@ -58,28 +58,28 @@ export const EXPO_PLATFORM = {
58
58
  },
59
59
  },
60
60
  packages: {
61
- metroRuntime: definePackage('@expo/metro-runtime', '~57.0.15'),
62
- asset: definePackage('expo-asset', '~57.0.17'),
61
+ metroRuntime: definePackage('@expo/metro-runtime', '~57.0.16'),
62
+ asset: definePackage('expo-asset', '~57.0.18'),
63
63
  audio: definePackage('expo-audio', '~57.0.5'),
64
- authSession: definePackage('expo-auth-session', '~57.0.12'),
64
+ authSession: definePackage('expo-auth-session', '~57.0.13'),
65
65
  camera: definePackage('expo-camera', '~57.0.5'),
66
- constants: definePackage('expo-constants', '~57.0.18'),
66
+ constants: definePackage('expo-constants', '~57.0.19'),
67
67
  crypto: definePackage('expo-crypto', '~57.0.3'),
68
68
  devClient: definePackage('expo-dev-client', '~57.0.19'),
69
69
  documentPicker: definePackage('expo-document-picker', '~57.0.2'),
70
70
  fileSystem: definePackage('expo-file-system', '~57.0.7'),
71
71
  font: definePackage('expo-font', '~57.0.4'),
72
- imagePicker: definePackage('expo-image-picker', '~57.0.18'),
72
+ imagePicker: definePackage('expo-image-picker', '~57.0.20'),
73
73
  linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),
74
- linking: definePackage('expo-linking', '~57.0.10'),
74
+ linking: definePackage('expo-linking', '~57.0.11'),
75
75
  localization: definePackage('expo-localization', '~57.0.2'),
76
- location: definePackage('expo-location', '~57.0.18'),
76
+ location: definePackage('expo-location', '~57.0.20'),
77
77
  mediaLibrary: definePackage('expo-media-library', '~57.0.5'),
78
- notifications: definePackage('expo-notifications', '~57.0.19'),
78
+ notifications: definePackage('expo-notifications', '~57.0.21'),
79
79
  secureStore: definePackage('expo-secure-store', '~57.0.4'),
80
80
  splashScreen: definePackage('expo-splash-screen', '~57.0.9'),
81
81
  statusBar: definePackage('expo-status-bar', '~57.0.1'),
82
- updates: definePackage('expo-updates', '~57.0.22'),
82
+ updates: definePackage('expo-updates', '~57.0.23'),
83
83
  webBrowser: definePackage('expo-web-browser', '~57.0.3'),
84
84
  },
85
85
  platforms: {