fluttercommunity / fluttercommunity/flutter_webview_plugin
Webview loads infinitely when internet is not available.
- 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
Research direction
The issue does not name a file, test, or entry point. Start by locating the plugin's WebView loading and connection-error handling, then determine how a failed initial load and a later restored connection should be detected and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100