@codeeshop/cordova-plugin-google-play-games
v1.4.4
Published
Cordova plugin to work with Google Play Games services
Downloads
7
Maintainers
Readme
@codeeshop/cordova-plugin-google-play-games
Table of Contents
Install
Step 1. Find games-ids.xml File Content from Google Play Developer Page (Link will be like below) https://play.google.com/console/u/0/developers/...................../games/configuration-summary
Step 2. Add File Under Path
res/android/values/games-ids.xml
Example Content File
<?xml version="1.0" encoding="utf-8"?>
<!--Google Play game services IDs. Save this file as res/values/games-ids.xml in your project.-->
<resources>
<!--app_id-->
<string name="app_id" translatable="false">XXXXXXXXXXXX</string>
<!--package_name-->
<string name="package_name" translatable="false">com.xxxxxxxxxx.app</string>
<!--achievement Started-->
<string name="achievement_started" translatable="false">CgkXXXXXXXXXX</string>
<!--event 1 Word Solved-->
<string name="event_1_word_solved" translatable="false">CgkXXXXXXXXXX</string>
<!--leaderboard Highest World Solved-->
<string name="leaderboard_highest_world_solved" translatable="false">CgkXXXXXXXXXX</string>
</resources>
Step 3. Update config.xml
<resource-file src="res/android/values/games-ids.xml" target="/app/src/main/res/values/games-ids.xml" />
Step 4. Add Plugin
cordova plugin add @codeeshop/cordova-plugin-google-play-games