You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/16 11:44:46 UTC

[GitHub] [cordova-plugin-camera] jcesarmobile commented on issue #622: Can't access to file photolibrary with cordova ios 6.1.0 and wkwebview

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


   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 https://github.com/apache/cordova-ios/issues/947


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



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