The Google Fit Android APIs were officially deprecated as of May 11, 2022. A deprecation is an early warning for the removal of a feature or service. Developers are expected to stop using deprecated services the moment their use cases are supported in services that are not deprecated.
In this case, Google intends to move everyone from using Google Fit as platform health and fitness integration to using Health Connect.
When you first open Health Connect, you’ll receive an onboarding sequence that helps you learn about the new platform, but you can also read some of what Google has to say here: https://health.google/health-connect-android/
Android 14
On Android 14, Health Connect is not an app like Google Fit, instead, it is a system service that you can find in the Settings app.
Future Dates
Our nutrition integrations are designed to sync as you log, whether that be right now, editing the past, or planning for the future.
Health Connect is an improvement over using Google Fit for integrations, but because it’s new it doesn’t quite support every feature that Google Fit had yet. One notable example in relation to MacroFactor is that Health Connect can’t sync into the future.
We’ve added a feature to help workaround that missing feature while Google continues to expand the Health Connect platform. If you over-scroll on the food log, you’ll receive slight haptic feedback, which signals that we’ve forced a full re-sync of that day.
Common Troubleshooting
Health Connect isn't turning on
If Health Connect isn't turning on or you've received a system prompt saying: "This app can't access Health Connect", these tips may help!
If Health Connect is not currently installed:
From MacroFactor go to: More > Integrations
Tap to turn on Health Connect
This should lead you to install Health Connect, go ahead and install Health Connect, then open Health Connect, then complete the Health Connect onboarding
Tap to turn on Health Connect again
If Health Connect is currently installed:
Restart your device
From MacroFactor go to: More > Integrations
If MacroFactor reports Health Connect as turned on, turn it off
Tap to turn on Health Connect
My weight data isn't importing into MacroFactor
First, before troubleshooting, ensure you haven't already add a manual weight entry for the day(s) of weight you are testing, and if you have, delete them.
From MacroFactor go to: Dashboard > Scale Weight (scroll down on the dashboard to find this)
Review entries, delete if needed by tapping the entry, then tapping the trash can icon button
Second, check to see if the weight data made it into Health Connect.
Navigate to Health Connect either by searching for it in your phone's settings, or opening the Health Connect app directly (only valid on Android 13 or lower)
Tap "Data and access"
Tap "Body measurements"
Tap "Weight"
Tap "See all entries"
If the data isn't there, you will need to investigate the connection between the weight data source app and Health Connect. Here are some generic ideas to try:
Forcing a sync in the source app
Disconnecting the Google Fit integration in the source app
Uninstalling and reinstalling the source app
Disabling and reenabling Health Connect in the source app
Checking Health Connect to ensure the source app's data permissions include the ability to write weight data
If the data is there, try these steps:
Checking Health Connect to ensure MacroFactor's data permissions include the ability to read weight data
Forcing a sync in the MacroFactor app by over-scrolling on the Dashboard
My nutrition data isn't importing into another app
First, check to see if the nutrition data made it into Health Connect.
Navigate to Health Connect either by searching for it in your phone's settings, or opening the Health Connect app directly (only valid on Android 13 or lower)
Tap "Data and access"
Tap "Nutrition"
Tap "Nutrition"
Tap "See all entries"
If the data isn't there, try these steps:
Checking Health connect to ensure MacroFactor's data permissions include the ability to write nutrition data
Forcing a sync for a given day of nutrition data by over-scrolling on the food log for that day
If the data is there, you'll need to investigate the connection between nutrition data target app and Health Connect. Here are some generic ideas to try:
Forcing a sync in the target app
Uninstalling and reinstalling the target app
Disabling and reenabling Health Connect in the target app
Checking Health Connect to ensure the target app's data permissions include the ability to read nutrition data