-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Health: 11.0.0] Cannot get TOTAL_CALORIES_BURNED on iOS #1081
Comments
Refer this issue for the solution: #1072 |
Okay, so in iOS i used ACTIVE_ENERGY_BURNED instead of TOTAL_CALORIES_BURNED and it works well. |
Health connect is still buggy when it comes to reading health data from the health app, I faced the same issue with Samsung Health, distance & calories are present but Health Connect doesn't read them thus I cannot show them in my application, I'm not sure there is anything we can do about that unfortunately unless there is something that I don't know about |
I'm still facing the same problem. I've tried to test by manually write active calories data into health connect and then my application can load calories data. So it just about why samsung health doesnt write calories into health connect. |
Yes writing directly into Health Connect will obviously work, but not reading an actual data from the Health application is a big problem because that's what you're going to deal with, I've seen people even non-developers facing the same inconsistency with Health connect so hopefully it gets an update or a fix soon |
Plugin Name
health
Plugin Version
11.0.0
Device
iPhone 13
Operating System
iOS 17.6.1
Describe the bug
I want to get the number calories burned on Apple Health but it seems it cannot get. Can you provide me the way to get the calories burned? Currently I'm using TOTAL_CALORIES_BURNED data type. I saw that when it requests permission from my iPhone, I don't see any permission that relevant to calories burned.
Steps to Reproduce
Just call getHealthDataType with TOTAL_CALORIES_BURNED
Expected Behavior
List of calories burned returned.
Actual Behavior
List of calories burned return nothing.
Flutter Logs
No response
Screenshots
No response
Flutter Doctor Output
Additional Information
No response
The text was updated successfully, but these errors were encountered: