Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Saving settings on the watch

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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

 

View best answer in original post

Best Answer
1 REPLY 1

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

 

Best Answer