Hi Carlos,
Thank you for reaching out to us.
The OnUserEarnedReward callback should prove useful in checking whether or not the user has completely watched an ad (and thus be eligible for a reward). The officially supported mediated networks should automatically call this callback as well.
Regards,
Ziv Yves Sanchez
Mobile Ads SDK Team
Hi Carlos,
You'll notice that the OnUserEarnedReward callback will return false if the user closed the ad before completing it.
I'm using the legacy API and when I close the ad, OnAdRewarded didn't trigger if the user didn't complete the see the ad.
Where I can check the result? because the signature gives you 2 variables
.
public void HandleRewardBasedVideoRewarded(object sender, Reward args)
{
string type = args.Type;
double amount = args.Amount;
print("User rewarded with: " + amount.ToString() + " " + type);
}