-
Notifications
You must be signed in to change notification settings - Fork 929
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
Zoom support #34
Comments
The webview is an Android/iOS native element so zoom should be builtin. Do you have any problem to make it work ? |
Yes, I do not have zoom. I use Android.
|
Although pinch and zoom are built-in to WebView (Android) and UIWebView (iOS), they need to be "switched-on". In Android, the plugin needs to call the following: In iOS, the plugin needs to call the following: |
Tested on Android, it does not seem to work, But I have not tested on iOS |
I have tested on Android and iOS. It does work. Remember, you also have to take into account the web page - the meta data can prevent pinch/zoom (eg in your example, the page (https://github.com/dart-flitter/flutter_webview_plugin) does that by setting If that doesn't work, then I think you've put the code in the wrong place. On Android
|
Tried to open a 'https://flutter.io', all the same the zooming does not work.
Can make it optional? e.g. 'withZoom: true' |
fixed in |
Can we split up ZoomControls and SupportZoom into two variables? |
Need a step-by-step for this. I'm not sure how to add the native code in Kotlin, Swift. Where is the exact place to insert the native code? Should I create a webview on the fly in native code instead of creating the WebView widget in flutter?? |
I want zoom content in webview with gestures. Is it possible?
The text was updated successfully, but these errors were encountered: