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

Set Up Hercules Module: Android

Hive SDK Unreal Plugin includes Hercules by default.

Removing the Hercules module: Android

Open the /Plugins/HIVESDK/Source/HIVESDK/HIVESDK_APL.xml file and remove the following line:

iOS

Set Up Hercules Module: iOS

Hive SDK Unreal Plugin includes Hercules by default.

Uninstall Hercules module: iOS

Remove the /Plugins/HIVESDK/Source/HIVESDK/ThirdParty/iOS/framework/Hive/Hercules.embeddedframework.zip file.

Windows

Set Up Hercules Module: Windows

Same as Unreal Android/iOS

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