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
-
Go to the GPM asset page and click Add to My Assets to link it to your Unity account.
-
In your Unity project, open Window > Package Manager, switch the dropdown to My Assets, find Game Package Manager, and click Import.
-
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-sdkOption B — Import from GitHub:
-
Download and extract the latest release from the unity-sdk-public repo.
-
In Unity, go to Window > Package Manager, click the + icon, and choose Add Package from Disk.
-
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:
-
Open File > Build Settings and confirm the platform is set to Android. If not, select Android and click Switch Platform.
-
Open Edit > Project Settings > Player and navigate to the Android publisher settings.
-
Enable Custom Main Gradle Template and Custom Gradle Properties Template. This creates two files in
Assets/Plugins/Android/. -
Open
Assets/Plugins/Android/mainTemplate.gradleand add the AndroidX dependencies:
dependencies {
implementation 'androidx.browser:browser:1.4.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
// other dependencies...
}- Open
Assets/Plugins/Android/gradleTemplate.propertiesand add:
android.useAndroidX=trueYou are now ready to write code. Continue to Core Usage to initialize the SDK and start distributing coins.