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.
Best Answer10-03-2017 02:17
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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