Skip to content

Tutorial

Overview

The Hive SDK tutorial is a sample app that demonstrates how each feature of the Hive SDK functions when applied to your app. The tutorial guides you through SDK initialization, promotions, billing, and notification features. Check the source code to see how the essential features of the Hive SDK work for your app.

  • You can check the essential features of the Hive SDK in order under Getting Started with the Tutorial.
  • You can select the feature you want to check under Checking Tutorial Items.


Example of the tutorial app screen Example of the tutorial app screen

Example of the tutorial source code Example of the tutorial source code

Development environment

The development environment for the Hive SDK tutorial is the same as that for the Hive SDK. For more details, please refer to the Release Notes.

  • Minimum supported version: Hive SDK v4.16.4.0
  • Development engine: Unity®

Latest downloads

Download the tutorial app and source code from the files below.

Download the tutorial app

Release Date Download
2023-12-05 Hive_SDK_Tutorial_v1.1.0_apk.zip

Download the source code

Release Date Download
2023-12-05 Hive_SDK_Tutorial_v1.1.0_unitypackage.zip

Getting started with the tutorial app

To build the tutorial app in your Unity project, please follow the instructions below.

  1. Install the Hive SDK via the SDK Manager.
  2. After completing the Hive SDK installation, Import the Hive SDK Tutorial UnityPackage from the tutorial source code into your project.
  3. In the Unity Editor, go to Edit > Project Settings > Player and set as follows:
    • Change Package Name to com.hive.tutorial.android.google.global.normal`.
    • Change Minimum API Level to Android 5.1 (API level 22).
  4. Disable Firebase in Hive > ExternalDependency.
  5. In Hive > Edit Config, set as follows and select Regenerate Android Manifest & Hive Config & Import Hive SDK, Google Play Services (Game, etc).

  6. AppID: com.sample.tutorial.android.google.global.normal`

  7. Facebook App ID: com.sample.tutorial.android.google.global.normal`
  8. Zone: Real`

You have completed the settings to build the Hive SDK tutorial app. For information on how to build, please refer to Building for Android.