local function listener( event ) if( event.type == "rewardedVideo" and event.phase == "closed" ) then -- skipped the ad elseif( event.type == "rewardedVideo" and event.phase == "reward" ) then -- watched the ad end return true end chartboost.init( { appID = appID, appSignature = appSignature, listener = listener } )
It was easy to miss. The Chartboost docs hosted on Corona’s server specified the change, however my own docs on GitHub do not mention it as it was separate from Gremlin Interactive’s plugin. In January CoronaLabs told me they didn’t want the Chartboost docs on their servers and asked me to provide another means of providing my own docs, which I already had on GitHub.
Anyway there’s no urgency to change, as I have no intention to remove event.phase any time soon.
local function listener( event ) if( event.type == "rewardedVideo" and event.phase == "closed" ) then -- skipped the ad elseif( event.type == "rewardedVideo" and event.phase == "reward" ) then -- watched the ad end return true end chartboost.init( { appID = appID, appSignature = appSignature, listener = listener } )
It was easy to miss. The Chartboost docs hosted on Corona’s server specified the change, however my own docs on GitHub do not mention it as it was separate from Gremlin Interactive’s plugin. In January CoronaLabs told me they didn’t want the Chartboost docs on their servers and asked me to provide another means of providing my own docs, which I already had on GitHub.
Anyway there’s no urgency to change, as I have no intention to remove event.phase any time soon.