AdMediator fix for new iPad

You can fix the AdMediator ad sizing for the new iPad by replacing AdMediator.viewportMetaTagForPlatform in AdMediator.lua with the version below. Just a temp fix until deniz tackles it.

[code]
function AdMediator.viewportMetaTagForPlatform()

– Default for iPhone/iTouch
local meta = “”
local scale = 1/display.contentScaleY

if platform == PLATFORM_ANDROID then

meta = “”

elseif runningOnIPAD then

local width = 320

if dontScaleOnIPAD then
scale = 1
width = 160
else
scale = math.min(2.1333333333333, scale)
end

meta = “”
end

return meta

end
[/code] [import]uid: 36054 topic_id: 23462 reply_id: 323462[/import]