This is a simple app that exports both regular heart rate readings as well as resting heart rate readings from Apple Health into Open Humans. The app is done in react-native and
People actually knowing what they do probably don't need this, but @gedankenstuecke never used this before, so he came up with this:
There is two files you will want to move into a proper place:
mv ios/fluapp.xcodeproj/project.pbxproj.EXAMPLE ios/fluapp.xcodeproj/project.pbxproj
mv src/common/config.js.EXAMPLE src/common/config.js
Especially the last file will need to be edited to make this app work, fill in the CLIENT_ID
& CLIENT_SECRET
with your Open Humans credentials you got for your project.
Follow the instructions on the react-natitive website.
From there on you can clone this repo and then try to do the following (there might be redundant steps, but @gedankenstuecke used this workflow to make it work)
cd qf-heartrate-apple-health
npm install
npm ci
cd ios/
pod install
cd ..
npm start -- --reset-cache
npx react-native run-ios
This should ultimately boot up the iOS simulator with the app running.
The bulk of the work for this app has been done by Lukasz Baldy, who was kind enough to volunteer an extraordinary amount of time as part of his on-going efforts with the Open COVID-19 initiative.
Minor contributions were done by Bastian Greshake Tzovaras.
Check out our issues if there's open things. Also always get in touch via the #quantifiedflu channel in the Open Humans slack at https://slackin.openhumans.org