cordova-plugin-android-permissions
cordova-plugin-android-permissions copied to clipboard
Allow to know if user pressed on "Never ask again"
Hello, I'd like to suggest that it'd be very cool if the requestPermission(permission)
method allowed to the developer to know if the user pressed "Accept", "Reject" or "Never ask again" just like in the following plugin -> https://github.com/dpa99c/cordova-diagnostic-plugin on the requestLocationAuthorization()
method.
This is useful for example, for when the user attempts to call to show the permission request of Android if he rejected the permission when they were asked previously or instead, open the application settings where u can change permissions if he pressed "Never ask again". Since if he pressed on "Never ask again" there is no way the native dialog from Android will show.
Thnks.
@UlisesCeca any fix for this?
@NeoLSN ping
Any plans on implementing this? I would appreciate it!