-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_onStateChanged listener is only once? #42
Comments
I'm in the same scenario. I tried re-adding the listener, close and re-launch the flutterVebviewPlugin and even disposing of it an re-initiating it. The only way I manage to reset it is by reseting the app. |
Ok, there seams to be away around this.
|
same issue |
I wrote the example.
https://pub.dartlang.org/packages/flutter_webview_plugin#-example-tab-
I pushed "Open widget webview" button.
The example show log text
onStateChanged: WebViewState.startLoad
andonStateChanged: WebViewState.finishLoad
in the bottom.I pushed "Open widget webview" button again, but it didn't show log text again.
Why only once?
I just want to do is that call JS when WebviewScaffold's url finish.
The text was updated successfully, but these errors were encountered: