androidcordovalocal-storagehybrid-mobile-appweb-sql

Cordova - Android - Why is the WebSQL and Local Storage data being deleted by the Android OS?


I have an app called Fudget (which is a Cordova app for Android & iOS) which uses WebSQL to store the user's app data locally. This has worked ok for years (I occasionally had an Android user whose data would be wiped by the Android OS - but not often).

But in the last couple of days, 100's of Android users are having their WebSQL (and Local Storage) data removed by the Android OS - so I'm getting a lot of angry emails from people who've lost all their data and settings.

Can anybody tell me why this is suddenly happening? What has changed recently in the Android OS to cause this? And is there any way I can stop this from happening?


Solution

  • The newest Chromium WebView update causes this due to the following bug:

    Here is a related news post: