cordova-plugin-android-permissions
cordova-plugin-android-permissions copied to clipboard
This plugin is designed for supporting Android new permissions checking mechanism.
Hi, I try to use it in Quasar but just show this error **_Uncaught (in promise) ReferenceError: cordova is not defined_** i dont know how solve it :(
Can't get this to work with REQUEST_IGNORE_BATTERY_OPTIMIZATIONS: cordova.plugins.permissions.checkPermission(cordova.plugins.permissions.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS, function (status) { alert(JSON.stringify(status); }); It always returns {hasPermission: false}, regardless of it being activated or not. Calling requestPermissions gives same result....
"cordova-plugin-android-permissions": "^1.1.2", "@ionic-native/android-permissions": "^5.30.0", cordova-android: "^9.0.0", "@ionic-native/core": "^5.25.0", ------- config.xml ------------ -------- use case ------------ save base64ToGallery error access
requestPermission return false after deny an access one time in android 11
I have the following code in my project: ``` this.androidPermissions.requestPermissions( [ this.androidPermissions.PERMISSION.CAMERA, this.androidPermissions.PERMISSION.READ_EXTERNAL_STORAGE, this.androidPermissions.PERMISSION.WRITE_EXTERNAL_STORAGE ] ); ``` Which is in the `app.component.ts` file. The permissions were requested on app initialization....
I am getting the following error when requesting the user permission: ```json { "error": "requestPermission", "message": "Unknown error." } ``` Here's a code snippet for checking and requesting permission: ```ts...
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...
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"...
this will be very helpful
When i am trying to add this code it gives Object(...) is not function i am suing ionic 3 angular 5 setup