-
-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Hello,
When I test my app on ios simulator I can see test admob banner.
After published my app on iTunes, banner not shown on real device.
Do you have any idea where is my problem?
My ti.admob release version is 2.1.0 which I implement my project.
var $Admob = require('ti.admob');
if (OS_IOS) {
Alloy.Globals.AdmobPubliserId = "ca-app-pub-2223887693172102/xxxxxxxx";
}
if (OS_IOS) {
var $AdmobIOS = $Admob.createView({
height: 50,
top: 0,
debugEnabled: true,
adBackgroundColor: 'black',
adType: $Admob.AD_TYPE_BANNER,
adUnitId : Alloy.Globals.AdmobPubliserId,
testDevices : [$Admob.SIMULATOR_ID]
});
$AdmobIOS.addEventListener('didFailToReceiveAd', function() {
$FncTiApiInfo("Admob not received!");
$.resetClass($.Admob, "hide");
});
$.Admob.add($AdmobIOS);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels