getPlayerAccountField (“server_auth_code”) is empty

getPlayerAccountField (“server_auth_code”) is empty
0.0 0

#1

In the sdkboxplay plugin, PluginSdkboxPlay :: getPlayerAccountField (“server_auth_code”) is empty. Now sdkbox all plug-ins are not supported to get google token yet.
Can I use sdkbox to get google token, thanks


#2

did you request it after you login?


#3

I am sure.
void MYSdkboxPlayListener::onConnectionStatusChanged(int connection_status) {
log(“connection status change: %d Is Connected: %d”, connection_status, sdkbox::PluginSdkboxPlay::isSignedIn() ? 1 : 0);
if ( connection_status == GPS_CONNECTED ) {
log(“Google%s.”, PluginSdkboxPlay::getPlayerAccountField(“server_auth_code”).c_str());
}
}
The log is :
connection status change: 1000 Is Connected: 1
Google.

Mac 10.13.1
cocos2d-x-3.16
eclipse

installed packages:
v2.3.17.2 sdkboxplay
v2.3.17.1 facebook
v2.3.17.1 googleplayservices
v2.3.17.1 iap


#4

ok we’ll do some more testing and let you know


#5

Thank you very much. Because I’m going to use it, I really want to know the result quickly. Maybe it is caused by my local environment configuration error.