react-native-samsung-health-android
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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

Package Sidebar

Install

npm i react-native-samsung-health-android

Weekly Downloads

54

Version

0.3.0

License

MIT

Unpacked Size

653 kB

Total Files

31

Last publish

Collaborators

  • sergiofreitas