Wrong behaviour of ktx library when two premissions are requested in one screen
Dzmitry-Lakisau opened this issue · comments
Sample code can be found here: https://github.com/DzmitryLakisau/Permissions-Dispatcher-KTX-Bug
Wrong action is called after granting second permission.
Steps to reproduce:
- Press "Open camera".
- Grant camera permission.
- Camera is opened. Close it.
- Press "Open file manager".
- Grant storage permission.
- Camera is opened again.
After this, if press "Open file manager" again right action will be called.
This issue is absent in annotation version of library.
thx, let us take a look
we've addressed the issue in 1.0.4. thx for the report! 🙏