10-03-2017 01:10
10-03-2017 01:10
How should settings be saved on the watch? I realize that the companion app can send the user's settings over socket to the watch app, but where then does the watch app persist the settings? Should we be using writeFileSync() for this?
Answered! Go to the Best Answer.
10-03-2017 02:17
10-03-2017 02:17
Yes, you can create a simple JSON object containing your settings, then persist them using the File System API.
https://dev.fitbit.com/guides/file-system/#writing-a-json-file
10-03-2017 02:17
10-03-2017 02:17
Yes, you can create a simple JSON object containing your settings, then persist them using the File System API.
https://dev.fitbit.com/guides/file-system/#writing-a-json-file