Karumi / Dexter

Android library that simplifies the process of requesting permissions at runtime.
http://karumi.com
Apache License 2.0
5.23k stars 671 forks source link

demo dont work #164

Closed star-andy closed 7 years ago

star-andy commented 7 years ago

Expected behaviour

image image

Run demo for all permissions, no dialog show, all permissions to become granted image image

But the application without the current access permissions

Version of the library

github demo

Serchinastico commented 7 years ago

Hi @qinyang1018

I just tried in an emulator with Android 6.0 and it works fine. Have you tried completely deleting the demo app and installing it again?

If I had to do a wild guess I'd say that the problem might be in the Smartisan OS it looks like you are using, maybe that ROM is somehow ignoring request permissions and grants them by default (just like Android did before 6.0). Have you seen the permissions alert in some other app?

Serchinastico commented 7 years ago

Feel free to reopen the issue if you have additional information about it.