wymsee / cordova-imagePicker

Cordova Plugin For Multiple Image Selection
MIT License
407 stars 853 forks source link

App crash with internal storage devices #242

Open sumitcodename47 opened 6 years ago

sumitcodename47 commented 6 years ago

Hi, I am using 1.1.1 version of this plug in. When I invoke window.imagePicker.getPictures app crashes as it doesn't have permission access internal storage. When I give permission to access storage it works. Testing this on android 6 and higher. I am not sure will contain all the storage. Do we have android permission where we can set permission to access all storage? internal and external?

gkimpson commented 6 years ago

This is due to the changes made in Android 6.0 - with how it gets the permissions you could try this fork instead as it has extra logic for handling with this. https://github.com/mirulumam/cordova-imagePicker