permissions-dispatcher / PermissionsDispatcher

A declarative API to handle Android runtime permissions.

Home Page:https://github.com/permissions-dispatcher/PermissionsDispatcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Press "Open camera".
  2. Grant camera permission.
  3. Camera is opened. Close it.
  4. Press "Open file manager".
  5. Grant storage permission.
  6. 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! 🙏