All
Hey guys,
I can’t get chartboost to work. I already managed to get RevMob and Vungle working without any problems
but this Chartboost… I followed instructions on GitHub - didn’t worked, I place the code from sample, again it doesn’t. It should show an add when I click play So this is what I did.
Main.lua - it’s not the whole main.lua
local cb = require "ChartboostSDK.chartboost" cb.create{ appId = "382ijfdekd...", appSignature = "cskamclsakm..", delegate = nil, appBundle = "com.mybundle..." } cb.startSession()
Menu.lua - not whole menu
local cb = require "ChartboostSDK.chartboost" cb.create{ appId = "djnskvdlv....", appSignature = "3289fhjkd...", delegate = nil, appBundle = "com.mybbundle..." } cb.startSession() local maskPPress = function( event ) if ads.isAdAvailable() then ads.show( "interstitial", { isBackButtonEnabled = true } ) else cb.showInterstitial() -- RevMob was here before and it was working end timer.cancel(tmr) timer.cancel(tmr2) timer.cancel(tmr3) timer.cancel(tmr4) tab:removeSelf() storyboard.purgeScene("menu") storyboard.gotoScene("levelselect","fade",200) end
Eve
Hey guys,
I can’t get chartboost to work. I already managed to get RevMob and Vungle working without any problems
but this Chartboost… I followed instructions on GitHub - didn’t worked, I place the code from sample, again it doesn’t. It should show an add when I click play So this is what I did.
Main.lua - it’s not the whole main.lua
local cb = require “ChartboostSDK.chartboost” cb.create{ appId = “382ijfdekd…”, appSignature = “cskamclsakm…”, delegate = nil, appBundle = “com.mybundle…” } cb.startSession()
Menu.lua - not whole menu
local cb = require “ChartboostSDK.chartboost” cb.create{ appId = “djnskvdlv…”, appSignature = “3289fhjkd…”, delegate = nil, appBundle = “com.mybbundle…” } cb.startSession() local maskPPress = function( event ) if ads.isAdAvailable() then ads.show( “interstitial”, { isBackButtonEnabled = true } ) else cb.showInterstitial() – RevMob was here before and it was working end timer.cancel(tmr) timer.cancel(tmr2) timer.cancel(tmr3) timer.cancel(tmr4) tab:removeSelf() storyboard.purgeScene(“menu”) storyboard.gotoScene(“levelselect”,“fade”,200) end
I got it working all I had to do is add campaign in chartboost dashboard. I haven’t seen that before so I got confused.