react-native-healthkit
react-native-healthkit copied to clipboard
HealthKit bindings for React Native with TypeScript
Add latest HKWorkoutActivityType values to enum. There doesn't seem to be an 81 (I checked twice). Got them from [here](https://developer.apple.com/documentation/healthkit/hkworkoutactivitytype).
Hi @robertherber ! Fist of all, thanks for this super cool library! I've seen since I updated the xcode version to the v15 that the background refresh has stopped working....
We have [an old branch with health record implemented](https://github.com/Kingstinct/react-native-healthkit/tree/including-clinical-records), [but it was removed because it can be a blocker for app submissions](https://github.com/Kingstinct/react-native-healthkit/issues/5) if not actually using it. I think it'd...
I have noticed a strange issue with the Apple Health permissions for when trying to use the Native.getWorkoutRoutes(currentRun.uuid) What happens is the user accepts permissions to access "HKWorkoutTypeIdentifier" and "HKWorkoutRouteTypeIdentifier"...
Hi @robertherber - tested this out and works for getting data out. Wanted to run it by you, looking more at it I'm realizing there's some type definition issues. I...
HI @robertherber - I'm building an app where I'd like to show step counts by day for the last 30 days (or year etc.) I think the right way to...
To comply with Apple recommendations and to prevent any race conditions that might arise from initialising it later, as is the case now. There are two parts to this: -...
I'm saving sleep records using this library (among other data), but in the XCode organizer it shows up many users are having crashes which I cannot explain. I was not...
Hello, thank you for the great work with this library. It's been really helpful having such a close mapping to the native APIs. I am trying to access a method...
https://github.com/Kingstinct/react-native-healthkit/blob/49c81d7fcf75e7e970c6841696c858a5d0e73ce5/src/native-types.ts#L328-L329 According to Apple, the correct names are [`HKMetadataKeySyncIdentifier`](https://developer.apple.com/documentation/healthkit/hkmetadatakeysyncidentifier) and [`HKMetadataKeySyncVersion`](https://developer.apple.com/documentation/healthkit/hkmetadatakeysyncversion). I actually tried both key names, but only the `HKMetadataKeyXXX` key correctly deduplicated the data. Thanks for this amazing...