You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "dreamslabmg (via GitHub)" <gi...@apache.org> on 2023/07/10 21:54:30 UTC
[GitHub] [cordova-plugin-camera] dreamslabmg commented on issue #783: camera.getPicture() with FILE_URI destination returns invalid/unexpected image URI
dreamslabmg commented on issue #783:
URL: https://github.com/apache/cordova-plugin-camera/issues/783#issuecomment-1629783248
so I have to call window.resolveLocalFileSystemURL(imageUri, (fileEntry) => {
const fileEntryURL = fileEntry.toURL();
appState.imageUri = fileEntryURL;
document.getElementById("get-picture-result").src = fileEntryURL;
},
(err) => {
console.error(err);
}); every time I have to display a file uri?
--
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