Chartboost on iPhone 6/6 Plus?

@joe528

My plugin in 100% compatible with Gremlin Interactive’s plugin interface. So you don’t need to change anything to get your old code to work (except change the publisherId in your build.settings). Once you’ve done that, just compile, and everything will function the same as before.

However this plugin is a re-write in many ways as the old function syntax has been modified and new functions have been added.

To see the differences, I recommend looking at the documentation link I posted above. In it you’ll find the changes you’re asking about and also some deprecated items. I’d recommend to click on the chartboost.init() and chartboost.cache() links as they will provide you with in-depth info on the “event-tree” and different recommended locations to use. 

Please note that my documentation only refers to the new function syntax. However, as I mentioned above, the plugin is 100% compatible with the old plugin syntax, so you don’t *need* to change your code for the plugin to function properly.

My recommendation is to change it though, and that new projects should use the new syntax. Again, if you’re in a time-crunch you don’t need to worry as the old syntax will work.

@ingemar

I asked if you had modified the plugin because I had two problems with the original plugin made by Gremlin:

(1) My users have been complaining the storage size of my app keeps growing. I have a function in my app to delete all files in temporary & cache directories and it was working well. However, recently (after I started to use Chartboost plugin) even if I deletes these files, the storage size is still growing, so I am guessing if Chartboost plugin stores cache ads in “Document directory”?

(2) Before I started to use Chartboost plugin, there was no complaints about any crash in my app. But after I started to use it, I got many crash complaints from my users. Therefore I immediately updated my app by removing Chartboost plugin, there was no more complaints about crash. So I was pretty sure Chartboost plugin had caused it.

     Hence, I told Gremlin (before they gave up the plugin) about the crash, they “tried” to fix some possible crash. So I included Chartboost plugin again, however I still get crash complaints now and then (although not as many as before). Since the crash does not happen very often (comparing to the user base I have) & I still see revenues from Chartboost, so I decided that I have to live with it.

     

Since you have rewritten it in many ways, I am actually glad to know and see if the problems above can go away, especially the crash problem.

@joe528

(1) My plugin doesn’t have any knowledge about where the cached ads are stored. It merely uses the underlying Chartboost SDK to cache ads. I’d assume that Chartboost have implemented methods to clear up their cache so that ads do not increase storage size. In this case you would need to report it directly to Chartboost as I have no control over it.

(2) I’ve rewritten most of the code, and since there’s no licensing involved anymore there are less places where things can go wrong. My plugin is basically just a simple interface between Corona and the Chartboost SDK with as little logic as possible. This eliminates the number of possible error-points.
I’m using Chartboost in my own apps and other Corona developers have implemented my plugin as well. I haven’t been notified of any crashes from any of the other developers or my own users.

@joe528
Quick question regarding the crashes. Are the crashes for Android, iOS or both?

@ingemar

The crash case is for iOS.

Do you plan to update the plugin in these two days? I am going to publish a new version of my app. But if you are going to do something for the plugin, I will wait.

@joe

I was told by one of the Chartboost engineers that they are planning a new release of their SDK (version 5.0.4). When that happens I will update the plugin. They couldn’t give me an exact release date, they only said that it would be released “soon”.

A few recommendations:
Static interstitials work great on iOS and Android, but I would stay away from video interstitials at the moment on Android. Their SDK is a bit buggy on older Android versions. In my testing video interstitials work perfectly on the latest Android 4.4.4, but on android 4.0.x it hangs the app. On iOS it’s OK so far, but I’m going to wait for Chartboost Videos to mature a few versions before I start using their video interstitials in my own apps.

@ingemar

Thanks for the recommendation. I am not using video ads at this point, and I will wait for it to mature before I start to use it.

Another question about the crash… do you think the crash might be caused by the Chartboost SDK or is there any possibility that it might be caused by the plugin? 

@joe

It’s difficult to say since I’ve re-written most of the code. Do you know where the crash occurred?

@ingemar

I have never reproduced the crash actually. Therefore I don’t know where it occurs. I will upload a new version of my app with the new Chartboost plugin and see if users still complains about any crash. If not, it might get fixed somehow. Let’s see. Thanks for your help.

@ingemar

Just let you know… after I use the new Chartboost plugin, I receive no more complaints from iOS users about any crash (already published over a month).

By the way, how’s the plugin going? any new update? What’s the Chartboost SDK version used now?

@joe528

Sounds great!

I released a new version last week. You may want to subscribe to the following thread as I post updates there:

http://forums.coronalabs.com/topic/51778-ios-8-compatible-chartboost-plugin-released

Current Chartboost versions:

iOS SDK 5.1.2

Android SDK 5.1.0

Great, thanks, I am following the thread now.

@ingemar

Just let you know… after I use the new Chartboost plugin, I receive no more complaints from iOS users about any crash (already published over a month).

By the way, how’s the plugin going? any new update? What’s the Chartboost SDK version used now?

@joe528

Sounds great!

I released a new version last week. You may want to subscribe to the following thread as I post updates there:

http://forums.coronalabs.com/topic/51778-ios-8-compatible-chartboost-plugin-released

Current Chartboost versions:

iOS SDK 5.1.2

Android SDK 5.1.0

Great, thanks, I am following the thread now.