Questions tagged [flutter-health]

For questions relating to the "flutter_health" package for the Flutter framework. Use this tag in combination with the general [flutter] tag. If your question applies to Flutter more generally, use the [flutter] tag only.

This tag should be used for any questions regarding the flutter_health package for the framework.

This library combines both GoogleFit and AppleHealthKit.

To get started, you can read through the README on GitLab.

8 questions
5
votes
0 answers

Flutter Health Package (4.3.0) D/FLUTTER HEALTH(21559): Access Denied

User encounters "D/FLUTTER HEALTH(21559): Access Denied!" error after selecting the mail to connect to "Google Fit" Package for me it's only working in test mode. when I set the project to production mode, it stops working. do you have a solution…
5
votes
1 answer

Can I write data to Apple HealthKit/ Google-fit in Flutter using Dart

I am using flutter_health plugin for reading data from apple healthkit. Now I am thinking to write data as well. I am not getting APIs to write data on Apple health. Please help me to know if there is any platform in flutter to write data on Apple…
Ash
  • 5,525
  • 1
  • 40
  • 34
4
votes
1 answer

Flutter - Health package not loading STEP data

I've used health-3.0.3 in my flutter application to get the Google fit data. I'm able to get every data other than STEP-data which shows zero always. You can refer to the health package here Health 3.0.3 Flutter This is the code block to access the…
0
votes
0 answers

HealthConnect Rate Limited request Quota has been exceeded

So I am working on a project that uses health connect to display user health related data(Steps, Heart Rate...). But currently my app crashes with the following error sometimes: android.os.RemoteException: Request rejected. Rate limited request…
Kam5678
  • 1
  • 2
0
votes
1 answer

Retrieve step count and sleep data for a flutter based project on Android and iOS

I'm working on an application in health & fitness space and one of the requirement is to retrieve activities data (step count and sleep data to begin with) from wearables. My understanding is that I will be able to get this data from Google Fit and…
0
votes
0 answers

Flutter health package 6.0.0 wrong HealthDataType.ACTIVE_ENERGY_BURNED and HealthDataType.DISTANCE_WALKING_RUNNING values on iOS

Package: Flutter health 6.0.0 Device: Iphone 12 pro iOS version: 16.5 HealthDataType.ACTIVE_ENERGY_BURNED and HealthDataType.DISTANCE_WALKING_RUNNING reads a wrong numbers that Apple health, it returns a higher value. Below is the code I used to…
Amr Khaled
  • 51
  • 1
  • 3
  • 9
0
votes
0 answers

Flutter health package is not returning real time data on ios,i have to reopen the app or have to switch between my app and ios health app for update

I am calling health package in a timer each second but it is not updating the steps value fetched from ios health kit i have to either reopen the app or switch between ios health app and my app Timer.periodic(const Duration(seconds: 1), (timer)…
0
votes
1 answer

Flutter Fitness App - Any way to integrate health in flutter app

I'm working on on fitness/health app using flutter framework. I'm using google health for android and apple health for apple. The data is good for steps but not showing heart rate. Is there any proper way to integrate google health and apple health…