10-14-2018 02:16 - edited 10-16-2018 01:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-14-2018 02:16 - edited 10-16-2018 01:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

Accepted Solutions
10-15-2018 13:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-15-2018 13:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Unfortunately not. It's only localStorage or settingsStorage on the phone side.

10-15-2018 13:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-15-2018 13:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Unfortunately not. It's only localStorage or settingsStorage on the phone side.

04-01-2022 14:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-01-2022 14:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is it still not possible to write a file on companion side of app?

04-01-2022 14:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


04-01-2022 14:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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.
Gondwana Software
