ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.12k stars 1.56k forks source link

'Required Permissions Missing' error when I call openCamera function #1530

Open niranjanrajesh02 opened 3 years ago

niranjanrajesh02 commented 3 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

The ImagePicker.openCamera function is called on a button press which should take me to the camera view and let me take a picture on my emulator.

Actual behaviour

When I call the ImagePicker.openCamera function, I get the 'Required Permissions Missing' as a warning on my React Native and nothing actually happens.

Steps to reproduce

1.

2.

3.

Attachments

image image

// stacktrace or any other useful debug info

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

APukas commented 3 years ago

Add <uses-permission android:name="android.permission.CAMERA" /> in AndroidManifest.xml file.

amdrade commented 9 months ago

Same error here, and the line was added in the AndroidManifest.xml file.

<uses-permission android:name="android.permission.CAMERA" />

amdrade commented 9 months ago

Solve update to 0.40.2