HealthKit and FlutterFlow

Is it possible to read iOS HealthKit data and use it in a FlutterFLow app?

I have tried to implement https://pub.dev/packages/health_kit_reporter/example but with no luck.

I am relatively new to this though, so maybe I am missing something obvious. I used the example code and I can get the UI to show up in the app, but when I click to authorize nothing happens... Even when running in TestFlight.

I have added the NSHealthShareUsageDescription and NSHealthUpdateUsageDescription to the custom permissions.. And I have set that up on the apple console side as well..

I can't find any info about allowing custom permissions in FlutterFlow online other than the official documentation which is pretty minimal. Any help would be greatly appreciated.

Specifically I am trying to get the users active calories, exercise minutes and stand minutes. I would also like to get the goals that a user sets for those as well.

5
17 replies