Skip to content

feat(admob): demonstrate rewarded interstitial ads - #4045

Merged
polmiro merged 4 commits into
next-gen-admob-sample-rewardedfrom
next-gen-admob-sample
Sep 1, 2026
Merged

feat(admob): demonstrate rewarded interstitial ads#4045
polmiro merged 4 commits into
next-gen-admob-sample-rewardedfrom
next-gen-admob-sample

Conversation

@polmiro

@polmiro polmiro commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

Completes the Google Mobile Ads Next-Gen example app with rewarded-interstitial support and regression coverage:

  • add direct and preloaded rewarded-interstitial workflows
  • demonstrate optional RevenueCat reward verification
  • add focused regression coverage for placement override callback handling

Screenshots

Rewarded-interstitial preloader with reward verification enabled and two ads ready


Note

Low Risk
Changes are limited to the example app, documentation, and unit tests; no production adapter behavior is modified in this diff.

Overview
Finishes the AdMob Next-Gen sample app by replacing the rewarded-interstitial placeholder with a real screen and documenting how to run and validate every format.

Rewarded UI is refactored into a shared generic RewardedAdScreen used by both Rewarded and Rewarded interstitial. Each wires RevenueCat direct load, preload/poll, and show with format-specific placements, plus an optional RevenueCat reward verification toggle (applied at load/poll time).

Docs cross-link the sample and adapter READMEs and add guidance on direct vs preloaded flows, dashboard event checks, native test inventory caveats, and main-thread handling for SDK callbacks.

Tests: new PlacementOverrideTest covers applyPlacementOverride on tracking callbacks (update, clear, ignore non-tracking wrappers).

Reviewed by Cursor Bugbot for commit 44b412b. Bugbot is set up for automated code reviews on this repo. Configure here.

@polmiro polmiro added the pr:feat A new feature label Aug 20, 2026
@emerge-tools

emerge-tools Bot commented Aug 20, 2026

Copy link
Copy Markdown

📸 Snapshot Test

621 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
TestPurchasesUIAndroidCompatibility
com.revenuecat.testpurchasesuiandroidcompatibility
0 0 0 0 339 0 N/A
TestPurchasesUIAndroidCompatibility Paparazzi
com.revenuecat.testpurchasesuiandroidcompatibility.paparazzi
0 0 0 0 282 0 N/A

🛸 Powered by Emerge Tools

@polmiro
polmiro force-pushed the next-gen-admob-sample branch 2 times, most recently from cdb50a5 to 20b5362 Compare August 26, 2026 14:45
@polmiro polmiro changed the title feat(admob): add next-gen SDK support feat(admob): add next-gen sample app Aug 26, 2026
@polmiro
polmiro changed the base branch from main to next-gen-admob-sdk August 26, 2026 14:46
@polmiro polmiro added pr:other and removed pr:feat A new feature labels Aug 26, 2026
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from 20b5362 to 990a891 Compare August 26, 2026 15:05
@polmiro polmiro added the pr:feat A new feature label Aug 26, 2026
@polmiro polmiro changed the title feat(admob): add next-gen sample app feat(admob): demonstrate rewarded interstitial ads Aug 26, 2026
@polmiro polmiro removed the pr:other label Aug 26, 2026
@polmiro
polmiro changed the base branch from next-gen-admob-sdk to next-gen-admob-sample-rewarded August 26, 2026 15:07
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from 990a891 to 8b099b4 Compare August 26, 2026 15:08
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.19%. Comparing base (d3604f1) to head (44b412b).

Additional details and impacted files
@@                       Coverage Diff                       @@
##           next-gen-admob-sample-rewarded    #4045   +/-   ##
===============================================================
  Coverage                           83.19%   83.19%           
===============================================================
  Files                                 448      448           
  Lines                               18098    18098           
  Branches                             2736     2736           
===============================================================
  Hits                                15057    15057           
  Misses                               2147     2147           
  Partials                              894      894           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@polmiro polmiro added pr:other and removed pr:feat A new feature labels Aug 26, 2026
@polmiro
polmiro force-pushed the next-gen-admob-sample branch 2 times, most recently from 05bc158 to 1a6074b Compare August 27, 2026 08:53
@polmiro
polmiro requested a review from AlvaroBrey August 27, 2026 08:57
@polmiro
polmiro marked this pull request as ready for review August 27, 2026 08:58
@polmiro
polmiro requested a review from a team as a code owner August 27, 2026 08:58
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from 1a6074b to f08943a Compare August 28, 2026 07:59
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from f08943a to 131f16e Compare August 28, 2026 08:08
@polmiro
polmiro force-pushed the next-gen-admob-sample branch 2 times, most recently from f1a6f10 to df9d462 Compare September 1, 2026 08:12
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from df9d462 to fa1bddc Compare September 1, 2026 08:34
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from fa1bddc to e093112 Compare September 1, 2026 08:46
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from e093112 to d649f56 Compare September 1, 2026 09:28
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from d649f56 to 2413128 Compare September 1, 2026 09:39
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from 2413128 to 21c8562 Compare September 1, 2026 09:48
@polmiro
polmiro force-pushed the next-gen-admob-sample branch from 123cd13 to 44b412b Compare September 1, 2026 11:04
@polmiro
polmiro merged commit 289259a into next-gen-admob-sdk Sep 1, 2026
36 checks passed
@polmiro
polmiro deleted the next-gen-admob-sample branch September 1, 2026 12:36
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.

2 participants