Migrating Users from Samsung Health SDK to Health Connect

Native Android ==> Health Connect module

How is Health Connect supported in Inform?

The Android Health Connect integration is available in a new Inform SDK (v2.x.x). Clients who want to use the Health Connect integration will need to use the SDK version 2.0.0 or higher.

If you are currently on a v1.x.x SDK version, please see our guide to migrating from v1.x.x SDK to Inform SDK (v2.x.x).


How to Move from Samsung Health to Health Connect

1. Prepare

  • Notify Users: Tell your users about the change and its benefits.
  • Update Guides: Make sure your instructions are up to date with Health Connect.

2. Set Up Health Connect

  • Download Health Connect: Have users download it from Google Play if they are on Android 13 or lower. Android 14+ users can enable Health Connect and view their Health Connect settings via the phone Settings.
  • Enable Permissions: Users should allow necessary permissions for your app in Health Connect. Users must share Samsung Health data with Health Connect and then grant you permission to view their Health Connect data.

3. Move Samsung Health Data

  • Sync Data: Help users sync existing Samsung Health data with Health Connect. When they connect Samsung Health with Health Connect, their Samsung Health data will automatically start syncing to Health Connect and will appear in the Health Connect dashboard.
    • Steps To Enable the Samsung Health -> Health Connect Sync:
      1. Open Samsung Health.
      2. Go to My Page → The three dots in the top right → Health Connect.
      3. Turn on sync Samsung Health with Health Connect.

4. Finalize User Transition

  • Start Health Connect Syncs: Users must enable Health Connect data syncs from your app’s settings. They will be prompted with a system dialog to confirm access to the permissions that you request. They must allow your app permission to read their Health Connect data.
  • Stop Samsung Health Syncs: If you are already integrated directly to the Samsung Health SDK then after data is moved, instruct users to stop syncing directly from Samsung Health. You can ask them to disable the Samsung Health integration in your app. Or you can disconnect from Samsung Health on their behalf to stop syncs from Samsung Health and prevent duplicates from being reported by both Health Connect and Samsung Health.

Key Points to Remember

  • Getting Started: Make sure to update your app to the Inform SDK in order to take advantage of the Health Connect integration. You may run the Samsung Health integration in your mobile project at the same time as the Health Connect integration in order to facilitate your users' transition to Health Connect. To do this, install the following modules in your project:
    • v1.17.2 or later validicmobile-shealth-release
    • v2.0.0 or later validicmobile-shared
    • v2.0.0 or later aggregator-health-connect
  • Transition: You can use both Samsung Health and Health Connect modules of the Validic Mobile SDK, if you choose to, in order to ease the transition for your users, but watch for duplicate data.
    • When using the Validic Mobile SDKs, you may install the v1.x.x Samsung Health module in your app alongside the v2.x.x Health Connect module to facilitate your users' transition.
    • Just keep in mind that you must use the v2.x.x Session (shared) module and not the v1.x.x Session (shared) module in order for Health Connect to work. The v2.x.x Session (shared) module supports both Health Connect and Samsung Health.
  • User Experience: Create easy interfaces and clear instructions for users to navigate out to Samsung Health and Health Connect and enable data syncs.

Conclusion

Switching to Health Connect is important for better data security and management.

By following these steps and guidelines, you can make the transition smooth for yourself and your users, keeping up with changes in digital health.

For more help, contact our support team or check other detailed guides on Health Connect and the new Inform SDK.