Black Square on screen ...

Hi,

I have some problems with ads on my App.

2 times on 5 a black square appear on the screen.

here is some screen shot

http://djdarko.free.fr/apk/Screenshot_2012-03-19-21-06-39.jpg

and 5 seconde later the square leave the place for the ads. some time not.

http://djdarko.free.fr/apk/Screenshot_2012-03-19-21-07-02.jpg
here is the code:

[lua]ads = require “ads”

function adListener( event )
if event.isError then
– Failed to receive an ad.
end
end

ads.init( “inneractive”, “JJKdev_anotherstepbeyond_Android”, adListener )
ads.show(“banner”, { x=0, y=0, interval=30 })

local storyboard = require “storyboard”

storyboard.gotoScene( “menu” )[/lua]

If anyone know how to fix it [import]uid: 130433 topic_id: 23577 reply_id: 323577[/import]

I’m getting this exact same issue. The big black box appears and makes my game completely unplayable!!! Is there a fix for this in a daily build or in the latest release?

Otherwise I will not be able to use ads in my game.

[import]uid: 38820 topic_id: 23577 reply_id: 97831[/import]

Good to know i’m not the only one.

I have try yesterday the last daylibuild it’s the same.

Do you get this only with inneractiv ? I try to add inmobi ads but after 2 weeks the site say pending approval …

Do you use landscape mode or portrai ? With or without storyboard ? IPhone or Android ? [import]uid: 130433 topic_id: 23577 reply_id: 97863[/import]

I get the issue using Inneractive, landscape mode, storyboard and android.

I will give InMobi a try and a different build. If I get the same issue i’ll submit a bug report. [import]uid: 38820 topic_id: 23577 reply_id: 97960[/import]

Same config for me Android storyboard landscape …

Let me know if you find something … or if you send the bug report.

in portrai with no storyboard the ads works fine !
All my InMobi information is ok and Done … but event after 2 weeks they are nothing on the screen … [import]uid: 130433 topic_id: 23577 reply_id: 97997[/import]

@l.agorce.jb

I have inmobi up and running activated and serving real ads. I’ll be testing it out throughout the day. So far so good. No problems. I will report back tomorrow with my final results. [import]uid: 38820 topic_id: 23577 reply_id: 98242[/import]

Hi, I have a same issue when using inneractive ads on landscape mode just like this issue. I use it with director. Has anybody resolve the problem?
btw i’m using corona build 776. [import]uid: 102087 topic_id: 23577 reply_id: 100273[/import]

hi - i’m having the same problem but only on Android 4.0/ICS - all others versions of Android seem OK. [import]uid: 133156 topic_id: 23577 reply_id: 100571[/import]

I just submitted a bug report.

Case 13564: Inneractive ads Black Square on screen

[import]uid: 38820 topic_id: 23577 reply_id: 100579[/import]

Ansca says this is an issue with incorrect or not enough permissions enabled in your build.settings file.

Please use the following permissions in your build.settings file:

settings =  
{  
 orientation =  
 {  
 default ="portrait",  
 supported =  
 {  
 "portrait", "portraitUpsideDown"  
 },  
 },  
  
 android = {  
 versionCode = "1",  
 components={},  
 },  
  
 androidPermissions =  
 {  
 "android.permission.ACCESS\_FINE\_LOCATION",  
 "android.permission.INTERNET"  
 }  
}  

I’ll test the permissions out tonight and report back.
[import]uid: 38820 topic_id: 23577 reply_id: 101343[/import]

Nop mine is ok :

It’s not the permission cause it’s works without the storyboard in portrait

Let me know if yours work now ?

[lua]-- Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings =
{
android =
{
versionCode = “3”
},
androidPermissions =
{
“android.permission.INTERNET”
},
orientation =
{
default = “landscape”
},
}[/lua] [import]uid: 130433 topic_id: 23577 reply_id: 101359[/import]

my build.setting is ok, but i still have this problem, but now isn’t black square, but is white square that show up. tested on ICS galaxy s2 & i use corona build 776. [import]uid: 102087 topic_id: 23577 reply_id: 102045[/import]

Mine still black …

ICS Galaxy s2 aswell. [import]uid: 130433 topic_id: 23577 reply_id: 102050[/import]

It seems that ads or at least inneractive is totolly messed up and unusable on ICS in the latest daily builds.

I see white squares of all shapes and sizes.
I see mulitple ad positions but only one real.
Daily 784 [import]uid: 28534 topic_id: 23577 reply_id: 102217[/import]

Hey guys, will see if I can get any more info on this. [import]uid: 52491 topic_id: 23577 reply_id: 102228[/import]

This is the WARN that shows up in ddms btw:

04-19 16:56:43.300: W/webview(24875): java.lang.Throwable: Warning: A WebView method was called on thread ‘Thread-3571’. All WebView methods must be called on the UI thread. Future versions of WebView may not support use on other threads. 04-19 16:56:43.300: W/webview(24875):

  1. 04-19 16:56:43.300: W/webview(24875):

loadDataWithBaseURL(WebView.java:2460) 04-19 16:56:43.300: W/webview(24875):

InneractiveAdView.java:662) [import]uid: 133156 topic_id: 23577 reply_id: 102233[/import]

Everyone,

This is the first that I’ve heard of this issue. I know we’re still using their old SDK library in Corona and it may mean we need to upgrade to their newest library to resolve it. I’ll contact inneractive to confirm this. [import]uid: 32256 topic_id: 23577 reply_id: 102300[/import]

Has there been any progress or has a bug report been raised for the problem? [import]uid: 28534 topic_id: 23577 reply_id: 103199[/import]

Unfortunately no. We could not reproduce this issue. Neither could inneractive.

There’s got to be some detail that we’re missing in order to reproduce this issue. Can you make this issue happen with our sample app “Ads/inneractive” that is included with the Corona SDK? Is there anything special about your network set up? Such as are you accessing the Internet via a proxy? Anything that you can think of would be a big help.

We plan on upgrading to the newest inneractive SDK within the next 2 weeks, but I wouldn’t bet on it fixing anything if neither inneractive or Ansca can reproduce this issue. [import]uid: 32256 topic_id: 23577 reply_id: 103371[/import]

Hi Joshua,

I have just tried the Inneractive sample app and it has the same problem.
Is shows random large white boxes poping up
It shows the ad in two places, but only one is the real ad.
EG:
If I select the “Show Fullscreen Ad” it will show the ad at top half of the screen and also at the bottom half of the screen. Only the top one is real though.

Details:
Build using the latest v.796 on Windows.
Tested on Galaxy Nexus running 4.0.2
Tested on Galaxy Nexus running 4.0.4
Tested on wifi (no proxy)
Tested on 3G/HSPDA

Ben
[import]uid: 28534 topic_id: 23577 reply_id: 103432[/import]