jcesarmobile opened a new pull request #781: breaking: Use WKURLSchemeHandler 
for serving app content
URL: https://github.com/apache/cordova-ios/pull/781
 
 
   breaking because serving from a custom scheme makes the apps lose existing 
data (localStorage, etc)
   
   Used app as default scheme, but I'm open to using cordova, cdv or any other.
   The scheme is configurable with "scheme" preference, the hostname is 
configurable with "hostname" preference.
   App will be loaded from "app://localhost"
   If the scheme is changed, it has to be allowed with an allow-navigation 
entry, app is allowed on the default template.
   
   Note that at the moment, loading file urls (in example, camera image in a 
src tag) won't work because of cross domain requests not allowed. What we did 
on ionic webview plugin was to create an utility function that converts file:// 
urls to app://localhost/ urls, but not sure how to do it here. Put it in 
cordova.js?

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