934 B
934 B
10. Crash app when open web_view on android device
Date: 2022-07-20
Status
Open
Context
-
When using a
WebViewinside of aScrollview, some content renders a completely distorted page and some content even crashes the app. This problem only affects Android the same app, on iOS the same code results in a correctly rendered web page. Rendering the same content also works fine on Android, when not embedding theWebViewinside of a scrollview. -
Flutter version has problem: >=
3.0.0 -
Library
webview_flutterversion used:3.0.0
Decision
- Temporary solution: Set maximum height of
WebViewonAndroiddevice equal to device physical size height
Consequences
- Email content is displayed well on
Androiddevices. No more distortion and crashes - The content scroll bar appears inside the email detail display.