fluttercommunity / fluttercommunity/flutter_webview_plugin

Webview loads infinitely when internet is not available.

Offen
#504 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
1.5k
Forks
938
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.