You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 constructPermissionsRequest (one for location and one for external storage) from the same fragment (i don't make them using the same construct because i want to call them in the right context and so they need to be call at different time).
Problem is the second one will never gets its callbacks called once the first one has been accepted.
this is because when you call PermissionsRequesterImpl.launch ALL observers are removed.
Hello,
I have 2 constructPermissionsRequest (one for location and one for external storage) from the same fragment (i don't make them using the same construct because i want to call them in the right context and so they need to be call at different time).
Problem is the second one will never gets its callbacks called once the first one has been accepted.
this is because when you call PermissionsRequesterImpl.launch ALL observers are removed.
PermissionsDispatcher/ktx/src/main/java/permissions/dispatcher/ktx/PermissionsRequesterImpl.kt
Line 38 in d7ac8bf
Here is a user case >
Solution would be to have a unique observer for each PermissionsRequesterImpl
Environment
The text was updated successfully, but these errors were encountered: