원격 구성 적용
remoteConfig
hackleClient.onReady(function() {
const user = { id: "ae2182e0" };
// 원격 구성 정보를 담은 인스턴스를 반환합니다.
const remoteConfig = hackleClient.remoteConfig(user)
});원격 구성 파라미터 조회
hackleClient.onReady(function() {
const user = { id: "ae2182e0" };
// 원격 구성 정보를 담은 인스턴스를 반환합니다.
const remoteConfig = hackleClient.remoteConfig(user)
//remoteConfig 에서 get() 메소드를 통해 parameter 값 가져오기
const parameterValue = remoteConfig.get(parameterKey, defaultValue)
// string 유형의 parameter값 예제
const strValue = remoteConfig.get("parmeterKey", "defaultValue")
});마지막 업데이트