Open hooliapps opened 4 days ago
How are you setting your listeners?
I tried that.
Capacitor.Plugins.AdMob.addListener(InterstitialAdPluginEvents.Dismissed, function() { alert('test'); });
But InterstitialAdPluginEvents is not defined.
Le mer. 3 juil. 2024 à 19:51, Saninn Salas Diaz @.***> a écrit :
How are you setting your listeners?
— Reply to this email directly, view it on GitHub https://github.com/capacitor-community/admob/issues/327#issuecomment-2206895880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJN5KOQJBLRBO6EJY7PGDW3ZKQ22NAVCNFSM6AAAAABKJ4M55OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWHA4TKOBYGA . You are receiving this because you authored the thread.Message ID: @.***>
Hello
With last version of plugin + last version of Cordova.
Capacitor.Plugins.AdMob is found and i can display Ads, it works.
But, i need to have some Events about ads loaded/dismissed/errors. And InterstitialAdPluginEvents is undefined.
How can we manage events ?
npm install @capacitor-community/admob import { AdMob, AdOptions, AdLoadInfo, InterstitialAdPluginEvents } from './@capacitor-community/admob';
Best regards