提交 a943f68c 编写于 作者: d-u-a's avatar d-u-a

update: 激励适配兼容不支持服务器回调版本基座

上级 5671a3ec
......@@ -36,7 +36,7 @@ class RewardedVideoAd {
this._loadAd()
this._dispatchEvent('close', { isEnded: e.isEnded })
})
rewardAd.onVerify((e) => {
rewardAd.onVerify && rewardAd.onVerify((e) => {
this._dispatchEvent('verify', { isValid: e.isValid })
})
rewardAd.onError((e) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册