Open willPHPwork opened 8 months ago
Typo asnc loadad () => {
Thanks. This was just some example code, the issue still remains. Nothing happens after await interstitial.load();
async showInterstilial() {
if(!admob) return;
let interstitial = new admob.InterstitialAd({
adUnitId: 'ca-app-pub-xxx',
});
await interstitial.load();
await interstitial.show();
},
I faced the same issue and it was resolved after adding the following to config.xml
<platform name="android">
<preference name="GradlePluginKotlinEnabled" value="true" />
</platform>
Reference: https://admob-plus.github.io/docs/cordova/upgrade
I faced the same issue and it was resolved after adding the following to
config.xml
<platform name="android"> <preference name="GradlePluginKotlinEnabled" value="true" /> </platform>
Reference: https://admob-plus.github.io/docs/cordova/upgrade
I was having the same issue and your solution fixed it! Thank you :tada:
Describe the bug admob-plus-cordova: 2.0.0-alpha.13 not showing any ads.
config.xml
To Reproduce
Console shows // admob starting
When loadad called // admob getting ad
Console does not show ready or done.