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

it will call onResume? #84

Closed chenwulue closed 8 years ago

chenwulue commented 8 years ago

when I call checkPermission,it will call onResume

Steps to reproduce

Dexter.checkPermissions

Version of the library

2.3.0

Serchinastico commented 8 years ago

Hi @chenwulue

This issue has been already reported in #47 & #81 and solved in #73, that will be part of the version 3.0.0 of the library.

I'll close the issue, subscribe to the issues I mentioned if you want to know when the issue is finally solved.

Thanks for reporting!

minhbnt-1512 commented 4 years ago

This issue wasn't fixed in version 6.0.1. it still call onResume when I check permission in Fragment

Serchinastico commented 4 years ago

It calls onResume because a native dialog is presented. We can't do anything about that, it's how Android runtime permissions system works.

If you are seeing an onResume call with no dialog whatsoever, please send us a minimal project reproducing the issue so that we can better debug what's going on.