Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 激励视频,关闭debug 没回调 #47

Closed
tangbincheng opened this issue Dec 3, 2020 · 1 comment
Closed

android 激励视频,关闭debug 没回调 #47

tangbincheng opened this issue Dec 3, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@tangbincheng
Copy link

作者代码写错了,RawardVideo 里面onAdClose 方法错误
正确写法在一下,就是修改了debug方法结尾的括号位置
@OverRide
public void onAdClose() {
if (debug)
{
TToast.show(context, "rewardVideoAd close");
}
Map<String,Object> rewardVideoCallBack = new HashMap<>();
rewardVideoCallBack.put("rewardVerify",false);
rewardVideoCallBack.put("rewardAmount", 0);
rewardVideoCallBack.put("rewardName","rewardVideo Close");
_channel.invokeMethod("onRewardResponse",rewardVideoCallBack);
}

@tongyangsheng
Copy link
Member

nice! 解决了大问题! thank you

@tongyangsheng tongyangsheng added the bug Something isn't working label Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants