android - Google Play Game Services error: Unable to Sign in - Application does not have a registered client id? Other fixes did not work -
any minor information may relevant:
- using c# in unity3d game engine
- app requires use of google obb downloader , googleiab (both working correctly)
- using prime31 plugins access following:
- using both achievements , leaderboards (authentication issues think?)
- app connects , posts facebook (working correctly)
unable sign in - application not have registered client id
previously had issues connection google play game services. seemed sha1 code certificate fingerprint in application not same 1 had in game services linked app (the default sha1 places there). unfortunately had published, had unpublish app, unpublish game services, , re-create them all. used brand new keystore generated (the alias name same though), , made sure sha1 code generated keystore , placed linked app.
this worked! tested on device of achievements , leaderboards, going perfectly. after couple quick code/data changes (text updates, commenting code, etc) rebuilt project , uploaded new apk , obb. then, after publishing it, doesn't work anymore, returning error: unable sign in - application not have registered client id.
this found out google api console. there, found both current client id , old client id(the 1 old keystore , wrong sha1) still there. safe, deleted old 1 no longer in use. comparing information in current client id game services console , keystore certificate output saved, seems correct.
i didn't save .keystore file within project when built if matters. appreciated , sorry if put down information, didn't want miss anything. thanks!
* edit 1 *
i found few things out , noticed odd error during attempt sign in, may closer problem?:
i 1 first, right off bat when connects:
authentication error: unable respond of these challenges: {bearer=www- authenticate: bearer realm="https://www.google.com/accounts/authsubrequest", error=invalid_token}
here couple come in before original error posted:
e/volley ( 3928): [25080] iu.a: unexpected response code 401 https://www.googleapis.com/games/v1/players/##################### e/signinintentservice( 2620): there no linked app associated client id. ... 10 lines of irrelavant android output e/loadselffragment( 2925): unable sign in - application not have registered client id
new additional info may have forgot: in canada signing certificate company based in us. detecting wrong that? doubt it, in case.
still not solved sadly.
do input correct sha1 fingerprint publish key linked application section shoud have 2 keys dev 1 release linked
keytool -exportcert -alias androiddebugkey -keystore <path_to_your_key_file> -v -list
Comments
Post a Comment