This plugin is no longer maintained. But don't worry — we've built something even better!
We've created two new, dedicated, and actively maintained plugins that offer:
- ✅ Better performance and smaller footprint
- ✅ Faster updates with the latest AdMob SDK
- ✅ Dedicated consent management (GDPR/ATT compliant)
- ✅ Active maintenance and quick bug fixes
- ✅ Improved documentation and support
- ✅ Cleaner, more modular codebase
cordova plugin add community-cordova-plugin-admob --variable APP_ID_ANDROID=ca-app-pub-xxx~yyy --variable APP_ID_IOS=ca-app-pub-xxx~yyy👉 View community-cordova-plugin-admob on GitHub
cordova plugin add community-cordova-plugin-consent👉 View community-cordova-plugin-consent on GitHub
Migrating is straightforward! Here's a quick overview:
cordova plugin remove community-admob-pluscordova plugin add community-cordova-plugin-admob --variable APP_ID_ANDROID=ca-app-pub-xxx~yyy --variable APP_ID_IOS=ca-app-pub-xxx~yyy
cordova plugin add community-cordova-plugin-consentThe API is similar but improved. Check the documentation in each new plugin for detailed usage examples.
Separating ads and consent into dedicated plugins provides:
| Benefit | Description |
|---|---|
| Modularity | Use only what you need — ads, consent, or both |
| Compliance | Dedicated consent plugin ensures proper GDPR/ATT handling |
| Maintenance | Smaller, focused codebases are easier to maintain and update |
| Flexibility | Mix and match with other ad or consent solutions |
I dedicate a considerable amount of my free time to developing and maintaining these plugins for the community.
If these plugins help you build successful apps, please consider supporting the development:
This plugin was originally created by Ratson. Thank you for laying the foundation that helped the Cordova community monetize their apps.
This project is MIT licensed.
🌟 Star the new repos to stay updated! 🌟