-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
Hi, so the demo (https://github.com/flutter/plugins/tree/master/packages/webview_flutter/example) feels sluggish on Android. I tested
flutter_webview_plugin (https://github.com/fluttercommunity/flutter_webview_plugin/tree/master/example) and it feels much faster. I also tested native Android webview, React Native webview, so I can confirm that it's webview_flutter specific issue.
So I did checked the code of flutter_webview_plugin, and it looks like it's just drawing native webview on top of flutter, which is why it's scrolling is smooth. So I think this is due to the fact that webview_flutter is using Platform Views. Can you please confirm this is the case?
I don't think any additional information is needed, but if you do, please let me know and I can provide them.
- Did you ran on release mode?
Yes, I actually tested both emulator and release mode on my phone, both I could tell the difference between webview_flutter and all other webviews (which were smooth). - Can you provide minimum runnable code?
I just ran the example code, so it's the example code.
My app needs webview to load third party website, so it's not possible for me to reimplement website into Flutter. Currently my solution is similar to flutter_webview_plugin, where on Android I draw native views on top of flutter.