Describe the bug
I am building a simple ionic capacitor app based on Angular(NgModule) and the @admob-plus/capacitor plugin is not working. I am always getting:
Unhandled Promise rejection: "AdMobPlus" plugin is not implemented on android ; Zone: <root> ; Task: Promise.then ; Value: Error: "App" plugin is not implemented on android at createPluginMethod
To Reproduce
Just create a simple ionic app based on Angular, choose NgModule and install @admob-plus/capacitor. Then run ionic capacitor run android --livereload --external
Expected behavior
Be able to display ads
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
AdMob Plus Environment Info:
System:
OS: Windows 10 10.0.22000
CPU: (4) x64 Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
Memory: 8.66 GB / 15.88 GB
Binaries:
Node: 18.17.0 - C:\nodejs\node.EXE
npm: 9.8.1 - C:\nodejs\npm.CMD
IDEs:
Android Studio: AI-222.4459.24.2221.10121639
Languages:
Java: 19.0.2
npmPackages:
typescript: ~5.0.2 => 5.0.4
Cordova:
Version:
You have been opted out of telemetry. To change this, run: cordova telemetry on.
12.0.0 (cordova-lib@12.0.1)
Ionic:
Version: 7.1.1
AndroidManifest.xml:
Version: -
Additional context
Add any other context about the problem here.
When i run npx admob-plus doctor, i am getting the following result:
Describe the bug I am building a simple ionic capacitor app based on Angular(NgModule) and the @admob-plus/capacitor plugin is not working. I am always getting:
Unhandled Promise rejection: "AdMobPlus" plugin is not implemented on android ; Zone: <root> ; Task: Promise.then ; Value: Error: "App" plugin is not implemented on android at createPluginMethod
To Reproduce Just create a simple ionic app based on Angular, choose NgModule and install @admob-plus/capacitor. Then run
ionic capacitor run android --livereload --external
Expected behavior Be able to display ads
Screenshots If applicable, add screenshots to help explain your problem.
Environment
Additional context Add any other context about the problem here.
When i run
npx admob-plus doctor
, i am getting the following result:`√ googleads.g.doubleclick.net
√ package.json
↓ Cordova Android dependencies
↓ config.xml
↓ platforms/ios/*.xcodeproj
↓ plugins/admob-plus-cordova/package.json`