Skip to content

[AND-5631] Adapter Logging Phase 2#154

Merged
ashinagawa merged 16 commits into
7.7.x-prereleasefrom
AND-5631
Jun 10, 2026
Merged

[AND-5631] Adapter Logging Phase 2#154
ashinagawa merged 16 commits into
7.7.x-prereleasefrom
AND-5631

Conversation

@ashinagawa

@ashinagawa ashinagawa commented Apr 23, 2026

Copy link
Copy Markdown

This commit will remove the canPlayAd check for AppOpen ad, and let SDK fails when ad is not ready to play properly.
Also, updated AppOpen and Interstitial property as nullable and added the proper check before play.

AND-5631

@YueVungle YueVungle left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM 👍

)

override fun showAd(context: Context) {
if (appOpenAd.canPlayAd()) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@HuFangshuai @felixzhang0703
As we discussed in the meeting (Q1 workweek), I removed canPlayAd check here, so SDK can handle (if the ad is not ready, it can log properly).
Let me know if this will be a problem.

@HuFangshuai HuFangshuai May 27, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, agree. But current if (appOpenAd.canPlayAd()) { call can also log proper errors.

@ashinagawa ashinagawa May 29, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Oh, really? I didn't know that. Nice catch!
IOS doesn't log for canPlayAd (but, SDK does log when SDK checks canPlayAd in play() call flow), so I removed this.
Do you think I should keep it then?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I'd want to go with the same flow as IOS side (which I removed canPlayAD check).

Comment thread .gitignore Outdated

@HuFangshuai HuFangshuai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The target branch should be 7.7.4-release or similar branch. Normally we don't push code to main from this forked repo.
In adapter, we have {version}-release branch corresponding to each SDK release.

@ashinagawa

ashinagawa commented May 29, 2026

Copy link
Copy Markdown
Author

The target branch should be 7.7.4-release or similar branch. Normally we don't push code to main from this forked repo.
In adapter, we have {version}-release branch corresponding to each SDK release.

I thought we can use main (forked) as our main and keep adding to it. Then, create branch to send PR to AdMob side. But, this will be a problem?
If so, I will update the PR with creating 7.7.x-prerelease branch.

@ashinagawa
ashinagawa changed the base branch from main to 7.7.x-prerelease June 10, 2026 16:50
@ashinagawa

Copy link
Copy Markdown
Author

@HuFangshuai
I created 7.7.x-prerelease from main (after sync to upstream), and switched to 7.7.x-prerelease for this PR.

…leInterstitialAd

Capture createInterstitialAd result in a local val so the nullable
interstitialAd member no longer requires a smart cast inside the
VungleInitializationListener callback.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ashinagawa
ashinagawa merged commit 066f37b into 7.7.x-prerelease Jun 10, 2026
4 checks passed
@ashinagawa
ashinagawa deleted the AND-5631 branch June 10, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants