Qualphey edited a comment on issue #303:
URL: https://github.com/apache/cordova/issues/303#issuecomment-925350129


   > I don't think this is feasible. The native APIs expects an actual file URL 
of some sort, you can't just simply pass through HTML data for it to load.
   
   Are you sure about that? What exact native APIs are you talking about?
   I've found these methods for 
[UIWebView](https://developer.apple.com/documentation/uikit/uiwebview/1617979-loadhtmlstring),
 
[WKWebView](https://developer.apple.com/documentation/webkit/wkwebview/1415004-loadhtmlstring)
 and [Android 
WebView](https://developer.android.com/reference/android/webkit/WebView#loadDataWithBaseURL(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)).
 With them you can load an HTML string into WebView and also set the base url 
for relative paths.


-- 
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: commits-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to