03-10-2021 16:25
03-10-2021 16:25
Hello, all
I made a simple application in which I can get timestamp and heartrate when I tapped the button and the data is sent to the smartphone using a message api.
I want to know how to save the data sent as message in my smartphone.
If it's not possible, is there any substitution to gather the data and to access the data later.
Any help would be appreciated.
Answered! Go to the Best Answer.
Best Answer03-10-2021 16:33
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-10-2021 16:33
This isn't easy to do. You need to use fetch() or websocket to send from companion to a server. You can make a server that runs on your phone.
03-10-2021 16:33
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-10-2021 16:33
This isn't easy to do. You need to use fetch() or websocket to send from companion to a server. You can make a server that runs on your phone.
03-10-2021 18:26
03-10-2021 18:26
Thank you for your reply.
Making server seems to be difficult for me...
The aim is to keep the tiny data so that I can refer to the data later.
Is there no substitution?
Best Answer03-10-2021 18:33
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-10-2021 18:33
Not really. You could use console.log to display the data if you're debugging, then copy and paste, but... yuck.
Best Answer03-10-2021 18:55
03-10-2021 18:55
Thank you. I'll learn about server.