06-29-2018 14:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-29-2018 14:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
My app stores settings data which is synced via companion to the settings.txt file on the watch. When I submit an update to the app, I have people tell me that it wipes their data and have to reset it.
Looking for some clarity as to what happens during the update. Is the app wiped from the watch and reloaded or are only the files included in the .fba file uploaded?
If it is the latter, then I will not include the settings.txt file in updates so that it will keep the current file.

06-29-2018 15:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-29-2018 15:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The app does get reinstalled, so if your fba file includes a settings.txt, then that file will be overwritten.

06-29-2018 16:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-29-2018 16:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Will it stay resident if I leave it out of the fba or will it wipe it and then update without the file?

06-30-2018 07:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-30-2018 07:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Did some further testing and found that the data will stay if the update does not include the settings.txt file.
The unintended consequence to this however, is new installs will not get the file and have no place to write the data to....

07-02-2018 13:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-02-2018 13:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is there currently any supported method that could either backup/restore this file/data when updated?

07-02-2018 14:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-02-2018 14:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
You could include your settings.txt in your package but with a different name - e.g. baseline.txt. When you app is run, check if settings.txt exists. If not, just rename baseline.txt to settings.txt - problem solved.

