0.3.0 • Published 10 months ago

react-native-samsung-health-android v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 months ago

react-native-samsung-health-android

React native bridge to connect with samsung health sdk for android

Installation

npm install react-native-samsung-health-android

You must add the permissions in Add android/app/src/main/AndroidManifest.xml:

<application>

<meta-data
  android:name="com.samsung.android.health.permission.read"
  android:value="com.samsung.health.step_count;com.samsung.shealth.step_daily_trend;com.samsung.health.weight" />
</application>

Usage

import SamsungHealthAndroid from "react-native-samsung-health-android";

// ...

const instance = await SamsungHealthAndroid.initialize();

Contributing

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

License

MIT