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
admob-plus-cordova-native - cannot find viewProvider: #662
Comments
@vandilsondamata Let me know if the latest version fix this. |
I just tested, the problem persists. |
@vandilsondamata Would you check |
npx admob-plus doctor √ googleads.g.doubleclick.net npx admob-plus info AdMob Plus Environment Info: |
Please update |
Now the error message is gone, but nothing happens. The native ad is not displayed. npx admob-plus info AdMob Plus Environment Info: npx admob-plus doctor √ googleads.g.doubleclick.net |
@vandilsondamata Are you using |
@vandilsondamata Would you create a test repo for me to check? |
After the corrections you made, I was able to view the native ads on a real device (not on the emulator). Thank you very much for the support! |
Describe the bug
I'm facing this error "cannot find viewProvider: " when trying to display native ads.
admob-plus-cordova-native it's installed.
Expected behavior
The ad display
Screenshots
Environment
AdMob Plus Environment Info:
System:
OS: Windows 10 10.0.19044
CPU: (4) x64 Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
Memory: 5.01 GB / 15.89 GB
Binaries:
Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: AI-222.4459.24.2221.10121639
Languages:
Java: 11.0.17
npmPackages:
admob-plus-cordova: 2.0.0-alpha.16 => 2.0.0-alpha.16
admob-plus-cordova-native: ^1.0.0-alpha.17 => 1.0.0-alpha.17
cordova-android: ^12.0.1 => 12.0.1
cordova-browser: 6.0.0 => 6.0.0
cordova-ios: 6.2.0 => 6.2.0
Cordova:
Version: 12.0.0 (cordova-lib@12.0.1)
Plugins:
admob-plus-cordova: 2.0.0-alpha.16
admob-plus-cordova-native: ^1.0.0-alpha.17
Ionic:
Version: -
AndroidManifest.xml:
Version: -
Additional context
showNativeAd() {
const ad = new admob.NativeAd({
adUnitId: 'ca-app-pub-3940256099942544/3986624511',
})
}
The text was updated successfully, but these errors were encountered: