From 1b23e119a922406956774a949c2d755141d8e4b5 Mon Sep 17 00:00:00 2001 From: AleBles Date: Wed, 2 Mar 2022 14:02:40 +0100 Subject: [PATCH] Updated cordova sdk to v5.0.0 --- .gitignore | 1 + README.md | 7 +++++++ cordova/release/gamedock-cordova-sdk-5.0.0.tgz | 3 +++ cordova/release/gamedock-sdk-cordova-4.2.1.tgz | 3 --- docs/addingTheGamedockSDK.md | 4 ++-- docs/gettingStarted.md | 2 +- 6 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 .gitignore create mode 100644 cordova/release/gamedock-cordova-sdk-5.0.0.tgz delete mode 100644 cordova/release/gamedock-sdk-cordova-4.2.1.tgz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/README.md b/README.md index 38ae8e2..4f19f72 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ The Gamedock SDK is designed to give developers access to Gamedock Console funct **IMPORTANT! If you are experiencing issues with missing scripts on some of our Editor prefabs, it is caused by Unity not importing properly some of it's components. In order to fix it please download [this](https://splashscreens.cdn.spilcloud.com/files/1574351079_Prefabs.zip) package and overwrite the folder "Assets/Gamedock/Editor/Prefabs".** +## Installation + +**Cordova:** +``` +npm install @gamedock/cordova +``` + ## Documentation Documentation can be found here diff --git a/cordova/release/gamedock-cordova-sdk-5.0.0.tgz b/cordova/release/gamedock-cordova-sdk-5.0.0.tgz new file mode 100644 index 0000000..c3a1f3b --- /dev/null +++ b/cordova/release/gamedock-cordova-sdk-5.0.0.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ef9f52dc17b2254c0963d2348983b23b118ad6a6a13d2b01c8264be1172d176 +size 32447893 diff --git a/cordova/release/gamedock-sdk-cordova-4.2.1.tgz b/cordova/release/gamedock-sdk-cordova-4.2.1.tgz deleted file mode 100644 index 23a388d..0000000 --- a/cordova/release/gamedock-sdk-cordova-4.2.1.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3b5aea2ec00d72cdca9b4f55460eef27d8e09ddd9c8a29640fd49a7b4c691a8 -size 369262699 diff --git a/docs/addingTheGamedockSDK.md b/docs/addingTheGamedockSDK.md index 9a03596..4fe79e9 100644 --- a/docs/addingTheGamedockSDK.md +++ b/docs/addingTheGamedockSDK.md @@ -183,8 +183,8 @@ Example (including privacy policy / GDPR, Google Play Games and external id's fo You can include the latest Cordova package by running the following commands into your main project folder: ~~~javascript -//Download the plugin from this [page](https://github.com/azerion/gamedock-sdk/releases) and include it manually into your project -cordova plugin add +//Add the project from the registry +cordova plugin add @gamedock/cordova-sdk //If you have not yet create a build for your platform run cordova platform add android diff --git a/docs/gettingStarted.md b/docs/gettingStarted.md index 703e360..dfb0c01 100644 --- a/docs/gettingStarted.md +++ b/docs/gettingStarted.md @@ -15,10 +15,10 @@ Currently supported platforms/engines for Gamedock 5.0.0: * Unity (Android, iOS, Standalone) * Native Android * Native iOS +* Cordova/Javascript (Android, iOS) For the moment the following platform engines only support Gamedock 4.2.1 * AIR (Adobe Flash) (Android, iOS) -* Cordova/Javascript (Android, iOS) Current versions of the modules used in the SDK: