Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-05-04 Thread Norman Breau
some guidelines about data migration. Kind regards Pieter Van Poyer -Oorspronkelijk bericht- Van: Niklas Apache Verzonden: woensdag 28 april 2021 12:14 Aan: dev@cordova.apache.org Onderwerp: Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10 I wo

Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-05-04 Thread Niklas Merz
ards > > Pieter Van Poyer > > > > > > -Oorspronkelijk bericht- > > Van: Niklas Apache > > Verzonden: woensdag 28 april 2021 12:14 > > Aan: dev@cordova.apache.org > > Onderwerp: Re: [DISCUSS] Moving forward with the WebView on AndroidX > &

Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-05-03 Thread Niklas Merz
Niklas Apache > Verzonden: woensdag 28 april 2021 12:14 > Aan: dev@cordova.apache.org > Onderwerp: Re: [DISCUSS] Moving forward with the WebView on AndroidX > and cordova-android 10 > > I would agree with Bryan and Julio that we should use the opportunity > of this breakin

RE: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-04-29 Thread Pieter Van Poyer
Kind regards Pieter Van Poyer -Oorspronkelijk bericht- Van: Niklas Apache Verzonden: woensdag 28 april 2021 12:14 Aan: dev@cordova.apache.org Onderwerp: Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10 I would agree with Bryan and Julio that we should us

Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-04-28 Thread Niklas Apache
I would agree with Bryan and Julio that we should use the opportunity of this breaking release to move the defaults to current Android best practices and remove deprecated settings. I just started a PR [1] that introduces a preference to allow the use file URLs with this release. This means the de

Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-04-27 Thread julio cesar sanchez
My understanding is that file urls can technically continue working, but the defaults changed and some settings need to be enabled, and some of them are now deprecated and will stop working at some point in the future. I think defaulting to the old behavior is ok when doing minor releases (not jus

Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-04-27 Thread Darryl Pogue
To counter a bit, all of my apps are using the standard Cordova Android WebView, and store all their data in the browser's indexedDB. I've had no issues with file URLs (although I expect that will change with API 30 enforcement). Losing data in an app update is unacceptable, and for many apps it w

Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-04-27 Thread Bryan Ellis
I also agree. I think we should move forward with these changes and use the WebViewAssetLoader by default. If must, we could write a blog post explaining how to use Norman's plugin for data migration. But I do not know if the plugin is complete to cover all data sources and fits this case. I

Re: [DISCUSS] Moving forward with the WebView on AndroidX and cordova-android 10

2021-04-27 Thread julio cesar sanchez
I would vote for defaulting to WebViewAssetLoader but still allow using file:// from a config.xml preference for the people that are not ready to move on. But on cordova-ios 6 I think we ended up defaulting to file:// and use the schemes only as opt-in. About migrating data, I don't think that's o