How can we handle callbacks to the app when 3rd party SDK delegates fires? The lua_State is unknown to the delegates.
We’ve created Enterprise plugins for Chartboost, Airpush and TapJoy, and all of them have a neat set of delegates we’d like to subscribe to. As an example, Chartboost has a caching system, where we call Chartboost cacheInterstitial. When Chartboost is done loading the interstitial in the background, the delegate method didCacheInterstitial is invoked. But it does not know about the lua_State, so how do we make use of the delegate to report back to the Corona app?
Hey! The ads-provider Project Template solves this scenario nicely I think I have what I need now, if not, I’ll post here again. [import]uid: 21746 topic_id: 34514 reply_id: 137228[/import]
Hey! The ads-provider Project Template solves this scenario nicely I think I have what I need now, if not, I’ll post here again. [import]uid: 21746 topic_id: 34514 reply_id: 137228[/import]
Hi, take a look at the above mentioned example. You create a reference to the CoronaRuntime when calling the class constructor, and in your delegate implementation you can get the CoronaRuntime back from there.
Hi, take a look at the above mentioned example. You create a reference to the CoronaRuntime when calling the class constructor, and in your delegate implementation you can get the CoronaRuntime back from there.
I’m developing a plug-in for Chartboost.
I can easily load Chartboost interstitial banner.
But I’m unable to override the delegate methods (didCloseInterstitial, didFailToLoadInterstitial, didCacheInterstitial) etc.
Can you guys please guide me to solve this problem. I am new to enterprise and Objective-C.
[import]uid: 40227 topic_id: 34514 reply_id: 140634[/import]
I’m developing a plug-in for Chartboost.
I can easily load Chartboost interstitial banner.
But I’m unable to override the delegate methods (didCloseInterstitial, didFailToLoadInterstitial, didCacheInterstitial) etc.
Can you guys please guide me to solve this problem. I am new to enterprise and Objective-C.
[import]uid: 40227 topic_id: 34514 reply_id: 140634[/import]