kmcgill88 / admob_flutter

Admob Flutter plugin that shows banner ads using native platform views.
https://pub.dartlang.org/packages/admob_flutter
ISC License
434 stars 151 forks source link

Bad app performance if banners contain video or animations #141

Open Nik-Alex opened 4 years ago

Nik-Alex commented 4 years ago

On the release android build, the application is very slow and has poor performance if the banners contain video or animation. Lags absolutely everything, scrolling lists, animations, transitions between screens. However if the banners are static without animations and videos, then everything works fine. I compared this library with _firebaseadmob and with that library app with video/animated banners works fine and smoothly.

How can I solve this problem, since this library suits me completely, but it cannot be used due to lags with video/animated banners?

[✓] Flutter (Channel stable, v1.12.13+hotfix.8)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 11.1) [✓] Android Studio (version 3.6)

Checked on 0.3.4 / 1.0.0-beta / https://github.com/kmcgill88/admob_flutter.git, but have the same result.

nanox77 commented 4 years ago

I have same problem. The app is very slow when it has two banners on list view for example. I used admob_flutter: ^0.3.4 version.

[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.14.6 18G3020, locale en-AR)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Android Studio (version 3.4)
[✓] IntelliJ IDEA Community Edition (version 2019.3.1)
[✓] VS Code (version 1.43.2)
[✓] Connected device (1 available)

• No issues found!
Nik-Alex commented 4 years ago

Checked on 1.0.0-beta.2. The issue is still reproducible in each case.

jangruenwaldt commented 3 years ago

Can confirm. The lag is so bad that it renders my older Android phone basically unusable. However, it only occurs when more than one banner is used. Using one banner does not cause this. Fixing this would be highly appreciated, so more than one banner could be used.

armandojimenez commented 3 years ago

Is this still an issue?

jangruenwaldt commented 3 years ago

Is this still an issue?

I think it still is, and due to this we only display one banner in our app now. But it works fine. Just annoying if you need more than one... I did not like firebase_admob really btw, so I still recomnend this