PlaySuper LogoPlaySuper
Unity SDK

Installation & Setup

Install the GPM WebView and PlaySuper Unity SDK, then configure your project for Android

Installation & Setup

You need two packages: the GPM WebView (which the SDK uses to display the store) and the PlaySuper SDK itself. After installing both, configure your Android build settings.

Step 1: Install GPM WebView

  1. Go to the GPM asset page and click Add to My Assets to link it to your Unity account.

  2. In your Unity project, open Window > Package Manager, switch the dropdown to My Assets, find Game Package Manager, and click Import.

  3. After the import finishes, go to Tools > GPM > Manager. Select WebView in the left panel and click Install.

Step 2: Install the PlaySuper SDK

Choose one of the two methods below.

For development and testing you can use the dev build: v1.2.2

Option A — OpenUPM CLI (recommended if you already use OpenUPM):

openupm add com.playsuper.unity-sdk

Option B — Import from GitHub:

  1. Download and extract the latest release from the unity-sdk-public repo.

  2. In Unity, go to Window > Package Manager, click the + icon, and choose Add Package from Disk.

  3. Navigate to the extracted folder and select package.json.

Step 3: Configure your project

Unity 6 users

If you are using Unity 6, check the expandable compatibility notes in the SDK repository before proceeding.

Android build settings

These steps ensure the WebView works correctly on Android:

  1. Open File > Build Settings and confirm the platform is set to Android. If not, select Android and click Switch Platform.

  2. Open Edit > Project Settings > Player and navigate to the Android publisher settings.

  3. Enable Custom Main Gradle Template and Custom Gradle Properties Template. This creates two files in Assets/Plugins/Android/.

  4. Open Assets/Plugins/Android/mainTemplate.gradle and add the AndroidX dependencies:

dependencies {
    implementation 'androidx.browser:browser:1.4.0'
    implementation 'androidx.appcompat:appcompat:1.4.2'
    // other dependencies...
}
  1. Open Assets/Plugins/Android/gradleTemplate.properties and add:
android.useAndroidX=true

You are now ready to write code. Continue to Core Usage to initialize the SDK and start distributing coins.