Skip to content

cjae/rn-samsung-health-data-api

rn-samsung-health-data-api

A React Native library for accessing Samsung Health data on Android. Supports step count, sleep, and heart rate data retrieval using Samsung Health SDK.

⚠️ Android Only: This package only supports Android. All methods are no-ops on iOS and will not crash your app, but will not return any data either.


Installation

npm install rn-samsung-health-data-api

Usage

import {
  initializeHealthStore,
  checkHealthPermissionsGranted,
  requestHealthPermissions,
  readStepData,
} from 'rn-samsung-health-data-api';

// ...

const initData = await initializeHealthStore();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

A react native wrapper for Samsung Health Data API native SDK.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors