Android

Set Up Hercules Module

Refer to the build.gradle settings in SDK Set Up>Android – Android Studio>Setting Dependency for Hive SDK and External Library to add dependencies for Hercules.

Remove Hercules Module

Remove the following dependencies in the build.gradle file described in SDK Set Up>Android – Android Studio>Setting Dependency for Hive SDK and External Library.

 


iOS

Set Up Hercules Module

See the Podfile example codes in SDK Set Up>iOS – Xcode>Applying Framework to add the dependency settings for the Hercules.

Remove Hercules Module

See the Podfile example codes in SDK Set Up>iOS – Xcode>Applying Framework to remove the dependency settings for the Hercules.

 


Cocos

Android

Set Up Hercules Module: Android

Same as Android native

Removing the Hercules module: Android

Same as Android native

iOS

Set Up Hercules Module: iOS

Same as iOS native

Uninstall Hercules module: iOS

Same as iOS native

 

Unity

Android

Set Up Hercules Module: Android

The following settings are required to use the Hercules module in the Unity environment.

  1. Click Hive > ExternalDependency.

  2. When the ExternalDependencyEditor window appears, enable Hercules.

Removing the Hercules module: Android

The following settings are required to remove the Hercules module from the Unity environment.

  1. Click Hive > ExternalDependency.

  2. When ExternalDependencyEditor window appears, diable Hercules.

iOS

Set Up Hercules Module: iOS

Same as Unity Android

Uninstall Hercules module: iOS

Same as Unity Android

Windows

Set Up Hercules Module: Windows

Hive SDK Unity Plugin includes Hercules by default.

Uninstall the Hercules module: Windows

Delete the files below.

  • /Assets/Hive_SDK_v4/Plugins/Windows/additional/Hercules.dll
  • /Assets/Hive_SDK_v4/Plugins/Windows/additional/HIVE_UI_IMPL_C_PORT.dll

 

Unreal

Android

  1. Select Unreal Editor > Edit > Project Settings.
  2. In the left panel of Project Settings, select Hive SDK > Dependency – Android.
  3. Check Hive Module > Enable Hercules.
  4. Uncheck to not use Hercules in your app.

iOS

  1. Select Unreal Editor > Edit > Project Settings.
  2. In the left panel of Project Settings, select Hive SDK > Dependency – iOS.
  3. Check Hive Module > Enable Hercules.
  4. Uncheck to not use Hercules in your app.

Windows

Set Up Hercules Module: Windows

The Hive SDK Unreal Plugin includes Hercules by default.

Uninstall the Hercules module: Windows

Remove the /Plugins/HIVESDK/Source/HIVESDK/ThirdParty/windows/additional/hivePlugins/hercules folder.

 

Calling API to enable/disable the Hercules module

 


Example Code

Unity®

C++

Kotlin

Java

Swift

Obj-C