MrStahlfelge / gdx-gamesvcs

Easy integration of gameservices in your libGDX game: Google Play Games, Apple Game Center, Amazon GameCircle and more
Apache License 2.0
113 stars 20 forks source link

Google Play Games no achievement popup #34

Closed MichalLebeda closed 4 years ago

MichalLebeda commented 4 years ago

Achievement popups are not shown. It may be related to this

MrStahlfelge commented 4 years ago

It worked in the past, I'll check if the behaviour was changed.

MichalLebeda commented 4 years ago

I haven't managed to fix this even with tips I have found on the internet (adding parameters to Builder). gdxVersion = '1.9.10' gamesvcsVersion = '1.0.1'

MrStahlfelge commented 4 years ago

Tested, popup still comes up for me

MichalLebeda commented 4 years ago

I have tried to build demo app but I cannot sign in ( even though I have changed package name and replaced all of the ids). If build that demo app for test, did you build it using the latest version of this lib? I am asking because your demo app uses 0.2.5 SNAPSHOT. It is really a strange issue :(

MrStahlfelge commented 4 years ago

Yes, I used the latest version. You won't be able to sign in with the demo app, you need to create your own gpgs project and link it to your signing signature.

MichalLebeda commented 4 years ago

I have actually used my games project from another game and signed it with the same certificate

MichalLebeda commented 4 years ago

Still no luck, replicated manifest and other relevant things from demo app to my game. I wonder if it isn't phone related. Is it possible to upload your release signed demo app so I can try? Thanks for this lib btw, helped me a lot but this doesn't work for some reason.

MrStahlfelge commented 4 years ago

You can use my release signed game for testing: https://github.com/MrStahlfelge/gdx-gamesvcs#working-demos

MichalLebeda commented 4 years ago

I have mannaged to fix it! The problem was that the achievements didn't have any icons!! Even google tells us that it is ok to not have icons if it is in testing stage 😠😠😠. What about adding some warning somewhere (wiki?) ? It could save me 2 days of work and searching

MrStahlfelge commented 4 years ago

That's great news. You should add an answer to the #1 question on SO: https://stackoverflow.com/questions/26474718/google-play-games-achievement-unlocked-popup-not-showing