Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

REQUEST ALL in sample example not working as expected #200

Open
cmeng-git opened this issue Dec 25, 2017 · 1 comment
Open

REQUEST ALL in sample example not working as expected #200

cmeng-git opened this issue Dec 25, 2017 · 1 comment

Comments

@cmeng-git
Copy link

cmeng-git commented Dec 25, 2017

Thanks for the excellent Dexter library. Trying to use it on aTalk; but observe the following when trying the SampleActivity downloaded from the master repository (v4.2.0)
The Dexter is installed on Note 8.

Expected behaviour

Click on the RequestAll button launches the showPermissionRationale dialog as expected. It should then wait for user to click on the OK button before proceed to prompt user with the Permission Request dialog.

Actual behaviour

After the launch of the showPermissionRationale dialog. it immediately proceeds to show the Permission Request dialog without user clicks on the OK button; and obscures the showPermissionRationale dialog message until user has answered all the permission requests.This confuses the user.

I try to trace where the token.continuePermissionRequest(); is being executed even before the user click on the OK button but not successful.

Steps to reproduce

See above

Version of the library

version 4.2.0 master source

@monowar1993
Copy link

@Laura-karumi please look at the issue. I also have the same problem on 8.0. Actually Background thread permission listener works as expected. But sample permission listener shouldshowretional dialog is messed up. Its asking for permission before I press ok button. Please do check.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants