Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
if (((GPGManager) GPGManager.sharedInstance()).isSignedIn()) {
GPGScore score = GPGScore.scoreWithLeaderboardId("my_leaderboard_id");
score.submitScoreWithCompletionHandler(new GPGScore.Block_submitScoreWithCompletionHandler() {
public void call_submitScoreWithCompletionHandler(GPGScoreReport gpgScoreReport, NSError nsError) {
if (nsError != null) {
Log.d("error on submitting high score");
} else {
Log.d("successfully submitted high score");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment