Open salimsket opened 5 years ago
Any time your app requests new permissions, the system displays a form with all the requested data types shown. — Source
You could experiment with asking for new permissions, and see if old ones show up too. I don't think so, as a long time Apple Health user. But maybe the project maintainer knows better :)
In terms of error handling, and showing that UI message, you could try using the package's API:
AppleHealthKit.isAvailable
AppleHealthKit.authorizationStatusForType
Could it be possible to enable a re-prompt of the HealthKit permission? Once disallowed, it's unclear how to handle and perhaps show a UI error message to inform the user to open the Health app and enable it in "Sources".