-
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
Shut down of the webview screen #11
Comments
OK, it seems that you was too clever to put timer to close the view to your example... https://github.com/dart-flitter/flutter_webview_plugin/blob/master/example/lib/main.dart#L95-L97 Kind of WTF. I will probably send a PR with some enhancement to you README and example soon. ;) |
I agree, I used the example to show every possible usage of the API, a background timer was the only solution I found to show I will clean the example and add comment to it. |
@lejard-h maybe we could do another button with "open and close afterwise" label to show this behavior? :-) Making "hidden" timed close is IMHO not a good example. |
When I try to connect to any webpage, it works a few seconds and then it shuts down the webview screen.
This is log of the Flutter app:
Is this only some Android emulator-related stuff, or it doesn't works at all? The code of my app is the same as the code in
example/lib/main.dart
folder of this project.The same issue is on my phone, where it's also prints "Webview Destroyed".
Emulator: Pixel XL API 25 on Windows 10
My phone: Honor Holly, Android v4.4.2
The text was updated successfully, but these errors were encountered: