Karumi / Dexter

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

ACTIVITY_RECOGNITION Permission #280

Open SergeyAvetisyan opened 3 years ago

SergeyAvetisyan commented 3 years ago

Expected behaviour - Work correct :)

Actual behaviour - Dosnt work.

Steps to reproduce -

After clicking on permission dialog deny button close app and open again . And after that when you clicking allow or deny button it dosnt call onPermissionDenied or onPermissionRationaleShouldBeShown function. This happening only with ACTIVITY_RECOGNITION permission, i try it with location,camera, phone and other permissions, all work.

Version of the library-6.2.2

pedrovgs commented 3 years ago

Hey @SergeyAvetisyan thanks for reporting. Maybe this permission has a special behavior we should handle differently. Could you please provide a sample project reproducing the bug so we can focus on exploring a solution for this bug?