Skip to content

Conversation

VanRooyHenri
Copy link

Callbacks were stored as static variables shared across all Permission instances, causing callbacks to fire for wrong permissions. Changed to use Maps keyed by Permission to ensure each permission has its own isolated callbacks.

Fixes issue where Permission.locationWhenInUse callbacks would trigger when any other permission changed state.

#1414

@VanRooyHenri VanRooyHenri force-pushed the fix/permission-callback-isolation branch 3 times, most recently from 25206ff to 1584721 Compare October 15, 2025 15:35
@VanRooyHenri VanRooyHenri force-pushed the fix/permission-callback-isolation branch from 1584721 to 9bfb065 Compare October 15, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants