showsCompletionBanner does nothing?

Hi guys,

I’ve been trying to add gamecenter support for achievements and this is what I do for unlock achievement request. Everything works, the achievement unlock properly and all but one thing bothers me, is that the showsCompletionBanner does nothing on device.

Isn’t it suppose to show unlock achivement popup from gamecenter? I’m already on iOS 6.0 (ipod touch 5th gen) so I don’t think it’s iOS issue.

Here’s my simple code

gameNetwork.request( "unlockAchievement",                 {                     achievement =                     {                         identifier=achievementsID[math.floor(i/5)],                         percentComplete=100,                         showsCompletionBanner=true,                     },                     listener=function() print("unlocked achievements") end                 })  

Has anyone have this problem before? or what does showsCompletionBanner = true suppose to show/do anyway?

Thanks

Your code looks right.

The banner is generated by the gamecenter code and it its only visible for like a second before it disappears.  It’s possible you might have missed it and of course once its unlocked, you won’t see the banner again.

Secondly if your still testing this in the gamecenter sandbox, if you’re not logged in properly then there might be issues though I would think that if you were recording achievements, this wouldn’t be the problem.

yeah, i don’t think i missed it since i’m pretty much glued to the screen waiting for that banner to show during the unlock event and I’ve tested plenty.

I know what the banner supposed to look like and everything seems to work properly (achievements do get unlocked properly, callback is called properly and all). I even checked in gamecenter about the achievements and they all there it’s just that in the app gamecenter banner/notification never shows. It’s still in sandbox but i’m pretty sure it logged in properly since there’s already a gamecenter welcome message shown and the fact that my code can only make a request if gamecenter is initialized and logged in.

I wonder if anyone ever had the same problem as I do right now? cause doesn’t seem I’ve found anyone in the forum with the same problem? Should I just update daily build?

Your code looks right.

The banner is generated by the gamecenter code and it its only visible for like a second before it disappears.  It’s possible you might have missed it and of course once its unlocked, you won’t see the banner again.

Secondly if your still testing this in the gamecenter sandbox, if you’re not logged in properly then there might be issues though I would think that if you were recording achievements, this wouldn’t be the problem.

yeah, i don’t think i missed it since i’m pretty much glued to the screen waiting for that banner to show during the unlock event and I’ve tested plenty.

I know what the banner supposed to look like and everything seems to work properly (achievements do get unlocked properly, callback is called properly and all). I even checked in gamecenter about the achievements and they all there it’s just that in the app gamecenter banner/notification never shows. It’s still in sandbox but i’m pretty sure it logged in properly since there’s already a gamecenter welcome message shown and the fact that my code can only make a request if gamecenter is initialized and logged in.

I wonder if anyone ever had the same problem as I do right now? cause doesn’t seem I’ve found anyone in the forum with the same problem? Should I just update daily build?

Hello, 

did you fix that issue ? I’m facing the same problem here…

Emerson

not sure if I ever solve it properly but I didnt change my code. The thing is, when on sandbox mode sometimes gamecenter goes weird and not showing proper banner upon completing achievement.

Decided i just go with it and release the game… so far only one person complained :smiley:

Thank you for your reply. I know achievements are correctly unlocked by checking GameCenter after the end of game, but it make me feel uneasy anyways.

Emerson

Hi there, 

Just want to share this: if you created your leaderboards and moved them into a group, the GameCenter banner pop-up won’t show. I suspect that it’s happen because in my case I got only one game. After remove the group, the banner start to pop-up correctly.

Cheers!

Emerson

Hello, 

did you fix that issue ? I’m facing the same problem here…

Emerson

not sure if I ever solve it properly but I didnt change my code. The thing is, when on sandbox mode sometimes gamecenter goes weird and not showing proper banner upon completing achievement.

Decided i just go with it and release the game… so far only one person complained :smiley:

Thank you for your reply. I know achievements are correctly unlocked by checking GameCenter after the end of game, but it make me feel uneasy anyways.

Emerson

Hi there, 

Just want to share this: if you created your leaderboards and moved them into a group, the GameCenter banner pop-up won’t show. I suspect that it’s happen because in my case I got only one game. After remove the group, the banner start to pop-up correctly.

Cheers!

Emerson

Can anyone else confirm that using groups is the cause of their issue with completion banners not showing? I am seeing this same issue where the achievements do get successfully unlocked but completion banners never show.

I am using groups as I have a paid and free version that I would like to share the same leaderboards. I only want to separate them if I absolutely have to, any reason why groups wouldn’t work in corona?

Thanks,

-Clark

Can anyone else confirm that using groups is the cause of their issue with completion banners not showing? I am seeing this same issue where the achievements do get successfully unlocked but completion banners never show.

I am using groups as I have a paid and free version that I would like to share the same leaderboards. I only want to separate them if I absolutely have to, any reason why groups wouldn’t work in corona?

Thanks,

-Clark

I am aware that I’m reviving an ancient thread but I’m having the exact same problem. To answer bonesmalone133’s question: I’m not using groups and I’m seeing this problem too.

Hi @chillfok,

I think we’ll need to see some code that you’re using, including the entire call to “gameNetwork.request()” and possibly also the listener function which is called.

Brent

@Brent Sorrentino,

I’ve been tinkering with this all weekend and found out that almost consistently the banners do not show in the few moments right after I add the achievement in itunes connect. But there seems to be some sort of cache updating on the Apple end because after a few minutes or so, this just starts working without any code changes on my end. So no big deal…

I am aware that I’m reviving an ancient thread but I’m having the exact same problem. To answer bonesmalone133’s question: I’m not using groups and I’m seeing this problem too.

Hi @chillfok,

I think we’ll need to see some code that you’re using, including the entire call to “gameNetwork.request()” and possibly also the listener function which is called.

Brent