Cordova File URI
See original GitHub issueCan we pass either DATA_URL
or FILE_URI
from Cordova’s navigator.camera.getPicture
to the first parameter of uploader.send
?
Right now it seems that we need to pass the file
object from an input
with type="file"
Issue Analytics
- State:
- Created 9 years ago
- Comments:41 (10 by maintainers)
Top Results From Across the Web
Cordova: Getting a file Uri from a content Uri - Stack Overflow
I found the problem. I'm using Ionic and Ionic View for test in device. When I tried the cordova-plugin-filepath it didn't work.
Read more >cordova-plugin-file
cordova -plugin-file. This plugin implements a File API allowing read/write access to files residing on the device. This plugin is based on several...
Read more >Dealing with Android content URIs in a Cordova based project
The cordova-filechooser plugin uses the ACTION_GET_CONTENT intent to select files from your app. The URI that this plugin returns when you ...
Read more >FILE URI Not showing in <img> tag - Android #340 - GitHub
When selecting an image from the users library, the file URI returns /storage/emulated/0/Pictures/IMG_20180911_114705.jpg.
Read more >cordova-plugin-filepath-generic - npm
Resolve native file paths from content URLs for Cordova platforms. ... of uri received. then it returns the filepath of the temporary file....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
None of the example work for me. The code below works for me on METEOR@1.3-cordova-beta.2 hope will help someone i don’t try on iOS simulator just on actual device.
For future reference this is what i did , i had to recreate the file object from media-capture plugin with resolveLocalFileSystem