When this happens, do you see any error messages in the terminal (using adb logcat)?
I’m not experiencing this on an Android device running Android 2.2
- Andrew
When this happens, do you see any error messages in the terminal (using adb logcat)?
I’m not experiencing this on an Android device running Android 2.2
I have not been near a dev PC yet when it happened… I am only testing on two devices … Android 4.2 and 4.3 It is happening on both. I’ll let you know.
OK. It’d also be interesting to know whether you experience this on the Corona simulator.
I assume you’re using the very latest ChartBoost plugin, right? They haven’t updated it in a few weeks, but prior to the last update, there were a number of bugs, including some that would cause the behavior you’re describing.
I am using the latest build, downloaded on Monday.
That’s a great question about the simulator, I have not tried it enough on the simulator to find out, but will do so this morning… It’s pretty sporadic but its a great excuse to play a game and get paid for it!
I have contacted them about the bug and got an answer they are aware of it and will push a fix.
Regards,
Damir.
I’m getting didFailToLoadInterstitial. When this happens, it fails to show Chartboost ad and my app hangs. If I add something like showMyOtherAds and cb.cacheInterstitial to this delegate, it goes haywire for me. Basically, it gets trapped in the loop – keep failing to cache the ad and hitting didFailToLoadInterstitial over an over.
For now, I decided not to use didFailToLoadInterstitial at all, and when cb.hasCachedInterstitial() is true, I call cb.showInterstitial(), otherwise, I simply call showMyOtherAds() and cb.cacheInterstitial().
But the problem is, once my device started getting didFailToLoadInterstitial, it doesn’t seem to cache any ad at all any more, which results in not showing Chartboost ad at all.
Would it correct itself eventually?
Naomi
Edit: It corrected itself – meaning, I see the Chartboost ads again.
Do you call cb.cacheInterstitial() within didFailToLoadInterstitial? I can see that causing a recursive loop when no ads are available. You should be able to call your showMyOtherAds() without a problem though, but cb.cacheInterstitial() should definitely be moved out and put elsewhere.
I’ve tested didFailToLoadInterstitial and I call my RevMob fullscreen function from there and it works fine.
Hey, @ingemar, thank you so much for your feedback. Yes, I had the cb.cacheInterstitial() within didFailToLoadInterstitial, because I thought if it failed to load from cache, it must need a new one cached. I also call cb.cacheInterstitial() at the launch of the app, and I do not want to call showMyOtherAds() when it fails to cache at the start of the app. So, that leaves me two options. One, do not add showMyOtherAds() in didFailToLoadInterstitial, or two, ad a flag telling it’s at the launch or not, and if it’s at the launch, don’t call showMyOtherAds(). I decided not to use the flag and leave the didFailToLoadInterstitial empty.
What I do is call cb.hasCachedInterstitial(), and if it returns true, call cb.showInterstitial(), otherwise, I call showMyOtherAds() and cb.cacheInterstitial().
I also call cb.cacheInterstitial() immediately after the Chartboost ad is displayed (thinking it would fetch and cache a new ad.)
Is this a best practice? (With Vungle, they automatically update the cached ad immediately after the cached version is displayed, but I’m not sure if Chartboost does that, and that’s why I’m calling cb.cacheInterstitial() after it fails to load cached ad or finish showing the cached ad.)
Any thoughts?
Naomi
Hmmm. On my Amazon build I get this in my log:
“Chartboost: network reachability not supported on this platform”
@ingemar, that is odd. Did you notify Chartboost support? And if you did, I’d like to hear what they say in response.
Naomi
I’m still investigating if it’s my fault or not
@everybody
Anybody know the difference between didDismissInterstitial and didCloseInterstitial?
didDismissInterstitial will always fire when you tap the ad to view in the app store or close the ad using the close button.
didCloseInterstitial will fire when the close button is tapped.
didClickInterstitial will fire when the ad is tapped to view in the app store.
I have, experienced the interstitial appear in front of my content although it doesn’t happen often at the moment…
Best,
Martin.
Thanks, that makes sense.
I think that the message I’m getting on Android (“Chartboost: network reachability not supported on this platform”) is just a notice that the device can’t detect network status changes.
I’m getting Chartboost ads on my Google Play and Amazon builds.
cb.showMoreApps()
https://help.chartboost.com/documentation/moreapps#moreappspub
What a boon that function is! Still getting used to the Chartboost portal. Much more to it than RevMob. cb.showMoreApps() alone is worth integrating Chartboost.
Best,
Martin.
The wall shown with cb.showMoreApps() is unusable as it is displayed in my game.
(only 1 game shown without any text, no close button…)
Hum… I too see only one game when using more games BUT I am getting a close button (top right) I am not sure only one game. Maybe it takes time to populate but also maybe I am setting the system wrong? The good thing about it is that player is taken to the App Store right away and stay inside your game in case the ad is not really appealing to them. Will love it if some can get more apps in the more games. More games more chance to get a download! Cheers. Mo
GOT IT! All you have to do is that add your campaign over and over (so if want 5 games to show up then add the same campaign 5 times! Each slot is filled with a different game! For some reason I can seems to add a specific game that is on the App Store (mine for cross promotion) but I am sure we can do it.
Enjoy!
Mo
EDIT: if you called your campaign “more games” just added and over and over to the list…
EDIT 2: I can see at least one repeat (the slots game right now) in my list of 5 games)
EDIT3: anybody able to add own app to the list? I will assume I just need to start typing my app name but nothing is showing on the list?
Not sure if this is any use but this is how I did it for iOS
For each app:
Login
Apps->Add App
iOS Search App Store to populate remaining fields.
Tick both Portrait & Landscape for App Orientation to avoid orientation bug.
Also select a default orientation.
For the app you want the More Apps wall to appear:
Apps-Overview click on App Name
Click More Apps page at the bottom
Click Add All Apps (located at the top of the iPhone image)
One of my app icons in the More Apps screen on device took a few minutes to populate (network propagation delay) but other than that it went well.
There’s a bunch of functions on github and I’m quite sure I don’t know what many of them do…
I’ll probably serve my full screen ads like this: Chartboost (if fail) ->RevMob (if fail) -> Leadbolt app wall. I may not bother with Leadbolt app wall. I’ve used it before (without going via Lunar Ads) and it’s 3rd behind RevMob and iAD.
Best,
Martin.
I’m trying to find where the frame is so I can move it down to line it up with the ad properly as mentioned previously. Where is this stored??
You upload your frames from the Chartboost Dashboard.
Select your app from the Apps page to start editing.
In the Editing window select the “Promote other apps section”. There you’ll find “browse” buttons where you can select your graphics for frames and close-buttons.
NOTE: The offset is a bug which will be fixed in a future update meaning that you’ll need to adjust your frames again once the fix is in place.