/games-management-lib

Helper library for removing player highscore from Google Play Games leaderboards.

Primary LanguageJavaApache License 2.0Apache-2.0

Management Library for Google Play Games

Allow simple removal of cheating players from leaderboards, using Google Play Games Management API.

IMPORTANT

  • THIS LIBRARY IN NOT PRODUCTION QUALITY.
  • It may take up to 72 hours (!!) once a player is 'hidden' until the player actually stop appearing in the leaderboard.
  • The library must be used in an APK with the same package name (namespace) & signature as the production game. This is to allow Google Play sign-in. The easiest way is just to add the library to the game & open the MenuActivity.
  • You must be signed-in within the game with the user of the Play Console.

Usage

  1. Project 'build.gradle': Add JitPack to the repositories -
allprojects {
    repositories {
        ...
        ...
        maven { url 'https://jitpack.io' }
    }
}
  1. App module 'build.gradle': Add games-management-lib dependency
dependencies {
    ...
    ....
    implementation 'com.github.sagishporer:games-management-lib:0.2.0'
}
  1. Launch the library MenuActivity activity from code
    Intent intent = new Intent(this, com.games.management.MenuActivity.class);   
    this.startActivity(intent);

References & Resources