You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "breautek (via GitHub)" <gi...@apache.org> on 2024/10/26 00:01:14 UTC

Re: [I] camera.getPicture() with FILE_URI destination returns invalid/unexpected image URI [cordova-plugin-camera]

breautek commented on issue #783:
URL: https://github.com/apache/cordova-plugin-camera/issues/783#issuecomment-2439059182

   With #902 which will streamline the returned data. It should make it's way to the next major 8.x release.
   
   Most common uris will be `file://` or `content://`, it will depend on the underlying source of the image/video.
   
   If using `FILE_URI`, the returned path will be resolvable by using the file plugin. The `FileEntry` object can produce a DOM-usable URL via `.toURL()`. This will require an unreleased file plugin (so stay tuned for that too).
   
   If `DATA_URL` is used, then a `data:` path will be returned but that's still on the TODO as of writing this comment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org