-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update CordovaResourceApi.java #468
Conversation
Add FileUtils class to support URI to getting real file path for different APIs.
Codecov Report
@@ Coverage Diff @@
## master #468 +/- ##
=======================================
Coverage 60.56% 60.56%
=======================================
Files 17 17
Lines 1694 1694
Branches 312 312
=======================================
Hits 1026 1026
Misses 668 668 Continue to review full report at Codecov.
|
Hey @bikcrum, thanks for this PR. What is the motivation for and use of this change? |
@janpio I got some permission error while uploading media from Android API > 23. So I made changes to support for various Android APIs and it worked well. |
Looks pretty similar to current cordova-plugin-camera's FileHelper code |
Can we move some of this functionality into a plugin? |
I think this needs investigation, adding the discussion label for now. |
Get real path of a content uri is not possible on Android Q+, |
I am closing out this ticket. I believe that,
Additionally, there hasn't been any movement or discussion with the original author since 2018. |
Add FileUtils class to support URI to getting real file path for different APIs.
Platforms affected
What does this PR do?
What testing has been done on this change?
Checklist