Skip to content
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

Does not detect "don't ask again" denied permissions #307

Closed
jhiswin opened this issue May 25, 2018 · 3 comments
Closed

Does not detect "don't ask again" denied permissions #307

jhiswin opened this issue May 25, 2018 · 3 comments
Labels
awaiting response If no response, issue will be closed

Comments

@jhiswin
Copy link

jhiswin commented May 25, 2018

Does not detect "don't ask again" denied permissions. Tested on Android 7.0

@jhiswin
Copy link
Author

jhiswin commented May 25, 2018

Similar issue to #306, except that the parameter is never correct.

@dpa99c
Copy link
Owner

dpa99c commented May 25, 2018

Testing using the example project, I observe that in the latest version of the plugin (v4.0.6) the behaviour is correct with regard to detection of the DENIED_ALWAYS ("Don't ask again") runtime permission state on Android.

To reproduce my test case, please do the following:

  • Build and run the example project for Android
  • Scroll down and press the "Request Microphone Authorization" button
  • Press "Deny" in the native permissions dialog
  • Use Chrome Developer Tools to inspect the app Webview and place a breakpoint on line 84 of index.js
  • Press the "Request Microphone Authorization" button again
  • Check the "Don't ask again" box and press "Deny" in the native permissions dialog
  • Observe that when the breakpoint is hit, the value of status is DENIED_ALWAYS

Tested on Nexus 6P running Android 8.1.

@dpa99c dpa99c added the awaiting response If no response, issue will be closed label May 27, 2018
@dpa99c
Copy link
Owner

dpa99c commented May 30, 2018

Closed due to no response

@dpa99c dpa99c closed this as completed May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response If no response, issue will be closed
Projects
None yet
Development

No branches or pull requests

2 participants