ivpusic / react-native-image-crop-picker

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

Camera does't open even after updated version "0.35.2" version showing "permission denied" #1522

Open varunSuccessive opened 3 years ago

varunSuccessive commented 3 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

Actual behaviour

Steps to reproduce

1.

2.

3.

Attachments

// 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

nyanpasu commented 3 years ago

I'm seeing it even on 0.26.1 Might be a recent Android update.

varunSuccessive commented 3 years ago

Now it's working for me Thanks a lots.

On Thu, Feb 11, 2021 at 4:32 PM Nyanpasu notifications@github.com wrote:

I'm seeing it even on 0.26.1 Might be a recent Android update.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ivpusic/react-native-image-crop-picker/issues/1522#issuecomment-777365931, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLLSZOIKCJCO6L3YGENVM3S6O2L5ANCNFSM4W2C76VQ .

--

CONFIDENTIALITY NOTICE This email (including any attachments) may contain confidential, proprietary and/or privileged information, if you are not the intended recipient, or the person responsible for delivering the message to the intended recipient then please notify us by return email immediately. Should you have received this email in error then you should not copy this for any purpose nor disclose its contents to any other person.

niranjanrajesh02 commented 3 years ago

Hey, I have the same problem. The select from gallery works but I cannot open the camera saying: 'Required Permission Missing'. How did you fix this?

nyanpasu commented 3 years ago

I had to add android:requestLegacyExternalStorage="true" to the <application> tag in AndroidManifest.xml to get it working again. It's not a problem with the library. Other camera picker libraries I used also had the same problem, and this workaround fixed it for all of them.

varunSuccessive commented 3 years ago

Hey, I have the same problem. The select from gallery works but I cannot open the camera saying: 'Required Permission Missing'. How did you fix this?

i just updated

Hey, I have the same problem. The select from gallery works but I cannot open the camera saying: 'Required Permission Missing'. How did you fix this?

just updated by "0.35.2" and uninstall app and re-install..it's stared working.