Chartboost integration

to drop in my 2 cents…

first I have tried it with the READ_PHONE_STATE permission. it did show ads, but did NOT register my installs.

now I have the READ_PHONE_STATE removed (as written on github), and installs get recorded. the app is live and working.

Thanks @dingo, that’s great to know.

  • Andrew

Yes, thanks for testing and sharing with us. So my idea of using RevMob + Chartboost will not work (At least for Android)…

I have tested it on the iPhone and the test ads are showing but there is no real ads, but the didFailToLoadInterstitial which is fine.

Guess, there is no ads for Croatia.

How can I “trick” the system to another country (e.g. USA) ?

I would like to see how the real ads look like.

Hey, @dingo, thanks for letting us know.  Back to removing READ_PHONE_STATE permission and commenting out rotation scheme.

@ubj3d.android, got no idea how you could do it…

OK, here are some more findings:

  1. I got real ads on my iPhone, they look really nice and proffesional

  2. The ads are not perfect positioned inside the frame (nor the default nor the green one from example), they are about 10 px to much “down” - think that could be fixed by moving the frame in Photoshop a bit down

  3. This one is a game breaker - if you change orientation, the ad goes away but the grey area covering the whole screen stays and it is unresponsive (have to remove the game from memory)

I have set orientation “landscape” in their dashboard.

  1. after some time ads stop showing - maybe they have some kind of protection to not spam the system

OK, managed to position the ad inside the frame by editing the frame picture in Photoshop (moved it a bit down).

Good catch @ubj3d.android on your #3.  I can reproduce that error in the Simulator too.  The issue is a run-time error being generated by the module.  The following is printed to the terminal.

onOrientationChange

Error creating layout for impression: chartboostlibrary.lua:3773: attempt to cal

l local ‘frameImage’ (a nil value)

I’ve emailed ChartBoost about it.

  • Andrew

Found a solution for this, although it is not perfect.

  1. Enable both orientations in their dashboard

  2. Upload frames for both orientations

My game is landscape only.

If I turn the phone portrait, the ad is shown in portrait but with 90 degrees rotation.

At least it doesn’t crash or freeze. I can leave with that for now :slight_smile:

Regards,

Damir.

@aukStudios

if you go to their github page you can see that I have logged this bug (under “issues”) and chartboost has acknowledged it. Strange that it isn’t fixed yet considering there have been a few checkins. 

Like ubj3d.android I also found that uploading a custom frame and allowing Portrait or Landscape in chartboost works (some more details on page one of this thread:)). 

Hey, @ubj3.android and @hgbrian (and anyone else who can help), for the life of me, I cannot find where I am to upload the custom frame.   Where on dashboard can it be?  I must be missing something simple, but I just don’t see it.  Please help.

Naomi

Edit your app, open “Promote other apps”…

Regards,

Damir.

Hey, Damir @ubj3d.android, thank you so much.  I appreciate it.

Naomi

Is this orientation bug only on Android? It is working fine for me on IOS (ipad2 and iphone5) I did not have to upload any frame graphic. The only thing i see is that the change from landscape (my app is) to portrait seems to be very sensitive and kind of annoying! Still the ad change to portrait and back, it does not crash the app…

Mo

Hi Mo,

the issue with orientation change is there on iOS, not sure about Android as I have no tested there.

It occurs if you enable only “landscape” orientation in their dashboard.

And yes, the change from landscape to portrait is very sensitive and happanes even when you do not turn the phone to portrait.

Not perfect, but at least it works…

I just tried their wall, but it look very bad.

Anyone else tried the wall ?

@ubj3d.android  THANKS. I did not realize that I had checked both orientations on the Chartboost dashboard. Thank you also for confirming that the orientation is very sensitive. Not too much of a big deal at this point. Just more like annoyance! I did not try the wall yet. Is that bad!?

Mo

Well, the wall is not working for me.

Better said, it looks unusable…

Regards,

Damir.

I have this running on Android, but every once in a while the underlying lock screen they use behind the ad does not go away with the ad when the user presses the x… It stays on the screen and prevents the user from clicking on anything, the only way out is to kill the app… Has anyone seen this behavior? I am using the cache function in my game scene, then showing the ad after the user is finished with the move summery overlay… it works correctly nine out of ten times at least.

Thanks

Mike

@Mike Yikes. I haven’t seen that (yet), however I think you should email them about it. They are very responsive and email is their preferred way of reporting potential bugs in the Chartboost module.

I did email them… They are just a little slow on the response… Hopefully they have an easy answer.

Thanks