chart boost in the simulator

im curently using chart boost plugin though i cannot get it to work within the simulator. im getting the error message:

the chartboost plugin is only supported on an android and ios device please build for devices…

surely this can be tested on the simulator without having to build on the device everytime?

If you don’t want to build for device, you can build for and test in the Xcode simulator. It’s not possible to test in the Corona Simulator.

It’s not a limitation of the plugin. There’s simply no Chartboost SDK for the Corona Simulator.

im running the demo code from github with my app id and app signature and receiving “please cache ad” even when i press “cache add” any idea how to resolve?

Check your log output (device log on iOS, logcat for Android). You’ll see the results of your ad cache request there.

Please note that on iOS you may see Error 5: (Network error). If you do it should be Error 6 (no ad found). This is a Chartboost SDK fault which will be fixed in their next release due out soon. This error-code mixup doesn’t affect the plugin though. It still performs as it should. Android reports errors correctly.

It looks like you are not getting any ads served for your device and app-id/sig combination. You can try to activate test-mode in your Chartboost web-console to get test ads (unless the id/sig is for a live app).

Please remember that it takes about 30 minutes for any changes you make in the Chartboost web-console to take effect.

im getting nothing in the logcat(eclipse) its compiled through pro and not enterprise if that makes any difference.

tried different filters etc…

the id sig is for a live app, test mode is enabled(it should disable after 20 impressions) i have had zero.  not sure what to do…

Pro works just fine. That’s what I use when I test the plugin.

I don’t use Eclipse, so I don’t know what may be wrong. I’m certain that the Sample app logs output to the Android logcat.

Filter for Corona. Logs are simple print statements so they will be tagged as Corona log-statements.

The Sample app is the best way to find our what’s wrong as it’s a common point where I know it works on my Android devices, and it will work on other’s as well. Test mode takes about 30 minutes to propagate after you set it, however if this is a live app, you’ll be giving your users test ads which may not be what you want. Also since test ads are automatically deactivated after 20 impressions you might not have a chance to see any test ads as your users might “steal” them from you. If your app is popular those 20 impression will get eaten up quickly.

Anyway, we need to see what’s going on in the log. I use the command line while running the app and use the following command to access the logs and filter Corona log-entries:

adb logcat | grep Corona

You should start the above command *before* you start the app, as it will display the events in real-time.

i was running logcat via eclipse. system was printing everything except any reference to corona or the app package(using the filters).  out of no where now it just started working. i hope its not this temperamental…

thanks for all your help!

For me Eclipse (and other Java based IDEs) have always been prone to awkward behavior so I gave up on them a long time ago.

I prefer having a set of scripts and working from the command line when debugging Corona apps for Android.

command line did the trick! i have no idea why it wasnt working, its working fine now… with this plugin can the plugin creator see how many adds you are getting per day and is the plugin hosted with corona or the developer?

I’m the one who developed the Corona Chartboost plugin that you’re using. There’s no tracking code in the plugin so I can’t see who’s using it or how many ads are being served. It’s just an interface between Corona and the native Chartboost SDK.

The plugin is hosted on Corona’s servers.

ahh nice work man!!

thanks for the plugin, appreciated…

If you don’t want to build for device, you can build for and test in the Xcode simulator. It’s not possible to test in the Corona Simulator.

It’s not a limitation of the plugin. There’s simply no Chartboost SDK for the Corona Simulator.

im running the demo code from github with my app id and app signature and receiving “please cache ad” even when i press “cache add” any idea how to resolve?

Check your log output (device log on iOS, logcat for Android). You’ll see the results of your ad cache request there.

Please note that on iOS you may see Error 5: (Network error). If you do it should be Error 6 (no ad found). This is a Chartboost SDK fault which will be fixed in their next release due out soon. This error-code mixup doesn’t affect the plugin though. It still performs as it should. Android reports errors correctly.

It looks like you are not getting any ads served for your device and app-id/sig combination. You can try to activate test-mode in your Chartboost web-console to get test ads (unless the id/sig is for a live app).

Please remember that it takes about 30 minutes for any changes you make in the Chartboost web-console to take effect.

im getting nothing in the logcat(eclipse) its compiled through pro and not enterprise if that makes any difference.

tried different filters etc…

the id sig is for a live app, test mode is enabled(it should disable after 20 impressions) i have had zero.  not sure what to do…

Pro works just fine. That’s what I use when I test the plugin.

I don’t use Eclipse, so I don’t know what may be wrong. I’m certain that the Sample app logs output to the Android logcat.

Filter for Corona. Logs are simple print statements so they will be tagged as Corona log-statements.

The Sample app is the best way to find our what’s wrong as it’s a common point where I know it works on my Android devices, and it will work on other’s as well. Test mode takes about 30 minutes to propagate after you set it, however if this is a live app, you’ll be giving your users test ads which may not be what you want. Also since test ads are automatically deactivated after 20 impressions you might not have a chance to see any test ads as your users might “steal” them from you. If your app is popular those 20 impression will get eaten up quickly.

Anyway, we need to see what’s going on in the log. I use the command line while running the app and use the following command to access the logs and filter Corona log-entries:

adb logcat | grep Corona

You should start the above command *before* you start the app, as it will display the events in real-time.

i was running logcat via eclipse. system was printing everything except any reference to corona or the app package(using the filters).  out of no where now it just started working. i hope its not this temperamental…

thanks for all your help!

For me Eclipse (and other Java based IDEs) have always been prone to awkward behavior so I gave up on them a long time ago.

I prefer having a set of scripts and working from the command line when debugging Corona apps for Android.

command line did the trick! i have no idea why it wasnt working, its working fine now… with this plugin can the plugin creator see how many adds you are getting per day and is the plugin hosted with corona or the developer?

I’m the one who developed the Corona Chartboost plugin that you’re using. There’s no tracking code in the plugin so I can’t see who’s using it or how many ads are being served. It’s just an interface between Corona and the native Chartboost SDK.

The plugin is hosted on Corona’s servers.