Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AD does not load. Did I forget something? #627

Open
andhyjr opened this issue Oct 31, 2023 · 2 comments
Open

AD does not load. Did I forget something? #627

andhyjr opened this issue Oct 31, 2023 · 2 comments

Comments

@andhyjr
Copy link

andhyjr commented Oct 31, 2023

Hi, i need a help ;)

I use Ionic + Capacitor (Angular), but my ad does not load, this is the error in LogCat.

File: https://localhost/main.897408fd00a9652f.js - Line 1 - Msg: ERROR Error: Uncaught (in promise): Error: "AdMobPlus" plugin is not implemented on android
                                                                                                    Error: "AdMobPlus" plugin is not implemented on android
                                                                                                        at https://localhost/2726.c515ed207e9e90ca.js:1:1925
                                                                                                        at https://localhost/2726.c515ed207e9e90ca.js:1:2216
                                                                                                        at v.invoke (https://localhost/polyfills.441dd4ca9dc0674f.js:1:6632)
                                                                                                        at Object.onInvoke (https://localhost/main.897408fd00a9652f.js:1:210110)
                                                                                                        at v.invoke (https://localhost/polyfills.441dd4ca9dc0674f.js:1:6572)
                                                                                                        at h.run (https://localhost/polyfills.441dd4ca9dc0674f.js:1:1998)
                                                                                                        at https://localhost/polyfills.441dd4ca9dc0674f.js:1:16842
                                                                                                        at v.invokeTask (https://localhost/polyfills.441dd4ca9dc0674f.js:1:7250)
                                                                                                        at Object.onInvokeTask (https://localhost/main.897408fd00a9652f.js:1:209926)
                                                                                                        at v.invokeTask (https://localhost/polyfills.441dd4ca9dc0674f.js:1:7171)

npx admob-plus doctor ✔ googleads.g.doubleclick.net ✔ package.json ↓ Cordova Android dependencies ↓ config.xml ↓ platforms/ios/*.xcodeproj ↓ plugins/admob-plus-cordova/package.json

Is there any tutorial to fix this "Cordova Android dependencies", "config.xml" and "plugins/admob-plus-coprdova/package.json"?

I'm using DFP ads from Ad Manager (AdExchange), would this be a problem? Ex: adUnitId: '/21812513503/CoupleChemistry_Banner',

@brandomcombr
Copy link

I'm the same problem...

@andhyjr if you resolve this problem, say me which solution worked for you, please....

@andhyjr
Copy link
Author

andhyjr commented May 6, 2024

I'm sorry for the delay, I only saw your message now.

I managed to solve it this way:

npm install @admob-plus/capacitor@1.24.0 --legacy-peer-deps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants