Google Fit to Health Connect

Migration notice for platform integration

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:

  1. From MacroFactor go to: More > Integrations

  2. Tap to turn on Health Connect

  3. This should lead you to install Health Connect, go ahead and install Health Connect, then open Health Connect, then complete the Health Connect onboarding

  4. Tap to turn on Health Connect again

If Health Connect is currently installed:

  1. Restart your device

  2. From MacroFactor go to: More > Integrations

  3. If MacroFactor reports Health Connect as turned on, turn it off

  4. 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.

  1. From MacroFactor go to: Dashboard > Scale Weight (scroll down on the dashboard to find this)

  2. 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.

  1. 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)

  2. Tap "Data and access"

  3. Tap "Body measurements"

  4. Tap "Weight"

  5. 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:

  1. Forcing a sync in the source app

  2. Disconnecting the Google Fit integration in the source app

  3. Uninstalling and reinstalling the source app

  4. Disabling and reenabling Health Connect in the source app

  5. 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:

  1. Checking Health Connect to ensure MacroFactor's data permissions include the ability to read weight data

  2. 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.

  1. 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)

  2. Tap "Data and access"

  3. Tap "Nutrition"

  4. Tap "Nutrition"

  5. Tap "See all entries"

If the data isn't there, try these steps:

  1. Checking Health connect to ensure MacroFactor's data permissions include the ability to write nutrition data

  2. 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:

  1. Forcing a sync in the target app

  2. Uninstalling and reinstalling the target app

  3. Disabling and reenabling Health Connect in the target app

  4. Checking Health Connect to ensure the target app's data permissions include the ability to read nutrition data


Did this answer your question?
😞
😐
😁