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

permissions-dispatcher:ktx:1.0.4 has bug

lixbandroid opened this issue · comments

1,I use in fragments, when I frequent switching fragments, registers observe many times
2,two fragments in same actvity are watch the same permissions, switching fragments, only one be response

interesting use case, but I think this is kind of an expected behaviour? we can easily fix the issue but I thought only the latest requiresPermission function is supposed to be called.

only one be response

could you elaborate on which fragment can handle the response?