I'm trying to write data to a file on the Samsung Galaxy watch. I've followed the example listed here
https://developer.samsung.com/tv/develop/api-references/tizen-web-device-api-references/filesystem-api
I've added the required read and write privileges in the config.xml.
The execution never reaches the console.error... line. Am I missing anything?
Thank you!
tizen.filesystem.resolve('documents', function(dir) { console.error("File system resolved"); documentsDir = dir; }, function(e) { console.log("Error" + e.message); }, "rw");