Cannot signin to SdkboxPlay on android

Cannot signin to SdkboxPlay on android
0
#3

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

0 Likes

#4

versionCode in build.gradle

0 Likes

#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)

0 Likes

#6

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

0 Likes

#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)

0 Likes

#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.

0 Likes

#9

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

0 Likes

#10

Hi @htlxyz ,

I’m also facing the same issue and the SHA1 fix is not working for me. (For me, both SHA1 of upload certificate and app signing certificate is the same.)

I am using the latest PluginSdkboxPlay.jar.zip you have attached above.

W/SdkboxGPGAuthentication: sign in failed:12502 null
W/SdkboxGPGAuthentication: sign in failed:8 null
W/SdkboxGPGAuthentication: sign in failed:8 null

I checked the error code, it says INTERNAL_ERROR with description “An internal error occurred. Retrying should resolve the problem.”

But the problem doesn’t fix… any solution?

Btw this happened only after I updated sdkbox to the latest version. It was all working fine with the previous version.

0 Likes

#11

I reverted back from v2.4.1.1 -> v2.4.0.2 and now everything works fine. It seems like this is an sdkbox issue.

0 Likes

#12

Fixed in the latest version too. It turns out Google Drive API was not enabled in my app and it is needed for cloud save.

0 Likes

#13

Hello,
I’m trying to integrate sdkboxplay in my project and i’m facing your error too:
W/SdkboxGPGAuthentication: sign in failed:8 null
I’ve followed step by step the checklist and it should be all right!
I’ve imported sdxboxplay with the sdkbox command line interface and the installation went succesful!
Any idea?

0 Likes

#14

I fixed my problem only on google play side, by re-entering sha1 again. In my case, it was completely google’s fault, not sdkbox’s. If you “really” sure is sdkbox is ok, check google play console.

0 Likes

#15

Hello, what do you mean with

re-entering sha1 again

Have you entered wrong the first time or it wasn’t working despite of the fact the sha1 was correct?

0 Likes

#16

No. Sha1 was correct in first time, but… when i’m release update, it become corrupted somehow, despite it match symbol to symbol in google play console. It is infamous google’s bug.

0 Likes

#17

do you have

<activity
            android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity"
            android:exported="false"
            android:excludeFromRecents="true" />

in AndroidManifest.xml ?

0 Likes

#18

Hello!
I did not have that activity in my manifest and after I’ve placed it the error code changes:

W/SdkboxGPGAuthentication: sign in failed:7 null

Are we getting somewhere?
Thank you
Carlo

0 Likes

#19

https://developers.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes.html#NETWORK_ERROR

can you access https://www.google.com/ with system browser?

0 Likes

#20

I’m sorry, it was just a case…
I still get the same error:

W/SdkboxGPGAuthentication: sign in failed:8 null
0 Likes

#21

Still stuck here…
Do you need some other information?
I really don’t know what to do…

0 Likes

#22

Maybe it has something to do with this:
I’ve also integrated firebase in my project, and firebase uses

<string name="google_app_id" translatable="false">1:795086958816:android:XXXXXXXXXXX</string>

So I had to change the google play games app id attribute name in

<string name="gpg_app_id">xxxxxxxxxxx</string>

Of course changed also in the AndroidManifest.
Is this attribute used somewhere else? (Maybe in the SDKBoxPlay sources)

0 Likes