-
Notifications
You must be signed in to change notification settings - Fork 936
Missing a way to change the dimension of rect #22
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
Comments
I thought to put something like
in FlutterWebviewPlugin.java file and
in flutter_webview_plugin.dart file. But only this is not working. The first time I rotate the phone the build funcion of the widget is called and there I call the resize method, and it works as expected, but after that, it seems the webview lost the connection with the dart app, I mean, the build function doesn't execute anymore if I rotate the phone again and the onUrlChanged stream is not fired anymore if the url changes in the webview. What am I missing here? I never developed for android before, and it is my first try with java. |
yes we need something like that, I need to investigate for the rotation on Android but I need help on iOS |
changing dimension is now supported in the |
If I lunch the webview in a rect in non fullscreen mode, how do I change the rect dimension without reload the page in webview? I want to do this when the user rotate the screen.
The text was updated successfully, but these errors were encountered: