This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Description
Expected behaviour
PermissionListener passed to withListener() function is triggered after permission request.
Actual behaviour
PermissionListener is invalidated on screen rotation and its callbacks are not triggered.
Steps to reproduce
Rotate screen while showing dialog from onPermissionRationaleShouldBeShown callback.
Version of the library
6.2.2
I suppose that using ViewModel for DexterActivity should fix the problem, but it requires jetpack dependency.