Currently I'm working on fitbit application and I need the clock face to ask the person to give a feedback once a day based on a signal from the server. How to make device listen for http request from the server.
Any help and hints are appreciated!
Answered! Go to the Best Answer.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Periodically send a message from your Device to its Companion using the messaging API
https://dev.fitbit.com/build/guides/communications/messaging/
Then fetch() your web endpoint and check for a feedback request. If you have one, send a message from the Companion to the Device, then action it on the Device.
Alternatively, wake your Companion at specified intervals and check for feedback.
I've moved your post to the SDK development board, you should hopefully receive a better response to your question here.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Periodically send a message from your Device to its Companion using the messaging API
https://dev.fitbit.com/build/guides/communications/messaging/
Then fetch() your web endpoint and check for a feedback request. If you have one, send a message from the Companion to the Device, then action it on the Device.
Alternatively, wake your Companion at specified intervals and check for feedback.