Feature Request: File Read/Write
acketon opened this issue · comments
Dakota Chichester commented
It would be nice to be able to read/write files. The HTML5 File API works but as far as I know requires user interaction/selection of files. Is there a way to disable that security requirement or implement an Objective-C to JS function?
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7512386-feature-request-file-read-write?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github).柳东原 · Dongyuan Liu commented
The problem is sandbox restricts random file access. Under sandbox environment, even normal Objective-C app can’t read/write arbitrary files. I’m able to provide such API for non-sandbox environment, but I don’t have good reasons to do that. I think an open dialog is a good protection to end users.