react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

expo-image-picker v16.0.5 crashing on some iPhone 13 devices (iOS 18.4.0) while working on others

Open shubhamzlm opened this issue 7 months ago • 4 comments

Environment

  • expo: 52.0.31

  • expo-image-picker: 16.0.5

  • react-native: included with Expo SDK 52

  • Platform: iOS

  • Devices tested: iPhone 13 (iOS 18.4.0)

  • Reproducibility: Crashes on some devices, works fine on others with same model and OS

Summary

We're experiencing inconsistent behavior with expo-image-picker version 16.0.5 on iPhone 13 running iOS 18.4.0. On some devices, the app crashes immediately when invoking the image picker (especially while accessing the camera), while on other devices with the same model and OS version, it works as expected.

Steps to Reproduce

  • Install expo-image-picker 16.0.5 with expo 52.0.31.

  • Launch the image picker using ImagePicker.launchCameraAsync() or ImagePicker.launchImageLibraryAsync().

  • On certain iPhone 13 devices (iOS 18.4.0), app crashes when image picker is triggered.

  • No crash on other identical devices.

Expected Behavior

The image picker should consistently open the camera or library interface without crashing on all iPhone 13 devices.

Actual Behavior

The app crashes without logs or any catchable error when invoking image picker on some iPhone 13 devices.

Additional Context / Troubleshooting Attempts

  • Camera and media library permissions are properly handled.

  • Crash seems random across identical devices (same model and OS).

  • No clear logs are produced during the crash.

  • Reinstalled app, cleared cache, still same behavior.

  • Using bare workflow is not an option, this is an Expo-managed project.

Request

Any insight into what could cause this inconsistent behavior?

Is this a known issue with iOS 18.4.0 or expo-image-picker v16?

Are there any internal Apple changes in 18.x that could affect camera permissions or app stability?

shubhamzlm avatar May 08 '25 04:05 shubhamzlm

I believe you opened this issue in the wrong place. This is the repo for react-native-image-crop-picker. expo-image-picker repo is here

roni-castro-shipt avatar May 09 '25 20:05 roni-castro-shipt

I am having this same exact issue it runs fine in expo go but on EAS Build it crashes

Blaisetravis avatar May 20 '25 23:05 Blaisetravis

figured the fix for this check your app.json file make sure it contains the array for expo image picker.

should look like this [ "expo-image-picker", { "photosPermission": "The app accesses your photos.", "cameraPermission": "The app accesses your camera.", "microphonePermission": false } ]

Blaisetravis avatar Jun 01 '25 17:06 Blaisetravis

The above suggestion does not fix the issue, FYI. Upgrading to expo 53 didn't fix it, either. @shubhamzlm did you open an issue in the expo repo for this? You're in the wrong repo.

ibrust avatar Jun 06 '25 19:06 ibrust