Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 60443 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
I have tried to implement Rewarded ad in my xamarin android app. I am able to show rewarded ads but not able to handle any events for ad loaded, rewarded, etc.
I am not sure why there are so many different ways ( 3 ways ) to register the listener for the rewarded ads.
The first two options dont work but the third one works.
1) Setting the adlistener - IRewardedVideoAd.RewardedVideoAdListener = IRewardedVideoAdListener;
2) Calling the Set method to set the listener - InterstitialAd.SetRewardedVideoAdListener(IRewardedVideoAdListener); 3) Registering the events on the interstistial ad - InterstitialAd.RewardedVideoAdClosed += OnRewardedVideoAdClosed;
Even if the 3 option is working the event "Rewarded" is not called. The ad never terminates by self.
Can you please fix the bug of the first option not working?
I'm experiencing the same issue and have not found a way to determine if the user watched the video ad to completion or closed it halfway through.
Are there any workarounds to get the Rewarded callbacks working?
My Activity implements IRewardedVideoAdListener and then you register like below -
_rewardedVideoAd = MobileAds.GetRewardedVideoAdInstance(this);
_rewardedVideoAd.RewardedVideoAdListener = this;
This is working for me.
Thanks for the tip! Using your advice I was able to get this working.
For anyone else reading this, if you decide to implement the IRewardedVideoAdListener outside of the Activity class, make sure your class inherits from Java.Lang.Object so the Handle pointer is correctly initialized. I was missing this at first and my listener events were not firing.