cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Commented] (CB-6033) Android 4.4 update loses LocalStorage data
Date Tue, 25 Mar 2014 19:12:16 GMT


Andrew Grieve commented on CB-6033:

The KK webview and the pre-KK webview use different formats (no idea how they are different)
to store data. Upon upgrade of a device, the KK webview just considers the files corrupt and
deletes them.

For Cordova to fix this, we'd need to extract the data from the file ourselves before the
webview deletes it, and then re-insert using the new webview.

Does this affect WebSQL as well? Or just localstorage?

> Android 4.4 update loses LocalStorage data
> ------------------------------------------
>                 Key: CB-6033
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Darryl Pogue
>            Assignee: Andrew Grieve
> This appears to be a result of the switch from old WebView to the new Chrome-powered
> If an app is installed in 4.3 and saves data to LocalStorage (and possibly to WebSQL)
and then the device is updated to 4.4, that data appears to be lost.
> Some threads regarding the problem:

This message was sent by Atlassian JIRA

View raw message