Can not login with sdkboxplay on Android

Can not login with sdkboxplay on Android
0

#1

I’m developing a game for Android and iOS and I’m using sdkbox with IAP and Game Center integration.

I don’t have much experience with Android development, so after integrating the sdkbox, every time when the main Activity is resumed the screen (as in the image attached) appears .
When I run other apps that support Achievements and Leaderboard, I never see this popup. How to disable it?



PopUp asking to sign in to iTunes Store on App start
#2

Maybe this is related some how: PopUp asking to sign in to iTunes Store on App start


#3

I’m not sure why, but the method onConnectionStatusChanged( int status ) has status always equal to sdkbox::GPS_DISCONNECTED. Can this be related to this popup?


#4

@nite @yinjimmy can help us.


#5

It seems that you have not logged in successfully.

did u call sdkbox::PluginSdkboxPlay::signin(); every time when app launch?

u can try:

                if (!sdkbox.PluginSdkboxPlay.isSignedIn()) {
                    sdkbox.PluginSdkboxPlay.signin();
                }

plz checkout our sample https://github.com/sdkbox/sdkbox-sample-sdkboxplay.


#6

I’ve tried this way, it doesn’t work… because the login never succeeds.


#7

so, you question is can not login with sdkboxplay, not disable the login ui.

did u check http://docs.sdkbox.com/en/plugins/googleplay/v3-cpp/#pre-requisites ?

Note: Google Play Games Services will use your release keystore by default


#8

I was able to test Google Play Games after signing with the release keystore as you said.

Is there a possibility to test in debug?


#9

It’s possible, you can build a release build locally and enable the logs.