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 Answer
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.
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
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.
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