# InMobi not playing nice with GameCenter?

**URL:** <https://forums.solar2d.com/t/inmobi-not-playing-nice-with-gamecenter/311364>\
**Category:** Uncategorized\
**Created:** [March 11, 2013, 3:54pm UTC](https://forums.solar2d.com/t/inmobi-not-playing-nice-with-gamecenter/311364 "2013-03-11T15:54:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveen\_pcs](https://forums.solar2d.com/user_avatar/forums.solar2d.com/naveen_pcs/32/224_2.png) [@naveen\_pcs](https://forums.solar2d.com/u/naveen_pcs)\
**Post date:** [March 11, 2013, 3:54pm UTC](https://forums.solar2d.com/t/inmobi-not-playing-nice-with-gamecenter/311364/1 "2013-03-11T15:54:05Z")

</div>

I’m trying to use gameNetwork.show(“leaderboards”) to show my GameCenter leaderboards, but InMobi is causing problems. When I comment out the inMobi “init” line, it works perfectly. When I \*do\* initialize InMobi, it seems to take around 4 or 5 taps until the GameCenter dialog finally pops up. Without the init, it works every single time perfectly.

Anyone experiencing something similar? [import]uid: 51654 topic\_id: 37494 reply\_id: 67494[/import]

---

<div class="post-metadata">

**Author:** ![naveen\_pcs](https://forums.solar2d.com/user_avatar/forums.solar2d.com/naveen_pcs/32/224_2.png) [@naveen\_pcs](https://forums.solar2d.com/u/naveen_pcs)\
**Post date:** [March 11, 2013, 4:00pm UTC](https://forums.solar2d.com/t/inmobi-not-playing-nice-with-gamecenter/311364/2 "2013-03-11T16:00:54Z")

</div>

Nevermind. I found out why it’s happening:

If you request an InMobi ad, and it doesn’t receive one, ALL touches where the ad should have been are still ignored. So it’ll look like there’s nothing there (where the ad banner is supposed to be), but no touches can be received there. [import]uid: 51654 topic\_id: 37494 reply\_id: 145652[/import]

---

<div class="post-metadata">

**Author:** ![aukStudios](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aukStudios](https://forums.solar2d.com/u/aukStudios)\
**Post date:** [March 11, 2013, 4:49pm UTC](https://forums.solar2d.com/t/inmobi-not-playing-nice-with-gamecenter/311364/3 "2013-03-11T16:49:03Z")

</div>

That’s an interesting find. I haven’t tested it myself yet, but I will. Meantime, I’m curious, if you fail to receive an ad, and then you call [lua]ads.hide()[/lua], do you still have the same problem (where touch events underneath where the ad would have appeared are ignored)?

- Andrew [import]uid: 109711 topic\_id: 37494 reply\_id: 145663[/import]

---

<div class="post-metadata">

**Author:** ![naveen\_pcs](https://forums.solar2d.com/user_avatar/forums.solar2d.com/naveen_pcs/32/224_2.png) [@naveen\_pcs](https://forums.solar2d.com/u/naveen_pcs)\
**Post date:** [March 11, 2013, 4:00pm UTC](https://forums.solar2d.com/t/inmobi-not-playing-nice-with-gamecenter/311364/4 "2013-03-11T16:00:54Z")

</div>

Nevermind. I found out why it’s happening:

If you request an InMobi ad, and it doesn’t receive one, ALL touches where the ad should have been are still ignored. So it’ll look like there’s nothing there (where the ad banner is supposed to be), but no touches can be received there. [import]uid: 51654 topic\_id: 37494 reply\_id: 145652[/import]

---

<div class="post-metadata">

**Author:** ![aukStudios](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aukStudios](https://forums.solar2d.com/u/aukStudios)\
**Post date:** [March 11, 2013, 4:49pm UTC](https://forums.solar2d.com/t/inmobi-not-playing-nice-with-gamecenter/311364/5 "2013-03-11T16:49:03Z")

</div>

That’s an interesting find. I haven’t tested it myself yet, but I will. Meantime, I’m curious, if you fail to receive an ad, and then you call [lua]ads.hide()[/lua], do you still have the same problem (where touch events underneath where the ad would have appeared are ignored)?

- Andrew [import]uid: 109711 topic\_id: 37494 reply\_id: 145663[/import]
