-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[webview_flutter] Add support for onPageStarted event #2295
Conversation
Hi @jeremie-movify thank you for the PR! |
Hi @ened, |
Hi @jeremie-movify looks like we're getting close. Please resolve the formatting issues and we can merge once everything else is green :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thank you
Hi@ened how can I get the latest version with 'onPageStarted'? |
I have tried changing the version to 0.3.18,but got nothing. |
Hi @luohao8023, This PR is not yet merged ; you'll be able to access the latest API (with support for In the meantime, you may want to point your dependency to my fork of this repository, and use the latest commit hash as reference. Cheers, Jérémie |
…flutter/has_gesture * commit 'be71485431cd5ebaeb7cad4c57ddeb0be910d8b6': (74 commits) [webview_flutter] Add support for onPageStarted event (flutter#2295) adds missing [[ to elif statement in scripts/incremental_build.sh (flutter#2358) [none] Pass --custom-analysis flag through CI (flutter#2356) [video_player] Document public API of video_player_platform_interface. (flutter#2355) [none] Lock pedantic version (flutter#2354) [video_player_platform_interface] Fix some pedantic lints (flutter#2349) Export SignInOption from interface since it is used in the frontend (flutter#2350) Update documentation for connectivity (flutter#2328) [ android_alarm_manager ] Loosen Flutter SDK lower bound, update README (flutter#2338) [e2e_macos] Remove redundant analysis_options.yaml (flutter#2347) Revert "[android_alarm_manager] Update minimum Flutter version to 1.12.0 (flutter#2327)" (flutter#2345) [video_player] Add web implementation using platform interface (flutter#2279) [webview_flutter] Fix pedantic lint errors (flutter#2322) [google_maps_flutter] Add documentation (flutter#2303) [e2e] Fix pedantic lints (flutter#2315) [video_player] Fix pedantic lints (flutter#2321) [share] Fix pedantic lints (flutter#2320) [battery] Fix pedantic linter errors (flutter#2311) [device_info] Fix pedantic errors (flutter#2314) [in_app_purchase] Fix most failing pedantic lints (flutter#2317) ... # Conflicts: # packages/webview_flutter/CHANGELOG.md # packages/webview_flutter/lib/platform_interface.dart # packages/webview_flutter/lib/webview_flutter.dart # packages/webview_flutter/pubspec.yaml
nit: this PR should have updated the version in pubspec.yaml as well |
You're right, my bad ; this was done in a different branch, and got lost at some point. |
Argh, I didn't spot that. Sorry, will check more careful as well, next time. Thx @amirh |
* Added support for webView's 'onPageStarted' event
* Added support for webView's 'onPageStarted' event
Description
Added support for onPageStarted event on both Android and iOS.
Bound to WebViewClient's
public void onPageStarted(WebView view, String url, Bitmap favicon)
and WKWebView's
- (void)webView:(WKWebView *)webView didStartProvisionalNavigation:(WKNavigation *)navigation
.Related Issues
None
Checklist
///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?