Hi all,
I’m using the Basic license of Corona SDK. I created a project with inMobi Provider Plugin:
http://docs.coronalabs.com/daily/plugin/ads-inmobi/index.html
All is working fine on smartphones, but on Tablets I can’t see the interstitial and the banners with the right size. I mean, on Tablets the sizes are the same sizes than on a Smartphone, so the interstitial is not at full screen and the banner shows very small.
In the sample project, they resolve this only in iOS:
https://github.com/coronalabs/plugins-sample-ads-InMobi
But, what can I do to show the correct sizes on Android Tablets?
This is my code for the banner:
–Inmmobi
local adNetwork = “inmobi”
local ads = require “ads”
–Banner
local appID = “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
ads.init( adNetwork, appID )
ads.show( “banner”,
{
x = (display.contentWidth / 24),
y = 0,
interval = 40,
testMode = false
})
And this for the interstitial:
--Inmmobi
local adNetwork = “inmobi”
local ads = require “ads”
– Interstitial
local appID = “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
ads.init( adNetwork, appID )
ads.show( “Interstitial”,
{
x = display.contentWidth / 2,
y = display.contentHeight / 2,
interval = 30,
testMode = false
})
Any idea?
I’ll appreciate any help in this regard.
Thanks a lot.