react-native-samsung-health-android
v0.3.0
Published
React native bridge to connect with samsung health sdk for android
Downloads
16
Maintainers
Readme
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