Skip to content

[health] Fix #1059: Add check flags for permissions#1069

Merged
iarata merged 2 commits intocarp-dk:masterfrom
iarata:health-crash-fix
Nov 28, 2024
Merged

[health] Fix #1059: Add check flags for permissions#1069
iarata merged 2 commits intocarp-dk:masterfrom
iarata:health-crash-fix

Conversation

@iarata
Copy link
Contributor

@iarata iarata commented Oct 30, 2024

Until version 11.1.0 when there are multiple requests for permission on Android the app crashes carp-dk/carp-health-flutter#98. This can be reproduced in the example app when it is running on the Samsung A546B and the Authenticate button is clicked multiple times very fast.

This PR adds a check flag to prevent sending new permission requests if one is already requested.

@iarata iarata changed the title [health] Fix #1059 [health] Fix #1059: Add check flags for permissions Oct 30, 2024
@iarata iarata added the bugfix a bug fix label Oct 30, 2024
Copy link
Contributor

@bardram bardram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iarata
Copy link
Contributor Author

iarata commented Nov 28, 2024

Closes carp-dk/carp-health-flutter#98

@iarata iarata merged commit 3784963 into carp-dk:master Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix a bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants