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.
10-15-2018 13:56
10-15-2018 13:56
Unfortunately not. It's only localStorage or settingsStorage on the phone side.
10-15-2018 13:56
10-15-2018 13:56
Unfortunately not. It's only localStorage or settingsStorage on the phone side.
04-01-2022 14:21
04-01-2022 14:21
Is it still not possible to write a file on companion side of app?
04-01-2022 14:26
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.