cordova-admob-tomitank
v1.4.2
Published
Trustable Google AdMob Cordova Plugin
Downloads
233
Maintainers
Readme
[Cordova AdMob tomitank]
Based on AdMob Plus Cordova with updated SDK-s
- Android: 24.9.0
- iOS: 12.14.0
Breaking changes
- We don't use admob.banner.[eventName] instead of this use "admob.ad.size" and "admob.ad.sizechange"
- This only enabled for banner type so you can use like this:
const banner = new BannerAd(...);
banner.on('size', (res) => ...);Extras
- Added "admob.reinitWhenNeeded(callback)" function to restart when cordova - admob bridge connection lost
- Example:
const initFn = () => {
const banner = new BannerAd(...);
banner.on('size', (res) => ...);
};
document.addEventListener('resume', () => admob.reinitWhenNeeded(initFn), false);Documentation
You can find the documentation on the website.
Contributing
- Star this repository
- Open issue for feature requests
- Sponsor this project
License
Cordova AdMob tomitank is MIT licensed.
