Skip to content
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

Compare to webview_flutter, inappwebview is significant frame dropped while page scrolling #1386

Closed
Doflatango opened this issue Oct 21, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Doflatango
Copy link
Contributor

Compare using the example in each plugin on a device with 60Hz screen.
This issue might happened since Flutter 3.0.

@Doflatango Doflatango added the bug Something isn't working label Oct 21, 2022
@github-actions
Copy link

👋 @Doflatango

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

@pichillilorenzo
Copy link
Owner

pichillilorenzo commented Oct 21, 2022

Please, share more info, such as on which platform, your Flutter version, code example and some video recording if possible, thanks.

@pichillilorenzo
Copy link
Owner

May be related to #1335? Does it happen on iOS?

@Doflatango
Copy link
Contributor Author

I am tested on Android and iOS with 60Hz, i think it's fine on iOS compare to Safari.
I don't think so that the two issues are related because the mechanics are completely different in Android and iOS.

Based on previous testing that compared with plugin webview_flutter, I think we need to do some changes in inappwebview.
I am trying to do more testing on old version of inappwebview and Flutter, and will add more info later.

@Doflatango
Copy link
Contributor Author

Testing info:

device: Redmi 7A
Android version: 10
useHybridComposition: true
page: https://flutter.dev

flutter_inappwebview Flutter Result
5.4.0 2.10.5 Good
5.5.0+5 2.10.5 Good
5.4.0 3.0.0 Bad
5.5.0+5 3.0.0 Bad
5.4.0 3.3.5 Bad
5.5.0+5 3.3.5 Bad
webview_flutter_android Flutter Result
2.10.4 3.0.0 Good
2.10.4 3.3.5 Good

There may something changed since Flutter 3.

@pichillilorenzo hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants