Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible Unhandled Promise Rejection (id: 3): Error: Call to function 'ExponentImagePicker.launchCameraAsync' has been rejected. #2107

Open
xuergo opened this issue Oct 28, 2024 · 1 comment

Comments

@xuergo
Copy link

xuergo commented Oct 28, 2024

Version

Tell us which versions you are using:

  • react-native-image-crop-picker v0.41.4
  • "react-native": "0.73.6",
  • "expo": "~50.0.20",
  • "expo-image-picker": "~14.7.1",

Run code

    const result: ExpoImagePicker.ImagePickerResult = await ExpoImagePicker.launchCameraAsync({
       
      })

Partial mobile phones(android10 11 12) output

Possible Unhandled Promise Rejection (id: 3): Error: Call to function 'ExponentImagePicker.launchCameraAsync' has been rejected.
  • react-native-image-crop-picker v0.41.1 Will work normally
@SSzzPP
Copy link

SSzzPP commented Oct 28, 2024

I reproduced it on my OnePlus 6T. When I downgraded to v0.41.3, everything worked fine. I think it might be "com.reactnative.ivpusic.imagepicker" that affects it.
bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants