Skip to content

Tutorial

Overview

The Hive SDK Tutorial is a sample app that demonstrates how each feature of the Hive SDK works when applied to your app. The tutorial covers SDK initialization, promotion, billing, and notification features. With the Hive SDK Tutorial, you can check how the essential Hive SDK features required for app configuration work by reviewing the source code.

  • In Getting started with the tutorial, you can check the essential Hive SDK features in order.
  • In Check tutorial by item, you can select and check the feature you want to review.


Tutorial app screen example Tutorial App Screen Example

Tutorial source code example Tutorial Source Code Example

Development environment

The development environment for the Hive SDK Tutorial is the same as the Hive SDK development environment. For details, see 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 tutorial app

Release Date Download
2025-07-02 Hive_SDK_Tutorial_v1.2.0_apk.zip

Download source code

Release Date Download
2025-07-02 Hive_SDK_Tutorial_v1.2.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 SDK using the Hive SDK Manager.
  2. After the SDK installation is complete, Import the Hive SDK Tutorial UnityPackage from the tutorial source code into your project.

Build Android tutorial app

The steps to configure the Unity Editor for building the Android tutorial app are as follows:

  1. In the Edit > Project Settings > Player > Android menu, configure the settings as below:
    • Change the Package Name to com.hive.tutorial.android.google.global.normal.
    • Change the Minimum API Level to Android 5.1 (API level 22).
  2. In the Hive > Hive Dependencies(ExternalDependency) menu, configure the settings as below:
    • Keep the default settings for Hive Module Settings
    • Disable all options except Hive Membership in Auth Settings
    • Disable all options in Push Settings
    • Keep the default values (Google PlayStore, HiveStore) in Market Settings
    • Disable all options in Analytics Settings
  3. In the Hive > Hive Config(Android) menu, configure the settings as below:
    • Common > Hive App Id: com.sample.tutorial.android.google.global.normal
    • Common > Zone: Real
    • Optional > agreementDetermineBase: Account

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

Build iOS tutorial app

The steps to configure the Unity Editor for building the iOS tutorial app are as follows:

  1. In the Edit > Project Settings > Player > iOS menu, configure the settings as below:
    • Change the Bundle Identifier to com.hive.tutorial.ios.apple.global.normal.
    • Change the Target minimum iOS Version to 13.0.
  2. In the Hive > Hive Dependencies(ExternalDependency) menu, configure the settings as below:
    • Keep the default settings for Hive Module Settings
    • Disable all options except Hive Membership in Auth Settings
    • Disable all options in Push Settings
    • Keep the default values in Market Settings
    • Disable all options in Analytics Settings
  3. In the Hive > Hive Config(iOS) menu, configure the settings as below:
    • Common > Hive App Id: com.sample.tutorial.ios.apple.global.normal
    • Common > Zone: Real
    • Optional > agreementDetermineBase: Account

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