Unity

Install Unity SDK to validate user receipts, get in-app subscription analytics, and 3-rd party integrations.

Install via OpenUPM

Qonversion SDK package is available on the openupm registry. You can install it via openupm-cli.

openupm add com.qonversion.unity

Install via Git URL

Available starting from Unity 2018.3.
Just add this line to the Packages/manifest.json file of your Unity Project:

"dependencies": {
    "com.qonversion.unity": "https://github.com/qonversion/unity-sdk.git#3.2.0"
}

🚧

Installation for Observer Mode

If you are using Qonversion Unity SDK in Observer Mode, please check the Google Play Billing Library version in your in-app subscription implementation. For the library version 3.x.y, you have to use the major version of the SDK 2.x.y. In other cases use the latest SDK version (version 3.0.0 and above).

🚧

Attention

Make sure your project contains External Dependencies Manager package.
Otherwise, iOS & Android dependencies can not be resolved.
And this can result to the package import issue.
See more on GitHub

Setup

Setup with a Launcher

Navigate to the settings in your Qonversion Dashboard and copy the Project Key. Paste it into the Application Access Key field.

Optional

  1. Enable Debug Mode if needed. If debug mode is set to true, user purchases will be checked on the sandbox environment.
  2. Enable Observer Mode if needed. You can read more about Observer Mode in our guide.

Programmatic setup with a Script

Please check the Launching section of our guides for the Observer Mode and the Infrastructure mode.


Did this page help you?