Remote Config

circle-info

This feature is supported in iOS SDK 2.11.0 and above.

Remote Config is a feature that lets you replace values or properties managed in your application with parameter values defined in the Hackle Dashboard, enabling real-time control of application behavior and settings.

Navigate to the Remote Config screen in the Hackle Dashboard to configure parameters and set values according to user identification rules.

remoteConfig

Calling the remoteConfig() method returns a HackleRemoteConfig instance containing the Remote Config information (configured parameters and rule information) for the user.

// 원격 구성 정보 담은 인스턴스를 반환합니다.
let remoteConfig = hackleApp.remoteConfig()

Query Remote Config Parameters

  • The HackleRemoteConfig instance returned by remoteConfig() contains all the parameter configuration set in Remote Config.

  • Since parameters set on the Hackle Remote Config screen exist as key-value pairs, you can use the methods below to retrieve parameter values according to the configured parameter type.

  • You can dynamically change rules and values on the Remote Config parameter settings screen.

circle-exclamation

getString

  • Returns a parameter value configured as STRING or JSON type.

  • Returns the default value or the value set by the rule based on the state decision.

getInt

  • Returns a parameter value configured as Number type as an Int.

  • Returns the default value or the value set by the rule based on the state decision.

getDouble

  • Returns a parameter value configured as Number type as a Double.

  • Returns the default value or the value set by the rule based on the state decision.

getBool

  • Returns a parameter value configured as Boolean type.

  • Returns the default value or the value set by the rule based on the state decision.

Last updated