-
Notifications
You must be signed in to change notification settings - Fork 210
isTesting: true Not working #13
Comments
Which platform are you using? Do you able to run the example? |
@ratson This is on iOS 10. I see a message on the console that says request.testDevices: XXXXXXXXXXXXXXXX and then another message that says "To get test ads on this device, call: the same number as before except the letters in the number are no longer capital. Could this be a lowercase/uppercase issue? It works as in it shows me real ads even when isTesting is set to TRUE. It just doesn't show me test ads when it should be. Hope this helps |
Same situation for me. Here is my log output:
So it can be as you suggested issue with lowercase/uppercase. The ad is showing in the application, but it's definitely not a test ad. I've managed to fix the issue by changing the line https://github.com/ratson/cordova-plugin-admob-free/blob/master/src/ios/CDVAdMob.m#L413 to:
Does anyone know if it can impact the library in some "bad way"? |
This closes #13 where it's impossible to test ads on the iOS devices due to the fact that testDevices should be set to lowercase according to the debug message.
I just switched over to this plugin and for some reason I cannot get the isTesting: true option to work for me. It displays real ads regardless. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: