thirdwheel commented on issue #622:
URL: 
https://github.com/apache/cordova-plugin-camera/issues/622#issuecomment-1457110879

   > If using a custom scheme, the WebView won't allow to load file urls in 
img/video tags (nor fetch them, nor anything). cordova-ios added a helper 
method to convert file urls to urls that have the scheme and the WebView can 
understand.
   > 
   > `window.WkWebView.convertFilePath('your/file/path');`
   > 
   > I've created an issue in cordova-ios to document it [LINK REDACTED]
   
   This didn't work for me, but what did work was changing the destination type 
to DATA_URL - note that it won't actually give you a data URL, it'll give you 
the base64 encoded contents, but I can't imagine it giving you something other 
than the encoding type you defined.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to