fluttercommunity / fluttercommunity/flutter_webview_plugin

Webview loads infinitely when internet is not available.

未关闭
#504 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.5k
派生
938
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 未指定文件、测试或入口点。首先定位 plugin 的 WebView 加载和连接错误处理,然后确定应如何检测并验证初始加载失败以及之后恢复的连接。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
mobile-dev
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。