dreamsoftin / facebook_audience_network

Flutter Facebook Audience Network
https://pub.dartlang.org/packages/facebook_audience_network/
MIT License
156 stars 99 forks source link

Listener when ad is loaded and closed #11

Closed jerinho closed 5 years ago

jerinho commented 5 years ago

Sometimes we need to display ad more than once after single user activity. For example in my case, user may click on a button to display ad, and some app's event afterward will want to show the ad once again but not if the ad is already shown. I assumed FacebookInterstitialAd.showInterstitialAd().then() will be triggered only when the ad is closed, but it's not. So I can't find any way how to do it using the plugin.

jerinho commented 5 years ago

Sorry I don't know InterstitialAdResult.DISMISSED is there. Hopefully this thread will help others