image - Cordova Write To WWW Directory (iOS) -


i trying write file directory within www directory of cordova app.

here situation:

  1. my program saves image temporary directory

  2. i want program move image temporary directory www directory, 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

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -