Skip to content

Rename reward verification completion callback#6800

Merged
polmiro merged 2 commits into
mainfrom
rename-reward-verification-completed
May 15, 2026
Merged

Rename reward verification completion callback#6800
polmiro merged 2 commits into
mainfrom
rename-reward-verification-completed

Conversation

@polmiro

@polmiro polmiro commented May 14, 2026

Copy link
Copy Markdown
Member

Checklist

  • If applicable, unit tests
  • If applicable, create follow-up issues for purchases-android and hybrids

Motivation

Small naming improvement. The reward verification completion callback should use a name that describes when it fires, matching rewardVerificationStarted with rewardVerificationCompleted.

Description

Renamed the AdMob reward verification callback label from rewardVerificationResult to rewardVerificationCompleted across the adapter API, tests, examples, README snippets, and changelog entries.

Tested with:

  • swift test from AdapterSDKs/RevenueCatAdMob
  • git diff --check

Note

Medium Risk
This is a source-breaking API surface change for reward-verification presentation callbacks, requiring downstream code updates. Runtime behavior is intended to be unchanged aside from the renamed parameter label.

Overview
Renames the reward-verification completion callback label from rewardVerificationResult to rewardVerificationCompleted for rewarded and rewarded-interstitial present(...) APIs in RewardedAds+RewardVerification.swift.

Updates all call sites and documentation to match (sample app managers, adapter README snippet, and Swift API surface/unit tests) so reward verification flows now consistently use rewardVerificationStarted/rewardVerificationCompleted.

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

@polmiro polmiro requested review from ajpallares and peterporfy May 14, 2026 19:09
@polmiro polmiro marked this pull request as ready for review May 14, 2026 19:09
@polmiro polmiro requested a review from a team as a code owner May 14, 2026 19:09

@ajpallares ajpallares left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense. Although this is a public API, I think it's fine because it's experimental. And I agree the new name is clearly better 👍

Comment thread CHANGELOG.latest.md Outdated
@polmiro polmiro enabled auto-merge (squash) May 15, 2026 07:17
@polmiro polmiro merged commit d9764a7 into main May 15, 2026
38 of 42 checks passed
@polmiro polmiro deleted the rename-reward-verification-completed branch May 15, 2026 07:27
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