I am using using cordova plugins for Camera & ImagePicker.
They are both working fine, however in order to get the Camera to work, I first need to give the phone permission to allow my app to access media, which is as expected.
Allow <appname> to access photos, media, and files on your device? DENY ALLOW
When I access the ImagePicker, it fails, if I have not first allowed my app access to the media by first accessing the Camera. The ImagePicker does not prompt the user to allow access to media, it just fails.
Does anyone know how I can get the ImagePicker to prompt the user to allow access to media?