09-03-2019 02:42
09-03-2019 02:42
I want to collect HR and accelerometer data in the apps that I have developed for Fitbit Ionic. I'm a bit confused...should I write the code for data collection in the app/index.js or companion.js? I don't want to display HR and accelerometer data in the smartwatch app, just in the Fitbit mobile app.
Thanks
09-03-2019 02:46
09-03-2019 02:46
Probably a bit of both. Setting aside the Web API (which can give you synced heart rate but not accelerometer), you'll have to capture the heart rate and accelerometer data on the watch.
That's the easy part. Getting if off the watch to somewhere useful is another story.