nooralibutt / easy-ads

This repo has the integration of AdMob, AppLovin-Max, UnityAds, and Facebook ads.
https://pub.dev/packages/easy_ads_flutter
BSD 3-Clause "New" or "Revised" License
38 stars 19 forks source link

missing onRewardEarned callback #62

Closed sahab2 closed 1 year ago

sahab2 commented 1 year ago

Hi NoorAli and thank you for your great package. Everything works great but there is one major issue and it is lack of onRewardEarned callback for Rewarded ads. in your EasyAds.instance.showAd(AdUnitType.rewarded,context: context) method, the only thing that can be checked is the success of shown ad but its not enough because when the ad displays, the user shouldn’t be able to earn the reward until the ad ends and user presses the X button on the ad. but now as soon as user presses the show ad button the reward will be earned. I hope you consider it in your next update. Best regards

nooralibutt commented 1 year ago

You need to listen for call backs. Check read me. Listen for dissmiss callback