react-native-health
react-native-health copied to clipboard
A React Native package to interact with Apple HealthKit
## Description Added getWaterSamples to supplement existing getWater method. This is needed in order to get the value of consumed water in litres for a specific time period. Current implementation...
**Describe the bug** `Thread 2: EXC_BAD_ACCESS (code=2, address=0x70000a798ff8)` is returned when using `getWater`. **To Reproduce** ``` let selectionOptions = { date: new Date().toISOString(), // Now } AppleHealthKit.getWater( selectionOptions, (err, waterResults)...
Hi, Kindly add Logout / sign-out functionality in to this package. User can sign-out and use different account of health-kit.
Right now the package does not support requesting permission for SnowSports data. I would be really happy if you would add it :) link related: https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancedownhillsnowsports?language=objc
## Description Bumps the [@expo/config-plugins](https://www.npmjs.com/package/@expo/config-plugins) to the latest version. The version currently used depends on a version of [@xmldom/xmldom](https://www.npmjs.com/package/@xmldom/xmldom) (0.5.0) that is subject to a security advisory ([CVE-2021-32796](https://github.com/advisories/GHSA-5fg8-2547-mr8q)). As far...
**Describe the bug** getSamples always return empty value **This is my code** const getWorouts = () => { let options = { startDate: startDate.toISOString(), endDate: endDate.toISOString(), type: 'Running', // one...
**Describe the bug** **NativeAppEventEmitter.addListener('healthKit:Workout:new', cb) automatically triggers callback - Each time we open the app these listeners triggers which calls the http request all the time which is not ideal....
Here is the link to the React Native Discord. https://discord.gg/NxUGuvKB Let's schedule a community wide meeting to get to know each other as developers. Let's also learn about how we...
Here is the link to the React Native Discord. https://discord.gg/NxUGuvKB Let's schedule a community wide meeting to get to know each other as developers. Let's also learn about how we...
Thanks for creating this library. **Describe the bug** After migrating an app from rn-apple-healthkit to react-native-health there have been a large number of crashes reported in Crashlytics. The crash seems...