guillem-sopra edited a comment on issue #506: iOS13 file_uri error picking 
video from gallery
URL: 
https://github.com/apache/cordova-plugin-camera/issues/506#issuecomment-558208269
 
 
   @markerio 's solution works. If you want to use the Promise you could do as 
follows:
   
   `fileUri = await navigator.camera.getPicture(options).then((fileURI) => {
         return fileURI.indexOf('file://') === -1 ? `file://${fileURI}` : 
fileURI;
       });`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to