Open vladoski opened 3 years ago
I've tried the app using API level 28 and it works (29 doesn't).
I'm having the same issue. I tried isolating it down just asking for one permission at a time but it seems to error regardless. https://github.com/NeoLSN/cordova-plugin-android-permissions/issues/88#issuecomment-765817058
Hello guys, I'm tring to manage location permissions on my PhoneGap app using this plugin. The problem is that I don't understand why error is being fired.
First, when I'm opening my app after my first install, requestPermission is being called so the grant location permission popup opens on the screen, the problem is that after some ms, the error callback is fired by the requestPermission and I don't know understand why error (and why there's no error message) should be fired before even denying nor granting the permission. I've also tried to do what this guy suggested in #84 but didn't work.
error.error
is'Unknown error.'
This is what I'm doing:
And this is my
config.xml
android: