Closed carson-drake closed 8 years ago
Since we're returning a promise, can we not have synchronous operations within the promise? Let's try just using appendFile
instead of appendFileSync
. Should be a quick fix and not tie up Cordova during I/O.
Agreed, I'll convert it to best practices. It was more of a proof of concept. Probably a little early for a PR.
Seems to work! Thanks
Proposed fix to #7 .