cocos2d x - ChartboostX not loading more apps -
i using wrapper recommended ios cocos2dx game link. works when call showinterstitial()
method, when try use showmoreapps
dialog appears split second , disappears.
in appdelegate::applicationdidfinishlaunching() this
chartboostx::sharedchartboostx()->setappid("redacted"); chartboostx::sharedchartboostx()->setappsignature("redacted"); chartboostx::sharedchartboostx()->startsession(); chartboostx::sharedchartboostx()->cachemoreapps();
and when want call showmoreapps this
chartboostx::sharedchartboostx()->showmoreapps();
have @ wrapper chartboost. has been updated use latest version of chartboost sdk , works in cocos2d-x game. have not finished android documentation yet can work out if need to. documentation ios finished , quite easy follow.(fyi class adelle chartboost delegate , objective c++ class can use c++ in mixed in objective c. same adwrapper.mm)
check out , see if works you. https://github.com/lochlanna/chartboost-cocos2d-x
Comments
Post a Comment