Apple HealthKit/Google Fit Data
complete
Frank Chau
Hi,
I was wondering if we could possibly get more data from these services. I know that the Pedometer exists, however, I'd like to be able to get Height/Weight/Sex/DOB/Sleep info if possible
Here's some examples: https://github.com/terrillo/rn-apple-healthkit/wiki
Thanks for all your hard work!
Evan Bacon
complete
Today, we are pleased to announce that with the arrival of Expo SDK 42, you can now create custom development clients in the cloud using EAS Build, or locally with the new Expo run commands.
The package has a config plugin built-in, so setup is pretty easy!
You can try it out today:
- Create a new project: expo init
- Install the packages: expo add react-native-health expo-dev-client(can also use npm or yarn)
- Add react-native-healthto theexpo.pluginsarray in yourapp.json.
Build the native app:
- In the cloud with eas build -p all --profile development(expo build does not support custom builds)
- Or locally with expo run:iosandexpo run:android
react-native-health
does not support Android (or web) so that's something to consider when choosing that package.These custom clients can be shared across teams, and even reused across projects (just like Expo Go).
To be clear,
react-native-health
has not been added to the Expo Go app that you download from the App Store or Google Play Store. We still consider this feature to be completed because users can now:
- Create a custom client app without needing to write any native code.
- Build the iOS project without having access to an Apple computer.
We hope you enjoy, and we have big plans to continue improving this workflow going forward!
Logan
A big updates and I really hope Android support comes soon.
Wodin
Logan: I'd give one of these a try:
Evan Bacon
complete
Today, we are pleased to announce that with the arrival of Expo SDK 42, you can now create custom development clients in the cloud using EAS Build, or locally with the new Expo run commands.
The package has a config plugin built-in, so setup is pretty easy!
You can try it out today:
- Create a new project: expo init
- Install the packages: expo add react-native-health expo-dev-client(can also use npm or yarn)
- Add react-native-healthto theexpo.pluginsarray in yourapp.json.
Build the native app:
- In the cloud with eas build -p all --profile development(expo build does not support custom builds)
- Or locally with expo run:iosandexpo run:android
react-native-health
does not support Android (or web) so that's something to consider when choosing that package.These custom clients can be shared across teams, and even reused across projects (just like Expo Go).
To be clear,
react-native-health
has not been added to the Expo Go app that you download from the App Store or Google Play Store. We still consider this feature to be completed because users can now:
- Create a custom client app without needing to write any native code.
- Build the iOS project without having access to an Apple computer.
We hope you enjoy, and we have big plans to continue improving this workflow going forward!
Billtlee
Evan Bacon: Hi Evan, If I am developing in a team setting, I would just need to sign up for 1 expo priority plan to build and publish correct? Other developers can just use expo run to develop and run locally, right? Thx!
Evan Bacon
in progress
Evan Bacon
Merged in a post:
Health Records API
Aria Vaghef
Apple just introduced Health Records API for developers. It would be great if expo team adds a feature to able developers to read those data from Health Kit. Writing its bridge module seems complicated. Thanks.
Evan Bacon
Merged in a post:
Read/Write blood pressure from/to apple healthkit
Aaron Yu
This enables us to build apps for managing blood pressure. There are many ways we can show blood pressure. Also, pulse pressure is important, but the apple health doesn't show it directly.
Evan Bacon
Merged in a post:
Access to Sleep/Weight HealthKit data
Igor Dvorkin
I’d like to write an app that helps user track their health. To do this they need to see thier sleep, weight, and ideally the other HealthKit categories.
Evan Bacon
Merged in a post:
Health Kit - https://github.com/terrillo/rn-apple-healthkit Support
Christian John
Please add support for https://github.com/terrillo/rn-apple-healthkit or something similar to it, this would allow health based apps to be created much easier
Trevor Hartman
+1, an updates on this?
Don S.
I agreed with below comments. The Pedometer only covered step counts. We need data from
HealthKit
and Google Fit
. Please implement HKQuantitySample
and HKCategorySample
(or equivalent to Android) for height, weight, heart rate, sleep data (sleep data is recorded using category samples (the user can be in bed, asleep, or awake), dietary energy, etc. Here's an example for Apple.
Thank you.
Exactly same issue as
Brent Vatne
Merged in a post:
iHealth and Google Fit native module
Xavier Carpentier
Regarding this feature considering as complete: https://expo.canny.io/feature-requests/p/apple-healthkit-and-google-fit-integration
Load More
→