-
Notifications
You must be signed in to change notification settings - Fork 298
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
Severe performance issues (significant drop in FPS) when using the plugin #231
Comments
I totally agree, my app was running perfectly smooth up until I added two banner ads to my view and it made the experience unbearable. |
I am facing same problem..... |
Yes, this plugin can not be used currently, unless you want your app super laggy and annoying for users. 😉 It should be put on top of the readme. Switch to https://pub.dev/packages/native_admob_flutter this for better performance. |
same problem |
Duplicate of #269 |
We have added a flag to the Flutter master channel that helps improve the performance. It's not a perfect fix since the Ad may be a few frames behind the Flutter frame, but depending on the layout you use, it could be useful. Please try it out, and let us know if the performance is improved. To use this flag, set import 'package:flutter/services.dart';
void main() {
PlatformViewsService.synchronizeToNativeViewHierarchy(false);
runApp(MyApp());
} I'm closing this issue, and moving the conversation to: #269 |
hi. how can this be better if it still uses flutter admob? or this uses admob directly? |
Plugin Version
google_mobile_ads 0.12.2
Steps to Reproduce
Expected results:
The use of the plugin does not impact the performance of the overall app.
Actual results:
The use of the plugin is heavily impacting the overall performance of the app. All the animations (scrolling, popups) are severely affected. There is a significant drop in FPS that can be observed at simple view, specially in older devices (I am experiencing it with a Samsung Galaxy A3, a mid-gamma phone from 2017).
Edit (2021-06-08)
This is the performance rendering times in my Galaxy A3 (2017) to give more graphical awareness. The inline ad is rendered in the middle, just when the red bars appear:
Logs
The text was updated successfully, but these errors were encountered: