Can't see achievement in google play games - android

I'm working on a game which has been published to google play. Now we want to add achievement service to this game.
Following google play service samples, everything works fine. I can sign in and unlock the achievement successfully.
But the only thing trouble me is that I can't see the achievements in my device.
First I think it may be because the cache, but after two day, I still can't see it.
The game service's state is ready to test, but I heard from someone else, it is no mater.
So I don't know what I had missed.
Any suggestion is appreciate.

Is the user you are logged in as a "testing user"? If the achievement is not yet published, only testers will be able to see the achievement.

Related

Google play test purchase

I recently released a mobile app and everything was working great...at first. The app is free with an option to subscribe yearly. Unfortunately, when the user try's to subscribe, the pay dialog order says it's a test order and expires in 30 minutes. Cant figure out why this is happening and I'm losing money and business. Any help would be greatly appreciated.
This is in full production mode.
It sounds like you have left some testing code in your app by mistake. Maybe the subscription is using a test id? Without some more of your purchase code in your question it is going to be hard to help.
The help pages on testing Google Play billing payments are here.
It sounds like you have added the users to your testers list.
After some head scratching I realized that the test orders were every thirty minutes and it was happening on only my device. So others learn from my mistake, be sure to remove all of your testers before going live.

Message in Leaderboard: "Hmm, something went wrong in Play Games"

I added Google Play Games Services support to my board game app and implemented Achievements and a Leaderboard through the corresponding clients in a similar way as the GPGS sample app "Type A Number" did. When debugging with adb and my tester account, these features worked fine. When I released the app into production, the Leaderboard started showing the message "Hmm, something went wrong in Play Games". Additionally, achievements can be unlocked and are being shown properly. But after closing the app, this progress is being lost.
Under Google APIs -> Google Play Games Services I get this feedback of the GPGS API calls (in the production phase):
GPGS method calls
Since the release, I apparently mainly get 401 as a response code according to the metrics.
SOLUTION: Google Play Games doesn't work with app published in PlayStore
Have the same issue - it looks like Play Services do not work correctly for the testers atm. I have the app that is live and an update which is in closed Alpha. Tested with the test account with the same issue. Then tried the same closed alpha update (previously installed by test user) with the user who is not listed as tester and Services worked fine. Didn't push the update live though - will update when it's live and Play Services status is rechecked.
I had the same problem. Leaderboards stopped appearing after first post. I tried removing OAuth keys and putting them back on, but that didn't seem to do the job. Went for a hail mary and linked the same app AGAIN to Games Services and voila! Image below shows what to do. Worked for me, hope it works for you. Cheers!

Achievements locked again after a while Google play games

I had implemented Google Play Games into my app (in beta test). I added some achievements (more than 5) and have done all the related settings like described in the API. I am testing this with the same google account as my developer account, this is added as a test account inside the console. To unlock an achievement I call
Games.Achievement.unlock(mGoogleApiClient,achievement);
It works and my achievements are unlocked. To call the users Play Games Achievements I use the intent like stated in the api:
startActivityForResult(Games.Achievements.getAchievementsIntent(mGoogleApiClient),1);
The user achievements are shown in the Play Games user view, so everything seems to be ok.
The strange thing is, after a while, let´s say half an hour, the achievements are in reveal (locked) state again.
I can´t find any hint in the API and Developer Guides, that the achievements are reset automatically in the beta test phase or in an unreleased state. Is this a normal behaviour and it will work after official release or do I miss something anywhere?
You may want to try adding the achievementId when you call startActivityForResult.
So, instead of calling
startActivityForResult(Games.Achievements.getAchievementsIntent(mGoogleApiClient),1);
use
startActivityForResult(Games.Achievements.getAchievementsIntent(mGoogleApiClient), REQUEST_ACHIEVEMENTS);
See Unlocking achievements for more information.
I found out that it was because I used an unsigned APK. For get the tests work correctly, it must be a release signed apk. I also put the same released version into the alpha test.

Android inapp purchase is not showing payment method

I am working in android inapp purchase. According to documentation and my previous experience 2nd picture must let the user continue further payment steps. But whats wrong with this. Please help .TIA. first picture
second picture after clicking continue button
I found the reason. This is area constrain. Previously Google play used to expose payment option in all over the world but not now. It is now available where google play gives their service available. Even we can't buy any paid app from google play in Bangladesh. This is not feeling good.

How do you modify achievements on Google Play Games?

We're developing a game which has achievements and while we haven't released it yet, we did publish for Beta testing and have also published Game Services for that app for testing purposes.
We now realise that we need to tick the incremental option on a few achievements but we can't as "this field cannot be changed after publishing". I have unpublished the game and service but this never allows us to edit.
We then thought we could delete the achievement and set it up again, but there is no Delete or Reset option available.
Is this a case of the unpublish setting taking a while to propogate on Google Play or is what we need to do impossible?
I never published to Google Play public so it would be frustrating if we weren't able to fix this :(
Any help would be greatly appreciated! Thanks.
Unfortunately, you are correct. There is no way to change those attributes or delete a published achievement. So the alternatives are:
Create a new achievement with the configuration you want to have,
and leave the existing one there (maybe achievement for starting the
incremental achievement?).
Create a new game configuration. This
means all the game state will be reset from the player's
perspective.
In the future, I don't think you need to publish the game to start testing. You can Alpha and Beta test with named testers, and make changes to the game configuration. Then once the game is perfect, publish it. More information on staged rollouts: https://support.google.com/googleplay/android-developer/answer/3131213
Quoting from the official Google documentation for Editing the achievement.
Note: Once an achievement is published, its initial state (hidden or revealed) and its type (incremental or standard) is fixed and cannot be changed.
Undoing an edit
If you decide you don't like your current achievement and want to go back to your achievement the way it was before, select Revert from the drop-down list in the Google Play Developer Console, and all of your achievements will revert back to the previously published version.
Deleting an achievement
Once your achievement has been published, it cannot be deleted.
You can only delete an achievement in a pre-published state by clicking the button labeled Delete at the bottom of the form for that achievement.
Resetting an achievement
You can only reset player progress data for your draft achievements.
To reset achievements in the Google Play Developer Console, click the button labeled Reset achievement progress at the bottom of the form for that event.
To reset achievement data programmatically, call the Management API Achievements methods.

Categories

Resources