Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chartboost Delegate Integration Warning

I just upgraded to Chartboost SDK 5.0. It works fine and ads display but for some reason I am getting this warning:

 Chartboost Integration Warning: startWithAppId:appSignature:delegate must be called before +[Chartboost cacheInterstitial:] 

Any idea why? I'm calling startWithAppId in my AppDelegate under -(void)applicationDidBecomeActive: and then I just cache the interstitials in a different class with [Chartboost cacheInterstitial:CBLocationMainMenu];

like image 212
SaleenS7 Avatar asked Apr 12 '26 11:04

SaleenS7


1 Answers

The warning indicates that in your application startup sequence the

[Chartboost cacheInterstitial...]

call executed before you start the Chartboost session with

[Chartboost startWithAppId...].

As the developer guide tells the iOS launch sequence has the following order:

  1. application: willFinishLaunchingWithOptions
  2. application: didFinishLaunchingWithOptions
  3. applicationDidBecomeActive

So as the current Chartboost integration help suggests the [Chartboost startWithAppId..] call should go into the didFinishLaunchingWithOptions method then the caching call.

Hope this helps!

like image 152
nzs Avatar answered Apr 14 '26 23:04

nzs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!