Skip to content

Unreal

In the Unreal environment, you can automatically generate the hive_config.xml file and assign settings values using the Unreal Editor. Using the Unreal Editor is recommended as it eliminates the need to manually configure the hive_config.xml file and AndroidManifest.xml during Android app development. Follow the steps below to configure the settings for using Hive.

To configure the hive_config.xml file, first click Edit > Project Settings from the Unreal Editor menu. The project settings window will appear on the screen. In the left panel of the project settings window, click the HIVEConfig XML menu under the plugin title. The HIVEConfig XML settings screen will appear.

IdP settings

The Facebook Settings and Google Play Settings are configurations for using each IdP login. For more information, please refer to the Authentication Guide.

HiveConfig settings

The HIVEConfig XML settings screen generates the hive_config.xml file and allows you to input settings values. If the settings value file is missing, the Hive SDK will automatically generate it. The file can be found at the following locations:

  • Android
    • /HIVESDK/Source/HIVESDK/ThirdParty/android/resource/res/raw/hive_config.xml
  • iOS
    • /HIVESDK/Source/HIVESDK/ThirdParty/iOS/resource/hive_config.xml
  • Windows
    • /HIVESDK/Source/HIVESDK/ThirdParty/Windows/config/hive_config.xml


When you change the settings values, the Unreal Editor values will be automatically saved, and the files ( hive_config.xml, etc_string.xml, GooglePlayAppID.xml) that store the settings values will also be automatically saved with the reflected changes.

The HiveConfig Settings allows you to configure the following values. For example, if you want to use Google Play Store payments in the Unreal Android environment, set the Market value to GO. If you want to use Apple AppStore payments in the Unreal iOS environment, set the Market value to AP.

Field Description Value Range
Zone Hive server environment
  • Sandbox (default)
  • Live
Logging Enable/Disable logging of internal operations of the Hive client
  • On (default)
  • Off
Push Use of push services provided by the Hive platform
  • On (default)
  • Off
Company Game publishing company
  • Com2uS: C2S
  • Gamevil: GVI
Channel Login service platform used by the game app Hive (default)
Market Market where the app will be launched
  • Android: GO (Google), LE (Lebi)
  • iOS: AP (App Store)

Other settings

WriteExternalStoragePermission: This is a required value in Unreal Android that determines whether to request external storage permission from the user. Checking this option will cause the Hive client to request external storage permission from the user when it initializes on the device.