You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let the app provide expo-file-system in the React Native SDK #2098
Goal: Make one build of the React Native SDK (react-native-appwrite) work on Expo SDK 52 through 58 by letting the app provide expo-file-system, fixing the Android launch crash on Expo 54+ (sdk-for-react-native#114) and failed uploads on Expo 55+ (sdk-for-react-native#112).
templates/react-native/package.json.twig and package-lock.json.twig: expo-file-system moves from dependencies (18.*.*) to peerDependencies (>=18.0.0), with a 58.0.9 devDependency for types; the expo peer goes from * to >=52.0.0.
New templates/react-native/src/lib/file-system.ts.twig (registered in src/SDK/Language/ReactNative.php): requires expo-file-system/legacy and falls back to the root expo-file-system for 18.x.
templates/react-native/src/services/template.ts.twig: uploads use the loader, and Android chunk temp files are deleted after each request.
templates/react-native/tsconfig.json.twig: moduleResolution set to bundler so the /legacy types resolve.
templates/react-native/README.md.twig: install command includes expo-file-system; states Expo SDK 52+ support.
Tests: tests/generation/GenerationTest.php peer-dependency check, and the React Native e2e harness (tests/e2e/ReactNativeTest.php, tests/e2e/languages/react-native/shims/*) covering the 19+ and 18 layouts plus temp chunk cleanup.
Activity