rn-samsung-health-data-api
v0.2.4
Published
Integration with Samsung health data api
Readme
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-apiUsage
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
