jcesarmobile commented on issue #781: breaking: Use WKURLSchemeHandler for serving app content URL: https://github.com/apache/cordova-ios/pull/781#issuecomment-587338041 > > breaking because serving from a custom scheme makes the apps lose existing data (localStorage, etc) > > Is there an option to continue using `file:///` URLs for apps that can't risk the data loss? Speaking personally, losing existing data would be unacceptable for at least 2 of my apps. I've already had to deal with data migration once from UIWebView to WKWebView. It could be done, but I did it this way because [in your proposal](https://github.com/apache/cordova-discuss/pull/110) you said “Update to use Scheme Handlers with WKWebView.”, not “add an option to use Scheme Handlers” or something like that. Also we have dropped iOS 10 support because of that. And data can still be migrated, it’s just not handled by cordova itself, it has to be the developer who does the migration. So maybe we should discuss in your proposal or in the dev list if we should keep serving from file as an option.
---------------------------------------------------------------- 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]
