-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requestPermission throws an Unknown error #88
Comments
Update: The code works on regular Android and iOS devices. I am only getting the issue with Zebra TC51 (Android 6) – the plugin successfully checks if device has permission or not but it fails to request permission (it was working fine few weeks ago). Additional test has been done on a similar TC device and it is working fine. So, this seems to be a device issue at this point. |
I'm using a Samsung S9 running Android 10 and am encountering this issue as well. These are the permissions I'm asking for:
I am however bringing in Zebra printer Cordova plugin. I'm not sure if it's related to this or not. |
Also in case it helps. I'm currently only building and having the issue on Android.
|
I think I figured out what the issue was for me. I had code that prompts for |
I am getting the following error when requesting the user permission:
Here's a code snippet for checking and requesting permission:
Additional Information:
Android Permissions
plugin has been installed as instructed on the Ionic Official DocumentationThe text was updated successfully, but these errors were encountered: