From 2753e2fc198735c9b2cb6c7d34889401cd94e48e Mon Sep 17 00:00:00 2001 From: Ricardo Madrid Date: Fri, 14 Jul 2023 14:15:51 -0600 Subject: [PATCH 1/2] fix(): pod file renamed to use the openforge game connect one --- ...c => OpenforgeCapacitorGameConnect.podspec | 2 +- README.md | 29 +++++++++++-------- 2 files changed, 18 insertions(+), 13 deletions(-) rename CapacitorGameConnect.podspec => OpenforgeCapacitorGameConnect.podspec (92%) diff --git a/CapacitorGameConnect.podspec b/OpenforgeCapacitorGameConnect.podspec similarity index 92% rename from CapacitorGameConnect.podspec rename to OpenforgeCapacitorGameConnect.podspec index 0291ecf5..109d5864 100644 --- a/CapacitorGameConnect.podspec +++ b/OpenforgeCapacitorGameConnect.podspec @@ -3,7 +3,7 @@ require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| - s.name = 'CapacitorGameConnect' + s.name = 'OpenforgeCapacitorGameConnect' s.version = package['version'] s.summary = package['description'] s.license = package['license'] diff --git a/README.md b/README.md index f5989234..a8aad7fc 100644 --- a/README.md +++ b/README.md @@ -153,16 +153,17 @@ Before use the `Achievement Methods` of the plugin, you need to setup your Achie -- [`signIn()`](#signin) -- [`showLeaderboard(...)`](#showleaderboard) -- [`submitScore(...)`](#submitscore) -- [`showAchievements()`](#showachievements) -- [`unlockAchievement(...)`](#unlockachievement) -- [`incrementAchievementProgress(...)`](#incrementachievementprogress) +* [`signIn()`](#signin) +* [`showLeaderboard(...)`](#showleaderboard) +* [`submitScore(...)`](#submitscore) +* [`showAchievements()`](#showachievements) +* [`unlockAchievement(...)`](#unlockachievement) +* [`incrementAchievementProgress(...)`](#incrementachievementprogress) + ### signIn() @@ -170,7 +171,7 @@ Before use the `Achievement Methods` of the plugin, you need to setup your Achie signIn() => Promise ``` -- Method to sign-in a user +* Method to sign-in a user -------------------- @@ -181,7 +182,7 @@ signIn() => Promise showLeaderboard(options: { leaderboardID: string; }) => Promise ``` -- Method to display the Leaderboards +* Method to display the Leaderboards | Param | Type | | ------------- | --------------------------------------- | @@ -189,13 +190,14 @@ showLeaderboard(options: { leaderboardID: string; }) => Promise -------------------- + ### submitScore(...) ```typescript submitScore(options: { leaderboardID: string; totalScoreAmount: number; }) => Promise ``` -- Method to submit a score to the Leaderboards table +* Method to submit a score to the Google Play Services SDK | Param | Type | | ------------- | ----------------------------------------------------------------- | @@ -203,23 +205,25 @@ submitScore(options: { leaderboardID: string; totalScoreAmount: number; }) => Pr -------------------- + ### showAchievements() ```typescript showAchievements() => Promise ``` -- Method to display the Achievements view +* Method to display the Achievements view -------------------- + ### unlockAchievement(...) ```typescript unlockAchievement(options: { achievementID: string; }) => Promise ``` -- Method to unlock an achievement +* Method to unlock an achievement | Param | Type | | ------------- | --------------------------------------- | @@ -227,13 +231,14 @@ unlockAchievement(options: { achievementID: string; }) => Promise -------------------- + ### incrementAchievementProgress(...) ```typescript incrementAchievementProgress(options: { achievementID: string; pointsToIncrement: number; }) => Promise ``` -- Method to increment the progress of an achievement +* Method to increment the progress of an achievement | Param | Type | | ------------- | ------------------------------------------------------------------ | From bab109eae0e4a1355eb9c27574e2abc9586867b0 Mon Sep 17 00:00:00 2001 From: Ricardo Madrid Date: Fri, 14 Jul 2023 14:17:08 -0600 Subject: [PATCH 2/2] chore(): version bumped --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b1421587..79f82389 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openforge/capacitor-game-connect", - "version": "1.0.0", + "version": "1.0.1", "description": "Use Game Services and Game Connect", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js",