fix: align expo packages to SDK 54 expected versions
Expo's version checker reported mismatches; update to exact expected versions: expo-sqlite ~16.0.10, expo-document-picker ~14.0.8, expo-file-system ~19.0.21, expo-background-fetch ~14.0.9, expo-task-manager ~14.0.9, react-native-webview 13.15.0, typescript ~5.9.2 expo-file-system v19 moved the legacy API (documentDirectory, copyAsync, makeDirectoryAsync) to 'expo-file-system/legacy' — update import in import.tsx.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import * as DocumentPicker from 'expo-document-picker';
|
import * as DocumentPicker from 'expo-document-picker';
|
||||||
import * as FileSystem from 'expo-file-system';
|
import * as FileSystem from 'expo-file-system/legacy';
|
||||||
import { useSQLiteContext } from 'expo-sqlite';
|
import { useSQLiteContext } from 'expo-sqlite';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Alert, Pressable, ScrollView, StyleSheet, Text, View } from 'react-native';
|
import { Alert, Pressable, ScrollView, StyleSheet, Text, View } from 'react-native';
|
||||||
|
|||||||
+7
-7
@@ -12,11 +12,11 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"expo": "~54.0.33",
|
"expo": "~54.0.33",
|
||||||
"expo-router": "~6.0.23",
|
"expo-router": "~6.0.23",
|
||||||
"expo-sqlite": "~15.0.6",
|
"expo-sqlite": "~16.0.10",
|
||||||
"expo-document-picker": "~13.1.6",
|
"expo-document-picker": "~14.0.8",
|
||||||
"expo-file-system": "~18.0.12",
|
"expo-file-system": "~19.0.21",
|
||||||
"expo-background-fetch": "~13.1.6",
|
"expo-background-fetch": "~14.0.9",
|
||||||
"expo-task-manager": "~13.1.6",
|
"expo-task-manager": "~14.0.9",
|
||||||
"expo-notifications": "~0.32.16",
|
"expo-notifications": "~0.32.16",
|
||||||
"expo-constants": "~18.0.13",
|
"expo-constants": "~18.0.13",
|
||||||
"expo-linking": "~8.0.11",
|
"expo-linking": "~8.0.11",
|
||||||
@@ -27,12 +27,12 @@
|
|||||||
"react-native": "0.81.5",
|
"react-native": "0.81.5",
|
||||||
"react-native-safe-area-context": "~5.6.0",
|
"react-native-safe-area-context": "~5.6.0",
|
||||||
"react-native-screens": "~4.16.0",
|
"react-native-screens": "~4.16.0",
|
||||||
"react-native-webview": "~13.16.0",
|
"react-native-webview": "13.15.0",
|
||||||
"@maplibre/maplibre-react-native": "~11.0.0"
|
"@maplibre/maplibre-react-native": "~11.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.25.0",
|
"@babel/core": "^7.25.0",
|
||||||
"@types/react": "~19.1.0",
|
"@types/react": "~19.1.0",
|
||||||
"typescript": "~5.8.0"
|
"typescript": "~5.9.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user