iAds

As soon as I display an iAd (banner or interstitial), the multitouch functionality of my app is broken.
It happens only after displaying an iAd.

Even calling “system.activate(“multitouch”)” does not work. Not even when I call DEactivate(“multitouch”) before.

Did anybody else experience this problem? [import]uid: 24497 topic_id: 34226 reply_id: 139928[/import]

Hi Matthias,

I’ll put this in a testbed and report back with the findings.

Alex. [import]uid: 196533 topic_id: 34226 reply_id: 139929[/import]

Confirming the above. Multitouch does not work anymore after displaying iAds.

Would you please be so kind to file a bug under http://developer.coronalabs.com/content/bug-submission?

Thanks,
Alex. [import]uid: 196533 topic_id: 34226 reply_id: 139933[/import]

Hi… Just added iAd to my game…

What I would like to know is, is there anything extra I must do for “testing” iAds?
Or is it that, building with development profile will display test ads and building with distribution profile will display normal ads/ [import]uid: 64174 topic_id: 34226 reply_id: 139383[/import]

Hi Alex,

thanks for comfirming the bug. I will file a bug now.
Can you say something about which priority this bug will become, since the iAds just “slid” into the daily builds more or less by the way. [import]uid: 24497 topic_id: 34226 reply_id: 140044[/import]

As soon as I display an iAd (banner or interstitial), the multitouch functionality of my app is broken.
It happens only after displaying an iAd.

Even calling “system.activate(“multitouch”)” does not work. Not even when I call DEactivate(“multitouch”) before.

Did anybody else experience this problem? [import]uid: 24497 topic_id: 34226 reply_id: 139928[/import]

Hi Matthias,

I’ll put this in a testbed and report back with the findings.

Alex. [import]uid: 196533 topic_id: 34226 reply_id: 139929[/import]

Confirming the above. Multitouch does not work anymore after displaying iAds.

Would you please be so kind to file a bug under http://developer.coronalabs.com/content/bug-submission?

Thanks,
Alex. [import]uid: 196533 topic_id: 34226 reply_id: 139933[/import]

Hi Alex,

thanks for comfirming the bug. I will file a bug now.
Can you say something about which priority this bug will become, since the iAds just “slid” into the daily builds more or less by the way. [import]uid: 24497 topic_id: 34226 reply_id: 140044[/import]

Hi Alex,

I’m trying to use iAds on iPad, but when I set the property y=40 like:

ads.show("banner", {x=0, y=40, testMode=false});  

The banner is well positioned on iphone, but it is some pixels above on iPad, and on the iPad retina I have the same problems, but this time the distance between the real position and wanted position is minor.

Is this happening to anyone else?

Thanks for your help

Juan Cruz [import]uid: 112380 topic_id: 34226 reply_id: 141610[/import]

Yeah I had the same problem, I used y=display.contentHeight in the end and that put the banner right at the bottom on all devices.

So maybe you can do something using display.contentHeight to make it look right.

Just waiting for Multitouch to be fixed now :frowning:

Dave [import]uid: 117617 topic_id: 34226 reply_id: 141667[/import]

Hi guys,

@thedavebaxter: the multitouch bug will most probably be solved in tomorrow’s daily build.

@juan.cdc: which type of content scaling are you using? zoomEven? letterBox?

Alex [import]uid: 196533 topic_id: 34226 reply_id: 141674[/import]

Hi Alex,

I’m using letterBox, and using the configuration mention on this blog post:

www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/

I haven’t seen this error before submiting the app to apple, and Apple rejected it, they comment was that the ad space was misplaced, and that also sometimes the ads are just a white square, is this the common behavior when the ad fails to load?

Thanks for your support
Best regards

Juan Cruz [import]uid: 112380 topic_id: 34226 reply_id: 141675[/import]

Also waiting for the multitouch bug fix…
thx for the info @alexF [import]uid: 9592 topic_id: 34226 reply_id: 141834[/import]

@alexf, what happened to the rotation bug fix? It’s definately not working in the latest daily enterprise build. Also the positioning is freaky, on iPad we have to position the banner -20 on the x axis to use the whole screen width.

iads.show(“banner”, { x = iPad and -20 or 0, y = screenB - (iPad and 10 or 20), testMode = true }) [import]uid: 21746 topic_id: 34226 reply_id: 141896[/import]

@haakon:

both the rotation and the multitouch bugs have been fixed in the latest enterprise build (1024).

Which iOS and orientation are you having the -20 problem on? Tried 6.0 in portrait and landscape and could not replicate…

AlenB, thedavebaxter, everybody: the last Corona SDK daily build (1024) also fixes the rotation and the multitouch bugs.

Thank you for your patience, and please let me know case anything should still be wrong.
Alex. [import]uid: 196533 topic_id: 34226 reply_id: 141955[/import]

Cool, will check it out immediately.

Found this bug too, btw, is that handled as well in the new build?

If iAd is unable to show an ad (an error occurs), a white frame is displayed in the view. Since you have used the Apple example project when creating the plugin, this bug happens:

In Apples example, they move the ad frame (the white frame) -50px on the y axis to get it off the screen. That’s cool as long as banners are shown at the top of the screen. In our case, we’re showing banners at the bottom of the screen, so when this happens (which is very often), a white frame pops up 50 px above the bottom of the screen. [import]uid: 21746 topic_id: 34226 reply_id: 141956[/import]

@haakon:

We actually did not use anything from the Apple’s example in creating the plugin. We just looked at the Apple examples to see if the bugs we found are replicable in there as well.

In the actual implementation, the view is hidden if the delegate method returns an error upon loading the ad. So if you have a white frame on the screen, then the delegate method does not return an error.

I’ll look into this.

Alex [import]uid: 196533 topic_id: 34226 reply_id: 141957[/import]

Hi Alex,

many thx for the info!

-Alen [import]uid: 9592 topic_id: 34226 reply_id: 141961[/import]

Just to let everyone know, my app was approved yesterday using iAds. I only display a banner across the bottom of the titlescreen and it’s a portrait app.

Sending a update today with MultiTouch enabled (just test on device and working fine) :slight_smile:

Dave [import]uid: 117617 topic_id: 34226 reply_id: 141962[/import]