我想在其中集成全屏 RevMob 广告并能够添加它,但是当我尝试单击广告以打开它并同时关闭添加两者时,有时会收到 didRemoveListener nil 值的错误。请给出任何建议如何解决这个问题..谢谢
local storyboard = require "storyboard"
local RevMob = require("revmob")
display.setStatusBar(display.HiddenStatusBar)
local fullscreen
local revmobListener
local storyboard = require "storyboard"
local REVMOB_IDS = {
["Android"] = "",
["iPhone OS"] = ""
}
RevMob.startSession(REVMOB_IDS)
RevMob.setTestingMode(RevMob.TEST_WITH_ADS)
local function ShowAds()
fullscreen.RevMob.createFullscreen()
RevMob.showFullscreen(revmobListener, REVMOB_IDS)
end