cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: Maintaining App Data When Switching WebViews
Date Thu, 12 Feb 2015 20:53:33 GMT
I suppose the same issues would exist for UIWebView vs WKWebView.

On Thu, Feb 12, 2015 at 3:46 PM, Andrew Grieve <agrieve@chromium.org> wrote:

> Worth a discussion about this, I think.
>
> If you have an app already launched that uses localstorage/websql, and
> want to switch to xwalk, how can you migrate your data?
>
> What if you want to use system webview for API >= 21 and xwalk only for
> old phones? Then you need to move data in the reverse direction.
>
>
> Idea 1:
> - See if sqlite / localstorage databases are the same format, and provide
> code that migrates db locations
>
> Idea 2:
> - Use wizcorp's multi-window plugin to create a new an off-screen system
> webview, then use post-message to read data out of the old one.
>
> WDYT? Is this a problem we need to solve?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message