Chartboost integration

Just tested here on my iPad and is working fine. The close button is being showed above the top-right corner banner (not inside it). Photo attached.

That is odd @renato

there are general issues with the SDK not showing graphical elements in the correct way if display.contentWidth/Heigh does not exactly correspond to the device real dimensions.  Maybe it picks location of the close button from the website and they recently changed that?

My settings: 1024 x 768 landscape and button disappearing on iPad 4 (2x images).  The button is nowhere to be seen.

Sometimes happens a bug where the ads appears without the correct scale, like, the ads filling the whole screen. But when that does not happen, it appears correctly.

@renato i have that bug as well.  usually the semitransparent background is not correct if you use letterbox set screen width to 1024 or retina and play the ad on iPhone (which is wider).  second: the gray frame is never in line with the picture/banner, which is lower below.  Chartboost first version is causing all of the above issues and now the button thing (old apps on the market for me).  The shot you have sent looks very clean: I have never seen CB so perfectly aligned with a background stretching from end to end.

To get started, add chartboost.lua to your project (in the root or any sub-directory).

Where can I find this  chartboost.lua ???

https://github.com/ChartBoost/corona-sdk

I added the chart boost.lua and added the required code at the top of my “main” file:

local cb = require “chartboost”

Now I am getting this error, can someone tell me what I’m doing wrong?

2014-01-16 12:33:18.136 Corona Simulator[901:507] Runtime error

 

chartboost_library_public.lua:3111: attempt to concatenate local ‘mod_name’ (a nil value)

 

stack traceback:

 

    [C]: ?

 

    chartboost_library_public.lua:3111: in main chunk

 

    [C]: in function ‘require’

 

    ?: in function ‘require’

 

    /Users/russm305/Desktop/Balance/main.lua:6: in main chunk

I usually copy the whole “ChartboostSDK” directory inside my game and then do

chartboost = require "ChartboostSDK.chartboost"

Okay thank you RBG!  Ran test ad in  simulator, when ad is pressed now Im getting this error:

    [C]: in function ‘setFillColor’

chartboost_library_public.lua:1181: in function ‘tryLayout’

chartboost_library_public.lua:1163: in function ‘init’

chartboost_library_public.lua:52: in function ‘CBLoadingView’

chartboost_library_public.lua:2270: in function ‘displayLoadingView’

chartboost_library.lua:2915: in function ‘impressionClickTriggered’

chartboost_library_public.lua:3042: in function ‘onClick’

chartboost_library_public.lua:2432: in function <chartboost_library_public.lua:2429>

​I’m assuming this is because chart boost has Graph 2.0 and I am using Graph 1.0.  I tried to find the code so maybe i can make some changes, but I can’t seem to find chartboost_library_public.lua

What should I do now?

I know they support Graphics 2.0, but if they did it right, it should also support the Graphics 1.0…

They have a sample code inside, you can run it to test it.

Looking at the commits on Github the latest version forces the use of Graphics 2.0.

Reference points have been changed to Anchor points and color values are fractional 0.0 to 1.0.

There’s no checking of Corona version for conditional G1 / G2 statements. 

Would either of you have a copy of the older version (Graphics 1.0)   of Chartboost?   I cannot upgrade to Graphics 2.0 because Im using an old version of Spritehelper which crashes in newer builds  :-(

You can download it form github. Just select a commit before the implementation of Graphics 2.0.

But I would recommend that because it may have bug that they fixed that can make your Chartboost not work properly

HI all:

 Today I find the app with Chartboost ads have a wired problem .

That the ads’s close button do not show up .

 This is really scare me , because user can not close the ads , the only way they can do is click the ads or click the ads.

I think next step they will remove my app !!

But this only happen on my iPad (I don’t test on iphone)  and Android is OK .

I use the no open-source chartboost  sdk . 

few day ago . their ads still ok .

Is anyone have the same case?

here the screen i captured .  the close button disappeared !!!

Screenshot.png

I’ve been experiencing the same issue starting a few days ago.  I’ve had to completely disable ChartBoost while I look into it.  You may want to try pausing or deleting your publisher campaign to stop ads from being served.

  • Andrew

I just do the same way with , pause the campaign. and write a support email to Chartboost .

Do you have any response from them?

Is anyone know update new sdk could solve this problem or not?

Br

I have the same problem with version one of the SDK, my old apps, iPad 4.  I have paused the ads and hopefully that will do the trick.

Just tested here on my iPad and is working fine. The close button is being showed above the top-right corner banner (not inside it). Photo attached.

That is odd @renato

there are general issues with the SDK not showing graphical elements in the correct way if display.contentWidth/Heigh does not exactly correspond to the device real dimensions.  Maybe it picks location of the close button from the website and they recently changed that?

My settings: 1024 x 768 landscape and button disappearing on iPad 4 (2x images).  The button is nowhere to be seen.

Sometimes happens a bug where the ads appears without the correct scale, like, the ads filling the whole screen. But when that does not happen, it appears correctly.