Cordova Leaderboard Plugin
Overview
Cordova plugin for Google Play Games Leaderboard service for android.
You need to set up your game in Google Play Developer console. Also have a look at https://developers.google.com/games/services/android/quickstart
Installation
cordova plugin add cordova-plugin-leaderboard --variable APP_ID=YOUR_APP_ID
or
cordova plugin add https://github.com/princesanjivy/cordova-plugin-leaderboard.git --variable APP_ID=YOUR_APP_ID
Usage
Place this inside of your deviceready
function.
Sign in
leaderboard;
Submit Score
leaderboard;
Show Leaderboard
leaderboard;
Construct 2 Plugin
Construct2 Play Games Leaderboard
More Info
https://cordova.apache.org/plugins/
License
MIT license