I am implementing Google Play game services and use leader board for submitting scores. It permits to sign in to google plus but not display submitted scores through submitScore(leaderboard_id, score)
and display 0 player while I am already signed in with test account. I checked in both ready to publish and published mode of leader board. I checked in OnScoreSubmittedListener
, it fails with STATUS_NETWORK_ERROR_OPERATION_FAILED
.
public void onsubmitscore(View view){
getGamesClient().submitScoreImmediate(new OnScoreSubmittedListener() {
@Override
public void onScoreSubmitted(int arg0, SubmitScoreResult arg1) {
// TODO Auto-generated method stub
Toast.makeText(MainActivity.this, ""+arg1,Toast.LENGTH_LONG).show();
}
}, getString(R.string.leaderboard_hard), 39999);
}
i am able to share game link on google plus but it is displaying 0 player in circle without any score. please help me soon.