Terra Docs
Dashboard
  • Docs
  • API Reference
  • Changelog
  • Getting Started
    • What is Terra API?
    • Account setup and API keys
    • Core concepts
  • Health & Fitness API
    • Overview
    • Quickstart
    • Integration setup
      • Understanding sources and destinations
      • Setting up data sources
      • Setting up data destinations
        • Webhooks
        • SQL database (Postgres, MySQL)
        • Supabase
        • Cloud storage (S3, GCP)
        • Queuing services (SQS, Kafka)
      • Customising data types
      • Dedicated data source API keys
      • Understanding Terra environments
    • User authentication
      • Authentication flow
      • Implementation (Terra widget)
      • Implementation (Custom UI)
      • Handling authentication events
      • Customising authentication redirects
    • Managing user health data
      • Receiving health data updates (events)
      • Requesting historical health data (REST API requests)
      • Writing data
    • Mobile-only sources
      • iOS (Swift)
      • Android (Kotlin)
      • React Native
      • Flutter
    • Troubleshooting
    • Pricing
  • User Engagement
    • Health Scores
  • Streaming API
    • Overview
    • Wearable -> Your app
      • iOS (Swift)
      • Android
    • Your app -> Terra
      • iOS (Swift)
      • Android
    • Terra -> Your backend
  • Teams API
  • Biomarkers API - Upcoming
Powered by GitBook
On this page

Was this helpful?

  1. Health & Fitness API

Mobile-only sources

Learn how to connect mobile-based integrations: Apple Health, Samsung Health, Google Fit

PreviousWriting dataNextiOS (Swift)

Last updated 1 month ago

Was this helpful?

Overview

The primary use of the mobile SDKs is to allow you to access data from providers that do not have a Web API.

Implementation details will vary based on your development framework/platform.

Please refer to your framework's respective guide below:

Cover

iOS (Swift)

Cover

Android (Kotlin)

Cover

React Native

Cover

Flutter

Data flow diagram for data from Apple Health/Samsung Health/Google Fit.

Data Sources requiring the Terra Mobile-SDK

The Mobile SDK is ONLY used to connect to the following integrations:

  1. Apple Health - iOS

  2. Samsung Health - Android

  3. Google Fit & Health Connect- Android.

Note: the is the preferred way to connect to Google Fit until its sunsetting on June 30, 2025 due to better reliability.

For ALL other integrations, please refer to Integration Setup the .

Health & Fitness API
Health & Fitness API