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

fix(filesystem): support writing files without scheme #241

Merged
merged 2 commits into from
Feb 5, 2021

Conversation

jcesarmobile
Copy link
Member

The test app silently fails on copy and rename buttons because it tries to create a file without scheme and that's not supported.

This PR add support for writing files using file urls without a scheme (file:///whatever is equivalent to whatever but at the moment first one woks and second silently fail). All other file functions support file scheme and no scheme on file urls.

With the PR, you can write files without having the file scheme, and also fails if the user uses a scheme that is not supported (that was also silently failing)

related to ionic-team/capacitor-testapp#102

@imhoffd imhoffd merged commit 4285cb1 into main Feb 5, 2021
@imhoffd imhoffd deleted the fix-filesystem-noscheme branch February 5, 2021 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants