Inneractive seems to have a position bug when using ads.show().
Take the following code as an example:
ads.show("banner", {x = 0, y = 0, interval = 40} )
In iPhone or iPad, the above line will always show ads at top left.
But in Android, ads with narrower width is cropped from the left.
So I have to do something like this:
local model = system.getInfo("model")
local adsX
if string.find(model, "iPhone") ~= nil then
adsX = 0
elseif string.find(model, "iPad") ~= nil then
adsX = 0
elseif string.find(platformName, "Android") ~= nil then
adsX = display.screenOriginX
else
adsX = 0
end
ads.show("banner", {x = adsX, y = 0, interval = 40} )
[import]uid: 94292 topic_id: 28113 reply_id: 328113[/import]