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