Skip to content

Improve error handling for importer when WebView is out of date #19914

@david-allison

Description

@david-allison

See:

AnkiDroid Version = 2.23.1 (3f3133b496b531383e9a6494f5a7704634935308)  
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)  
Android Version = 10 (SDK 29)  
ProductFlavor = full  
Device Info = HUAWEI | HUAWEI | HWTAS | TAS-AL00 | TAS-AL00 | kirin990  
Webview User Agent = Mozilla/5.0 (Linux; Android 10; TAS-AL00 Build/HUAWEITAS-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 Mobile Safari/537.36  
ACRA UUID = aed8344c-9c29-4b4b-8b94-de0c7b1a9f2b  
FSRS = 5.1.0 (Enabled: false)  
Crash Reports Enabled = true

My Huawei device (EMUI) blocks Google’s official WebView installation—only Huawei-signed WebView is allowed. I installed an updated Huawei-signed WebView build, which resolved the AnkiDroid import blank screen issue.

We have two options:

  • Improve outdated WebView detection (may be hard - do we have a Huawei to test?)
  • Improve error handling on the WebPage; suggest updating the WebView if feasible

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions