04-01-2021 05:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-01-2021 05:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
T.L.D.R : Creating an app, and try to store a int value without using a server (just to keep stuff inside the watch or the companion).
I'm working on an app. And I'm little bit confused about the way to store a data.
I search but I saw multiple way, the first one, I try to store the value with a JSON file, and seems to be not working ; everytime I open the app again the data is read with the value set at 0.
The second way to do it, it's to keep the data on local storage, but I'm not sure if it's a good idea to do that.
The second part of my problem the data is going to be reset at 0 when the day change, (I have my idea on how to do that).
So it's even possible to store a value inside an app ?
Answered! Go to the Best Answer.

Accepted Solutions
04-01-2021 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


04-01-2021 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
04-01-2021 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


04-01-2021 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
On the watch, use the fs API.
Gondwana Software
