Is there a possibility in companion app to write files ?
I need to create intermediate buffer before sending data to API. Of course, I can use localStorage, but I need "append" behavior. Do not want to use memory while getting and setting values in localStorage.
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.
Unfortunately not. It's only localStorage or settingsStorage on the phone side.
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.
No. In addition to what Jon said, you can use fetch() or WebSocket to send data to a server, which could be an app running on the same device as the companion and which saves the data to a file.