Skip to content
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

[interactive_media_ads] Adds internal wrapper for Android native CompanionAdSlot and CompanionAdSlot.ClickListener #8131

Merged
merged 5 commits into from
Nov 22, 2024

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Nov 20, 2024

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@bparrishMines bparrishMines changed the title Ima android adslot [interactive_media_ads] Adds internal wrapper for Android native CompanionAdSlot and CompanionAdSlot.ClickListener Nov 22, 2024
@bparrishMines bparrishMines marked this pull request as ready for review November 22, 2024 20:44
Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one minor test adjustment.


val instance = mock<CompanionAdSlot>()
val width = 0L
val height = 0L
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When passing values that will be verified, they should always be different from each other, so that a bug that accidentally swapped them would be caught by the test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I usually try to, but forget sometimes.

@bparrishMines bparrishMines added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 22, 2024
@auto-submit auto-submit bot merged commit 0be7cbe into flutter:main Nov 22, 2024
77 checks passed
@bparrishMines bparrishMines deleted the ima_android_adslot branch November 22, 2024 21:10
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 25, 2024
…ative `CompanionAdSlot` and `CompanionAdSlot.ClickListener` (flutter/packages#8131)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: interactive_media_ads Plugin for IMA SDK platform-android platform-ios
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants