10-14-2018 02:16 - edited 10-16-2018 01:33
10-14-2018 02:16 - edited 10-16-2018 01:33
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 Answer10-15-2018 13:56
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.
10-15-2018 13:56
Unfortunately not. It's only localStorage or settingsStorage on the phone side.
Best Answer10-15-2018 13:56
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.
10-15-2018 13:56
Unfortunately not. It's only localStorage or settingsStorage on the phone side.
Best Answer04-01-2022 14:21
04-01-2022 14:21
Is it still not possible to write a file on companion side of app?
Best Answer04-01-2022 14:26
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
04-01-2022 14:26
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.