fluttercommunity / fluttercommunity/flutter_webview_plugin

Flutter_webview_plugin calls OnURLChange two times every time URL changes

Open
#599 4 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

I have some functionality on URL change (I'm opening external links in the browser instead of webview) but it opens the browser 2 times and when I checked it using STOP POINT the reason is it calls function 2 times every time URL gets change.
I'm using flutter_web_browser for opening up links in chrome.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing a URL change with the Flutter WebView plugin and trace the OnURLChange callback, especially when opening an external link with flutter_web_browser. Done means each URL change invokes the callback once, so the external browser opens only once.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.