-
Notifications
You must be signed in to change notification settings - Fork 760
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
@7.0.0 resolveLocalFileSystemURL a content uri get a FileError #525
Comments
I've implemented this change here: https://github.com/mWater/cordova-plugin-file.git#fix-issue-525 so feel free to use this until this gets fixed. I started to make a pull request, but the overhead to do so was too high (run tests, without clear instructions in README, etc). If someone else would like to, please go ahead. This is a pretty serious bug. |
@grassick I suggest to open a PR, I agree that this is a serious bug. I'm surprised there isn't a test to check that |
I've created a PR at #534 |
Yea, thanks! Saw that only after posting here... |
Believe it's a regression of #513 but not 100% sure. PR doesn't describe changes to PR looks good though. |
Any ETA when this gets merged / fixed ? |
When will this gets merged? |
@grassick I have been trying your fork and it works. However, a few users reported issues when using Solid Explorer to browse files on the device. |
* origin/mWater/fix-issue-525: Revert indent Indent using spaces Correct indent Fix apache#525
Bug Report
Problem
resolveLocalFileSystemURL a content uri get FileError
What is expected to happen?
It got a FileError (code 1, not found)
What does actually happen?
It should log the fileEntry in the console
Information
Environment, Platform, Device
Redmi K30 pro, Android 11
Version information
Cordova@11.0.0
Cordova-Android@10.1.2
cordova-plugin-file@7.0.0
Checklist
Reason
The code below inside function
toNativeUri
inorg\apache\cordova\file\ContentFilesystem.java
got
e_content__/com.android.providers.media.documents/document/image%3A189210
It should be
com.android.providers.media.documents/document/image%3A189210
The right code is:
The text was updated successfully, but these errors were encountered: