Clear DOM Storage needs to be adjusted for newer WebViews
In older WebViews, DOM Storage files were located in `app_webview/Local Storage`. Somewhere between WebView 58 and 62 they changed the way things work. Now there are some files stored in `app_webview/Local Storage/localdb`, but they are in a different format than before. This makes the current detection method of whether the is currently anything in DOM Storage unaccurate.
Currently, when clearing DOM Storage using the option menu, the `app_webview/Local Storage` is removed. This will cause DOM Storage to fail until `Clear and Exit` is run.
Figuring out how to remedy the situation will require waiting until there is an emulator (that provides a shell with root access) that has the version of WebView that demonstrates this new behavior.
Updated by Soren Stoutner about 1 year ago
- Status changed from New to Closed
This problem has been solved by delaying the manual deletion of `app_webview/Local Storage` for 200 milliseconds, which gives `webStorage.deleteAllData()` time to complete.