@codeeshop/cordova-plugin-google-play-games

1.4.4 • Public • Published

@codeeshop/cordova-plugin-google-play-games Latest Stable Version Total Downloads

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

Reference

maximnara/cordova-plugin-google-play-games

Package Sidebar

Install

npm i @codeeshop/cordova-plugin-google-play-games

Weekly Downloads

5

Version

1.4.4

License

MIT

Unpacked Size

80.6 kB

Total Files

10

Last publish

Collaborators

  • codeeshop