GPGS achievement notifications not appearing correctly?

We’ve added GPGS achievements to one of our games, and as far as I’m concerned they are working correctly.  

The game goes back to the level select after each level, and this is where the achievements are triggered. On my devices this works perfectly, I see all the achievement notifications that I expect to see.

However, someone at Google Play has given us the following feedback:

Steps to repro this are very simple. 

         

  1. Launch game and be signed into PGS.

  2. Play the game until one a goal for one of the achievements is reached.

  3. Observe that no Achievement notification appears.

  4. Log out of PGS services.

  5. Log back into PGS services.

This does not match up with what I am seeing on our devices. If the user logs in manually then I automatically check to see if any achievements have been earned, so the fact that they get them after logging out and then back in makes some sense. What doesn’t make any sense is why they are not getting achievements before logging out and then logging back in (i.e. when automatically logged in).

Here is some of the code I am using to send the achievements:

local achievementIDs = { "randomChars1", "randomChars2", "randomChars3", "randomChars4", "randomChars5", "randomChars6", "randomChars7", "randomChars8", "randomChars9", } local function googlePlayGameCallback( event ) print("googlePlayGameCallback") print("event.type: "..event.type) end local function markAchievementComplete(id) if achievementIDs[id] then gameNetwork.request( "unlockAchievement", { achievement = { identifier=achievementIDs[id] }, listener=googlePlayGameCallback }) end end function checkAchievementsComplete() if criteria1 then markAchievementComplete(1) elseif ...... end end

Has anyone experienced anything like this before?

I’ve just dug out my Nexus 7, which is the only device I have on Android Lollipop (which is what the person at GP was using), and can confirm that the achievement notifications do not appear for me.  

If I go into the achievements UI then I see that they are unlocked, so they are being sent to GPGS correctly, but the user is not being told they have unlocked anything. The app was built using build 2642 (just a few days old), and was built using the sim, NOT enterprise.

Any suggestions? This is the last thing holding our app back from hopefully getting a GP feature, so it would be good if there is a known solution. 

Hi Alan,

Can you test the same process using public build 2511? Also, which device(s) is this working correctly on? Can you provide basic specs for each that it works on?

Thanks,

Brent

I’ve just dug out my Nexus 7, which is the only device I have on Android Lollipop (which is what the person at GP was using), and can confirm that the achievement notifications do not appear for me.  

If I go into the achievements UI then I see that they are unlocked, so they are being sent to GPGS correctly, but the user is not being told they have unlocked anything. The app was built using build 2642 (just a few days old), and was built using the sim, NOT enterprise.

Any suggestions? This is the last thing holding our app back from hopefully getting a GP feature, so it would be good if there is a known solution. 

Hi Alan,

Can you test the same process using public build 2511? Also, which device(s) is this working correctly on? Can you provide basic specs for each that it works on?

Thanks,

Brent