admob_flutter icon indicating copy to clipboard operation
admob_flutter copied to clipboard

Bad app performance if banners contain video or animations

Open Nik-Alex opened this issue 4 years ago • 5 comments

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 firebase_admob 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.

Nik-Alex avatar Mar 15 '20 10:03 Nik-Alex

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!

nanox77 avatar Mar 28 '20 16:03 nanox77

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

Nik-Alex avatar Apr 09 '20 07:04 Nik-Alex

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.

jangruenwaldt avatar Nov 22 '20 20:11 jangruenwaldt

Is this still an issue?

armandojimenez avatar Feb 19 '21 16:02 armandojimenez

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

jangruenwaldt avatar Feb 19 '21 16:02 jangruenwaldt