fluttercommunity / fluttercommunity/flutter_webview_plugin

Webview loads infinitely when internet is not available.

Open
#504 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

When the device loses connection to the internet, the web view continuously loads "forever". For example, if you start the web view when the device does not have an internet connection, the default spinner will show indefinitely. Moreover, the webview does not reload when an internet connection is re-established.

How are we supposed to handle connection errors? Is there an appropriate `StreamSubscription` that we can listen to? Is there some type of configurable timeout? Are we supposed to monitor the device's internet connection externally and reload the webview ourselves?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.