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
[iOS] ListView with UIKitView (NativeAds) Lags #103014
Comments
Hi @b3nni97, Thanks for filing the issue. Is the jank related to listview scroll or loading of the ads while scrolling? Can you share a minimal and complete sample project? |
hi @maheshmnj, I used the documentation here so you can run the example I showed above. https://codelabs.developers.google.com/codelabs/admob-inline-ads-in-flutter#0 So it doesn't jerk yet when you just call _ad.load() but only when the ad has loaded and you create the UIKitView object. At this moment it jerks slightly (so I think it's because of initializing the UIKitView). You can see in the performance overlay that the app sometimes reaches over 16ms in the raster thread (17.7ms can be seen at the end). |
Thanks for the report. Using the code sample provided, running it on iPhone 6s (OS 15.3.1) shows that scrolling with native ads (coming from RPReplay-Final1651738404.MP4But I am not 100% sure if this is an issue with stable, master flutter doctor -v
|
It looks like the ads took sometime to load? We can try the same app, replacing ads with a different platform view (Maybe google map?) to compare the result. |
I found performance issues with Obs.: Using LARGE_BANNER AD. |
I'm experiencing this issue too. I replaced the native ad view with an embedded native map view and the behaviour was the same (noticeable jank /lag on the scroll view). Behaviour only affects iOS it seems. |
This is a plateform view issue. This is not a time-to-load problem for me, if we wait for loading and do scrolling or animating the screen is lagging. Without the Google ads sdk :
The problem is the same for Android for us but may be a little less lagging. |
I think this is a dup with #107486, I'm going to close this one because I left my performance analysis on the other issue. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Hi,
If you use NativeAds in a list, you will notice slight janks when scrolling.
This is harder to see on the video than in real life.
Now there are several ways to improve this:
You can see that there are jerks when initializing the ad, but as soon as the ad is loaded it runs smoothly.
I hope there is a solution for this, because this makes the experience with an app monetized with AdMob very bad.
Target Platform: iOS
**Devices: iPhone X **
Reproducible example
Logs
RPReplay_Final1651629797.1.mov
The text was updated successfully, but these errors were encountered: