Skip to content

Commit 3eada1b

Browse files
Compatibility with Smart Display SDK 7.23 and Google Mobile Ads SDK 11.5
1 parent b8840bb commit 3eada1b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Introduction
55
------------
66
The _Smart Display SDK_ can be used through _Google Mobile Ads SDK_ using the adapter provided in this repository for banner, interstitial and rewarded video. Those adapters are compatible with:
77
* _Smart Display SDK_ v7.21+
8-
* _Google Mobile Ads SDK_ v10.6.0
8+
* _Google Mobile Ads SDK_ v11.5.0
99

1010
Setup
1111
-----

SASGMARewardedAdapter.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ class SASGMARewardedAdapter : NSObject, GADMediationAdapter, GADMediationRewarde
8282
}
8383

8484
func rewardedVideoManager(_ manager: SASRewardedVideoManager, didCollect reward: SASReward) {
85-
let gadReward = GADAdReward(rewardType: reward.currency, rewardAmount: NSDecimalNumber(nonretainedObject: reward.amount))
86-
delegate?.didRewardUser(with: gadReward)
85+
delegate?.didRewardUser()
8786
}
8887

8988
func rewardedVideoManager(_ manager: SASRewardedVideoManager, didClickWith URL: URL) {

0 commit comments

Comments
 (0)