cph-cachet / flutter-plugins

A collection of Flutter plugins developed by CACHET
550 stars 678 forks source link

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

Open iarata opened 3 weeks ago

iarata commented 3 weeks ago

Until version 11.1.0 when there are multiple requests for permission on Android the app crashes #1059. 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.