breautek commented on issue #261: URL: https://github.com/apache/cordova-plugin-media-capture/issues/261#issuecomment-1281154899
Android has the capability of automatically rejecting permissions if the user has previously "Denied Always" permission in the past and this information can survive app uninstalls/reinstalls. In which case, the user must change permissions using the Android App settings. Are you certain this isn't the case of a permission being denied always? On AOSP emulators, you can reset this state using `adb shell pm reset-permissions` which is useful for testing. You'll need to have `$ANDROID_HOME/platform-tools` in your `PATH` to use the `adb` command. Note that this command will reset permissions on ***all*** applications back to their default "Not requested" state for all permissions, but I don't think this command is available on Google android images (images with the playstore) or real devices. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
