Cannot signin to SdkboxPlay on android

Cannot signin to SdkboxPlay on android
0

#1

I have a very strange situation: two projects for android, both integrated sdkbox play the same version (staging), but one of projects additionally integrated sdkbox IAP. The one, with IAP singing succesfully, but one with just sdkbox play cannot signin, giving logcat info: “W/SdkboxGPGAuthentication: sign in failed:com.google.android.gms.auth.api.signin.GoogleSignInResult@c70b216”. What could it be? any advice will be appreciated.


#2
  1. the sign in failed log, we will output error info about the GoogleSignInResult in next version
  2. i think you can check your app info. version number, bundle id, google app id or something.

#3

This is sound interesting - how version number can affect this? Bundle id and google app id is “double” checked already.


#4

versionCode in build.gradle


#5

use the jar, will show sigin failed log
e.g. sign in failed: statusCode statusMessage

https://developers.google.com/android/reference/com/google/android/gms/common/api/Status

PluginSdkboxPlay.jar.zip (76.4 KB)


#6

Tried your debug jar, get those results:
W/SdkboxGPGAuthentication: sign in failed:12502 null
W/SdkboxGPGAuthentication: sign in failed:4 null


#7

SIGN_IN_REQUIRED: 4
SIGN_IN_CURRENTLY_IN_PROGRESS: 12502

https://developers.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes.html#SIGN_IN_REQUIRED
https://developers.google.com/android/reference/com/google/android/gms/auth/api/signin/GoogleSignInStatusCodes

try startResolutionForResult when hasResolution is true, as the google document says. have a try, thanks.

PluginSdkboxPlay.jar.zip (76.7 KB)


#8

Thanks! It looks like the problem not on my app side, it is similar to:


and started right after i’m upload update to google play. Will try to solve on google side via google console.


#9

Solve the problem on google server console side, right by manual on my previous post!