Skip to content

Commit 6390beb

Browse files
d13nunesrdlabo
andauthored
fix: Add missing method to reward interstitials iOS (#351)
Co-authored-by: Masahiko Sakakibara <[email protected]>
1 parent e2001c2 commit 6390beb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ios/Sources/AdMobPlugin/AdMobPlugin.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ public class AdMobPlugin: CAPPlugin, CAPBridgedPlugin {
2525
CAPPluginMethod(name: "prepareInterstitial", returnType: CAPPluginReturnPromise),
2626
CAPPluginMethod(name: "showInterstitial", returnType: CAPPluginReturnPromise),
2727
CAPPluginMethod(name: "prepareRewardVideoAd", returnType: CAPPluginReturnPromise),
28-
CAPPluginMethod(name: "showRewardVideoAd", returnType: CAPPluginReturnPromise)
28+
CAPPluginMethod(name: "showRewardVideoAd", returnType: CAPPluginReturnPromise),
29+
CAPPluginMethod(name: "prepareRewardInterstitialAd", returnType: CAPPluginReturnPromise),
30+
CAPPluginMethod(name: "showRewardInterstitialAd", returnType: CAPPluginReturnPromise)
2931
]
3032

3133
var testingDevices: [String] = []

0 commit comments

Comments
 (0)