cordova-plugin-android-permissions icon indicating copy to clipboard operation
cordova-plugin-android-permissions copied to clipboard

Allow to know if user pressed on "Never ask again"

Open UlisesCeca opened this issue 6 years ago • 3 comments

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 avatar Jul 11 '18 08:07 UlisesCeca

@UlisesCeca any fix for this?

WuglyakBolgoink avatar Aug 13 '20 18:08 WuglyakBolgoink

@NeoLSN ping

WuglyakBolgoink avatar Aug 13 '20 18:08 WuglyakBolgoink

Any plans on implementing this? I would appreciate it!

tobias-klein avatar Jan 17 '21 10:01 tobias-klein