In the demo app, I've changed so that testing is set to false everywhere, and no ads are shown on real device, at least on Android.
For interstitial ads, when I try to preload the add I see the message at the top of the app: Error preloading interstitial: 3 and for preload rewarded ads I get error 1.
On the emulator, the code shows the Test ad, even thought I've set testing to true, probably because I ran the code once with testing to true and now the emulator is marked as testing device.
I also see the following error in the console, but I don't think it's relevant, as it's shown even when the test ads work:
Successfully synced application org.nativescript.admobdemo on device emulator-5554.
chromium: [INFO:library_loader_hooks.cc(50)] Chromium logging enabled: level = 0, default verbosity = 0
chromium: [ERROR:filesystem_posix.cc(89)] stat /data/user/0/org.nativescript.admobdemo/cache/WebView/Crashpad: No such file or directory (2)
chromium: [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/org.nativescript.admobdemo/cache/WebView/Crashpad: No such file or directory (2)
In the demo app, I've changed so that
testing
is set tofalse
everywhere, and no ads are shown on real device, at least on Android.For interstitial ads, when I try to preload the add I see the message at the top of the app:
Error preloading interstitial: 3
and for preload rewarded ads I get error 1.On the emulator, the code shows the Test ad, even thought I've set
testing
totrue
, probably because I ran the code once withtesting
to true and now the emulator is marked as testing device.I also see the following error in the console, but I don't think it's relevant, as it's shown even when the test ads work: