You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/25 15:33:55 UTC

[GitHub] [cordova-plugin-camera] guillem-sopra edited a comment on issue #506: iOS13 file_uri error picking video from gallery

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:
users@infra.apache.org


With regards,
Apache Git Services

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