I have a game that’s nearly finished for publishing and I have a few testers that are currently playing it, but they cannot access google leaderboards. I, however, can, but only when I export/build the app straight to my phone. I found out that the game doesn’t log in to Google Play Games at all when it’s downloaded through my pre-release link, but again, everything works fine as a local build.
I’m just curious to why there is / might be a difference, so I can solve this problem. I appreciate any recommendations or suggestions.
*By local build I mean, ‘Build and Run’ though the editor with my phone attached. *I’m building it as a google bundle.
tyomklz:
“Okay guys, here’s the solution to the whole thing if your case is the same as mine. As I mentioned before I’m using Google Play App Signing feature of Google Play Console for my apps. If you do as well, then you need to go to https://console.developers.google.com/ and then choose API manager from menu there, and go to credentials of your app (if your app isn’t there yet you should add it using the search there). When you’re in credentials of your app just replace SHA-1 certificate line with the one that shown in your App signing (it’s in Release management menu of Google Play Console). There you’ll see app signing certificate info, you need that SHA-1 line from there, then you just replace the one you have in credentials with that one, by default in credentials you have the one from your keystore you generate with Unity (it’s also shown in the bottom, where it says Upload certificate in your Google Play Console page). Once you save new credentials you’ll be able to sign in in the game right away. I hope it’ll help you, guys. Cheers!”