Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Black Screen when Ad Should Show (Ad Mob Plug In0
Started by isaiahkronstad83 Nov 06 2019 03:50 AM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

isaiahkronstad83

[GLOBAL: userInfoPane.html]
isaiahkronstad83
  • Observer

  • 7 posts
  • Corona SDK

Hello,

 

I'm using the paid AdMob plugin and I am encountering a bug with showing the interstitial ad where sometimes the ad doesn't show and instead the screen turns black.

 

The AdMob plugin is setup as detailed in the documentation and I've set up the applicationChildElements as described in the build.settings.

 

I haven't tested this on iOS yet, but on Android, most of the time the ads load just fine, but sometimes there's just a black screen. There is no error. Touching the screen does nothing, but pressing the back button nav key on Android returns the app to where it was before the ad was supposed to be shown. The app then continues without any issues as if the ad was never shown. While I can get past this issue, I don't want my players to encounter this as they will think that the app crashed even though it is just the AdMob plugin.

 

I read that other developers had recently had issues with black screens showing on AdMob as well. Any suggestions on how to fix this and can the Corona team have a look at this issue?

 

Thanks!



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,681 posts
  • Enterprise

You need to tether your device to your computer and run "adb logcat" and capture the console log of the device and see what error messages you're getting. 

 

Rob




[topic_controls]
[/topic_controls]