rricamar edited a comment on issue #533: fix(camera): resultForVideo uri in 
iOS13
URL: 
https://github.com/apache/cordova-plugin-camera/pull/533#issuecomment-598264905
 
 
   Hi @wingo7 , if you read the whole original issue, you'll see that in 
addition of the plugin source code solution, you'll need also to patch the 
fileUri after the plugin call:
   
   ```typescript
   fileUri = await this.camera.getPicture(options); // Using plugin fork with 
this PR solution!
   
   // XXX: fix path for file:// protocol in iOS 13
   const indexOfFilePrefix = parseInt(fileUri.indexOf('file://'), 10);
   
   if (indexOfFilePrefix === -1) {
       fileUri = `file://${fileUri}`;
   }
   ```
   
   I hope this help you 👍 

----------------------------------------------------------------
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