image - Cordova Write To WWW Directory (iOS) -
i trying write file directory within www directory of cordova app.
here situation:
my program saves image temporary directory
i want program move image temporary directory
wwwdirectory, file not deleted every time app initialized.
is possible?
thanks.
no that's not possible. www sandboxed , therefore, can't write inside of folder. if want save file need use documents path , rely on cordova file plugin (persistent keyword)
https://github.com/apache/cordova-plugin-file/blob/master/doc/index.md
you can check folder permissions here: https://github.com/apache/cordova-plugin-file/blob/master/doc/index.md#ios-file-system-layout
as can see, www read-only (not r/w)
Comments
Post a Comment