Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: File Read/Write #30

Open
acketon opened this issue Jan 5, 2015 · 1 comment
Open

Feature Request: File Read/Write #30

acketon opened this issue Jan 5, 2015 · 1 comment
Labels

Comments

@acketon
Copy link

acketon commented Jan 5, 2015

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).
@orzFly orzFly added the feature label Jan 5, 2015
@xhacker
Copy link
Member

xhacker commented Jan 6, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants