So I built an app and implemented Leaderboards with Google Play Games Services.
If I install the app via adb, the service functions as intended.
If I install the app via the PlayStore, as Release, Beta, Alpha or internal test, I cannot use the services. Logcat doesn't give me any errors. If I want to check the Leaderboard it just says "Hmm, something went wrong in Play Games".
So most of the pages in the internet say that I should clear my cache, or I have a wrong SHA1-key configured. First thing doesn't help. I cleared the cache of my game and the play games app. Didn't worked.
So I checked the SHA1-keys. In the google developer console, my release key is under upload certificate. So that seems fine. Under App-signature, there is the key from google. I checked Firebase, and there is Google Play Games API activated with the key from Google.
So that also seems right. Do you have any ideas? I am working on this for 3 days now. Checked lots of stuff from the internet and nothing works.
If you need any information, feel free to ask.
EDIT:
If I install the app over the app-store, I can check the leaderboard just as normal and the the entries I made earlier with my self installed app version. Until I play a game and send a new score to the leaderboard. From this moment on, the "Hmm, something went wrong" message comes instead of the leaderboard.