Tell us which versions you are using:
Tell us to which platform this issue is related
When calling ImagePicker.openCamera({width: 500, height: 500}), the camera should open.
The app simply crashes.
calling the following method in my React native component:
openCamera () {
ImagePicker.openCamera({width: 500, height: 500})
.then(image => console.log(image))
}
I will need more information, like stacktrace. Did you follow all installation instructions? It could be that you are missing NSCameraUsageDescription.
If you want to use camera picker in your project, add following to AndroidManifest.xml
<uses-permission android:name="android.permission.CAMERA"/>
I has this and it was indeed a missing NSCameraUsageDescription
Most helpful comment
I will need more information, like stacktrace. Did you follow all installation instructions? It could be that you are missing
NSCameraUsageDescription.