SkillAgentSearch skills...

Playgamespluginforunity

Unity NPM version of Google Play Games Plugin (https://github.com/playgameservices/play-games-plugin-for-unity)! This repository applies the same APACHE 2.0 license terms of the original version.

Install / Use

/learn @GameWorkstore/Playgamespluginforunity
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Play Games Plugin for Unity

Unity NPM version of Google Play Games Plugin! This repository applies the same APACHE 2.0 license terms of the original version.

Original repo: https://github.com/playgameservices/play-games-plugin-for-unity

Current Version

You can find at GooglePlayGames/PluginVersion.cs

How to install

First ensure you have google ppa added into Packages/manifest.json:

"scopedRegistries": [
    {
        "name": "Game Package Registry by Google",
        "url": "https://unityregistry-pa.googleapis.com",
        "scopes": [
            "com.google"
        ]
    }
]

them, add external-dependency-manager into Packages/manifest.json:

"com.google.external-dependency-manager": "1.2.160"

After this, you can add this package:

"com.gameworkstore.playgamespluginforunity": "git://github.com/GameWorkstore/playgamespluginforunity.git"

The remaining steps follows the default tutorial for googleplaygames:

https://github.com/playgameservices/play-games-plugin-for-unity

Contributions

If you are using this library and want to submit a change, go ahead! Overall, this project accepts contributions if:

  • Is a bug fix;
  • Or, is a generalization of a well-known issue;
  • Or is performance improvement;
  • Or is an improvement to already supported feature.

Also, you can donate to allow us to drink coffee while we improve it for you!

Troubleshoot

Error Unity AndroidJavaException: java.lang.ClassNotFoundException: com.google.android.gms.games.Games

Disable Minify on Project Settings > Publish Settings to avoid stripping of bundle aar objects on the build process. Minify is very good for reduce the binary size, but only when everything is setup properly.

Error TokenFragment Setting result error status code to: 16

Certify to include SHA-1 of all your android applications into google play games configuration (Android UploadKey and Android App Signing). Ideally, you just need to add two into the console (Android UploadKey and Android App Signing).

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks1

Languages

C#

Security Score

55/100

Audited on Oct 24, 2024

No findings