Skip to content

Releases: 2sem/GADManager

Release list

1.5.0

Choose a tag to compare

@2sem 2sem released this 15 Jul 07:42

New Features

  • Added show(rewardUnit:...) with a typed GoogleMobileAds.RewardedAd? completion.
  • Reward metadata is available from rewardedAd.adReward.amount and .type.
  • Added rewarded-ad hideTestLabel configuration.

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 --> Reprepare

Installation

.package(url: "https://github.com/2sem/GADManager.git", from: "1.5.0")

1.4.0

Choose a tag to compare

@2sem 2sem released this 10 Mar 08:41
709c444

New Features

  • Reward ad support: didEarnRewardForUnit delegate callback fires when user earns a reward
  • AdReward returned via NSObject? in show completion for reward units — cast with as? GoogleMobileAds.AdReward

Bug Fixes

  • Fixed reward ad not reloading after dismissal (reprepare was silently skipped due to missing interval for reward units)