Skip to content
This repository was archived by the owner on Nov 12, 2020. It is now read-only.
This repository was archived by the owner on Nov 12, 2020. It is now read-only.

Track WebViewCompatibility reflection failure and fallback to legacy gracefully #328

@aforcier

Description

@aforcier

Users with non-stock API<19 devices may experience a reflection failure here. This is possible if their OEM has tampered with WebView internals. We're not aware of any such devices at the moment, but anything is possible in the Android landscape.

If this happens, we should load the legacy editor, and make sure we're tracking the error so we can possibly add a fix for those devices. We could disable the visual editor entirely, but I'm concerned with how we would notify the user that they can use the visual editor again when we fix the issue for their device.

Relevant TODO: EditorWebViewCompatibility.java#L107

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions