You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the cordova and react-native plugins, there's an API for it.
On iOS, the current working directory might be the App sandbox by default or this might be accessible through homedir ( https://nodejs.org/dist/latest-v12.x/docs/api/os.html#os_os_homedir ).
The iOS app sandbox will have a Documents directory you can write too, if I recall corrrectly.
Hi guys,
And I'm trying to use ios/native-xcode-node-folder sample project.
But I can't to save data to the file inside main.js
var fs = require('fs');
fs.writeFileSync('test.txt', 'Hello World!');
EROFS: read-only file system, open 'test.txt'
Does anybody know how it can be writable?
Thanks a lot
The text was updated successfully, but these errors were encountered: