-
Notifications
You must be signed in to change notification settings - Fork 72
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
[WARN] Capacitor WebPlugin "AdMob" config object was deprecated in v3 and will be removed in v4. #303
Comments
This is just a warning. Should be easily fixed though. |
How do you fix it? I would like my console to be cleaner. |
You will need to update the web version of the plugin. |
I ran |
I mean in the source code of the plugin. |
I see, but it is not a good practice to change the source code. I think I will just do it like this: if (Capacitor.isNativePlatform()) {
admobInitialize();
} Since my app is only on mobile platform. |
Is it possible that this still shows up for you, even after adding the if-statement? I am not entirely sure but I think for me it does |
After adding the if statement, it will ensure |
Describe the bug
I encountered a warning when first initialize the plug in.
Screenshots
What does this mean and how do I get rid of it?
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: