AppLovin / AppLovin-MAX-Flutter

MIT License
56 stars 29 forks source link

Flutter 3.27 Banner Ad MaxAdView not responding to Opacity #273

Open LegendAF opened 1 week ago

LegendAF commented 1 week ago

MAX Plugin Version

4.0.2

Flutter Version

3.27.0-0.1.pre

Device/Platform Info

iPhone 16 Pro iOS 18.1 (and every other iOS device/version [many] we tested)

Current Behavior

Banner ad does not disappear when opacity is applied to it.

https://github.com/user-attachments/assets/68b96abd-98c3-4e44-ae1f-f1327fda5684

Expected Behavior

Banner ad to disappear when opacity 0 is applied to it.

https://github.com/user-attachments/assets/154d532e-c661-47a7-b9ed-e5a85dad0c06

How to Reproduce

https://github.com/LegendAF/applovin_max_flutter_broken

Reproducible in the demo app?

Yes

Additional Info

For what it's worth, it is also broken at the root level if you just put it outside the overlay. I included the way it is in the example because that's how we are utilizing it.

Broken on:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.27.0-0.1.pre, on macOS 15.0 24A335 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.94.2)
[✓] Connected device (5 available)
[✓] Network resources

Working on:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.4, on macOS 15.0 24A335 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.94.2)
[✓] Connected device (5 available)
[✓] Network resources
alhiwatan commented 8 hours ago

@LegendAF, thank you for raising the issue with the test app. I ran the test app using the default AppLovin network, as your Podfile includes several ad networks. The banner toggles and appears to be working fine. Could you clarify if the issue is reproducible with a specific ad network?