[ 
https://issues.apache.org/jira/browse/CB-11974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16544763#comment-16544763
 ] 

Shazron Abdullah commented on CB-11974:
---------------------------------------

Thanks for the warning, I thought we are having a discussion here. If I had all 
the answers it wouldn't be a discussion would it? "obvious reasons" might be 
immediately obvious to you, but there might be loopholes in any argument, 
especially as I concede, mine.

The interim version of course has to be installed first -- what I consider to 
be a reasonable period (deprecation period?) that users must update to. I know 
this is unworkable for most people.

I also mentioned this:
{noformat}
With the next major platform version of cordova-ios, the wkwebview plugin will 
be baked in, so "migration" will be easier. When the user who is still on 
UIWebView has migrated their data to the interim format, you can switch to 
WKWebView usage that will then ingest this data.
{noformat}

This could solve that scenario. If the user is still on UIWebView and they 
upgrade to this dual webview engine version, no problem -- the app still runs 
(not ideal). In the meantime, you copy their data as I mentioned (the interim 
solution), then on next run (or on the same run), you can switch to WKWebView 
and migrate the data. This is a proposed solution (dynamic webview switching, 
or at least switch on start), but it has not been implemented yet, I'm still 
working out the details.



> wkwebview LocalStorage Persistence For Existing Users
> -----------------------------------------------------
>
>                 Key: CB-11974
>                 URL: https://issues.apache.org/jira/browse/CB-11974
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-wkwebview-engine
>            Reporter: Charles Vanderhoff
>            Priority: Major
>              Labels: wkwebview-known-issues
>
> There are a number of apps out there that rely on localstorage to store 
> session / user data. We really need a way to transfer this data to the 
> wkwebview-engine so existing users are not left out in the cold.
> Crosswalk handles this process automatically by migrating that data to the 
> new browser when the plugin is installed and first run on an existing user's 
> device. It would be really, really awesome if this plugin handled this issue 
> the same way.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to