Releases: 2sem/GADManager
Releases · 2sem/GADManager
Release list
1.5.0
New Features
- Added
show(rewardUnit:...)with a typedGoogleMobileAds.RewardedAd?completion. - Reward metadata is available from
rewardedAd.adReward.amountand.type. - Added rewarded-ad
hideTestLabelconfiguration.
Reliability
- Reward load failures now resolve pending completions instead of leaving callers waiting.
- Deferred reward presentation preserves test mode, force behavior, and the supplied view controller.
- Existing
show(unit:)behavior remains backward compatible.
Reward Flow
flowchart LR
Prepare --> Load --> Present --> EarnReward --> Completion --> ReprepareInstallation
.package(url: "https://github.com/2sem/GADManager.git", from: "1.5.0")1.4.0
New Features
- Reward ad support:
didEarnRewardForUnitdelegate callback fires when user earns a reward AdRewardreturned viaNSObject?inshowcompletion for reward units — cast withas? GoogleMobileAds.AdReward
Bug Fixes
- Fixed reward ad not reloading after dismissal (
repreparewas silently skipped due to missing interval for reward units)