cph-cachet / flutter-plugins

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

[health] Remove automatically added workout permissions #1055

Open ciriousjoker opened 1 month ago

ciriousjoker commented 1 month ago

Workouts don't necessarily have distances or burnt calories. The health plugin automatically requests these permissions with no way to disable it.

Solution

Solves these

Keep in mind that this is a breaking change, since all users who previously relied on the permission from being added automatically now need to declare it themselves. This PR only updates the code, but not the changelog or the documentation.