Closed saadrehman013 closed 5 years ago
same issue i have faced right now Please provide solution
Is Camera Permission Rejected?
Is Camera Permission Rejected?
No, not at all. I have added the necessary permissions in the manifest.xml file. When the camera opens for the first time it asks for the permission as it should be doing. To be noted gallery is accessible but not the camera for both picture and video.
Can you provide some stack information? I didn't find it when I ran example. You can try it.
Android: 28, Gradle: 3.2.1, react-native: 0.57.5, iOS: 12
I can't reproduce this bug. The exmple uses the same configuration. see https://github.com/mg365/react-native-customized-image-picker/tree/master/example, It's better to provide stack info in Android studio.
same error below is the stack info
buildToolsVersion = "27.0.3"
minSdkVersion = 26
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "27.1.1"
The build Tools Version recommended by lib is'28.0.3' buildToolsVersion = "28.0.3" supportLibVersion = "28.0.0"
@liukefu2050 My build tools as recommend as above, still app crashes while opening camera
@liukefu2050 Issue Fixed, as Library ask for Read Storage and Camera. Crashes for no permissions for WRITE Storage
I have been trying to open camera for image and video separately on android but the app crashes when I try to access the camera. Accessing the gallery is working fine. Still not touched that for iOS whose knows there would be similar surprises there.
Versions: Android: 28, react-native: 0.57.5, iOS: 12
Still, a lot of time has been wasted on this issue. Any help or workaround would be appreciated.