fix(mobile): fix iOS TurboModule crash and npm install peer dep conflict

- UploadScreen.tsx: replace deprecated ImagePicker.MediaTypeOptions.Images
  with new array syntax ['images'] — the old enum is not accepted by the
  expo-image-picker v17 TurboModule on iOS, causing SIGABRT on Thread 2
- package.json: bump react 19.1.0 → 19.2.4 so react-dom@19.2.4 (peerOptional
  of @expo/metro-runtime) no longer conflicts; update @types/react to ~19.2.0
- package-lock.json: update react entry to 19.2.4 (integrity removed, will be
  regenerated by npm install on the next EAS build)

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-15 13:53:27 +00:00
parent f188e81e3a
commit f983b20a8f
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export default function UploadScreen() {
}
const result = await ImagePicker.launchCameraAsync({
mediaTypes: ImagePicker.MediaTypeOptions.Images,
mediaTypes: ["images"],
quality: 0.9,
allowsEditing: false,
});