fluttercommunity / fluttercommunity/flutter_webview_plugin

onUrlChanged triggers only when page is fully loaded after redirect

Open
#337 5 comments 9 reactions 0 assignees View on GitHub
bug needs investigation
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

I'm using flutter_webview_plugin to let the user browse the internet searching for an item, and add it to my application (like Pinterest).

I found flutter_webview_plugin has the best browsing experience but the only issue is onUrlChanged not detecting the URL changes instantly, the user has to wait for the page to be fully loaded to get the URL.

And in some cases, the onUrlChanged never fired.

I found another old issue #218 but not sure if it's related. Even tho it's not resolved yet!

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is identified in the issue. Start by reproducing a redirect with the flutter_webview_plugin WebView and trace when onUrlChanged emits its URL; done means URL changes are reported before the page finishes loading and are not missed in the described cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.