react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
Gallery not open on Android 10.
Gallery is not open on Android version 10. while camera is working fine I'm requesting all the persions like for older android version we need to request the read external storage but its not working plese check this issue.
Our users have reported similar issues on Android 10, they are presented with this error box when opening gallery. The issue started appearing after updated to the latest version of react-native-image-crop-picker.
The text translates to...
An error have occurred Please try again later
Apparently this is a Google Play Services related issue, I have tried asking them to update Google services, but they report the issue still persist even after updating Google Play Services.
My environment
React Native
"react": "18.3.1",
"react-native": "0.77.1",
"react-native-image-crop-picker": "^0.42.0",
Android
buildToolsVersion = "35.0.0"
minSdkVersion = 26
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "27.2.12479018"
kotlinVersion = "2.0.21"
googlePlayServicesVisionVersion = "17.0.2"
googlePlayServicesVersion = "16.+"
firebaseVersion = "17.3.4"
I am facing an issue with open camera and it returns:
java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/....
I am facing an issue with open camera and it returns:
java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/....
The same issue. i use ImagePicker.openCamera. It don't open camera and return [java.lang.IllegalArgumentException: Failed to find configured root that contains .... ] Do you fix it? @andremawad
this is happening to me too on openCamera
I am facing an issue with open camera and it returns: java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/....
The same issue. i use ImagePicker.openCamera. It don't open camera and return [java.lang.IllegalArgumentException: Failed to find configured root that contains .... ] Do you fix it? @andremawad
Acctually I used react-native-camera-kit and did my own camera component you can try and use their example and modify it to match your needs.
I am facing an issue with open camera and it returns: java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/....
The same issue. i use ImagePicker.openCamera. It don't open camera and return [java.lang.IllegalArgumentException: Failed to find configured root that contains .... ] Do you fix it? @andremawad
Acctually I used react-native-camera-kit and did my own camera component you can try and use their example and modify it to match your needs.
cheers!
this fixes it btw
https://github.com/ivpusic/react-native-image-crop-picker/issues/1653#issuecomment-3254749462