Skip to main content
Version: Next

Upgrade Guide

From V1 to V2

This package is no longer needed, admob-plus-cordova can be used directly.

Read the Upgrade Guide for admob-plus-cordova what changed.

Migrate existing code to use admob-plus-cordova directly

Remove provider in src/app/app.module.ts.

Search your codebase with @admob-plus/ionic imports, replace them with corresponding admob-plus-cordova imports.

Replace this.admob to admob should work most of the time.

Check out this example for reference.

Remove AdMob static property for Ad classes

Use the exported class instead.