Configuração remota

Configuração remota

Ajuste as definições do jogo e ative funcionalidades em tempo real sem um novo lançamento da app

Começar grátis

Atualizações de valor instantâneas

Altere qualquer valor de configuração do tipo string, numérico ou booleano a partir do dashboard e os clientes recebem-no na próxima consulta.

Sem atrasos do App Store

Evite ciclos de revisão para alterações de balanceamento, toggles de eventos ou parâmetros de A/B testing controlando-os remotamente.

Armazenamento key-value tipado

Armazene qualquer configuração como um par key-value nomeado que o seu SDK lê em tempo de execução com um getter fortemente tipado.

Integração rápida

Integração rápida

Configuração remota

Unity (C#)
// Unity C#: Remote Config
using PM.horizOn.Cloud.Manager;
using UnityEngine;

// Every value in one request at startup (cached afterwards)
var configs = await RemoteConfigManager.Instance.GetAllConfigs();

// Typed getters with a default for a missing key
int maxPlayers = await RemoteConfigManager.Instance.GetInt("max_players", 4);
bool eventActive = await RemoteConfigManager.Instance.GetBool("holiday_event", false);
Debug.Log($"Max players: {maxPlayers}, event active: {eventActive}");
REST
# REST API: Remote Config

# Fetch all remote configs
curl -X GET https://horizon.pm/api/v1/app/remote-config/all \
  -H "X-API-Key: YOUR_API_KEY"

# Fetch a single config value by key
curl -X GET https://horizon.pm/api/v1/app/remote-config/max_players \
  -H "X-API-Key: YOUR_API_KEY"

Estes exemplos usam o SDK do Unity (C#) e a API REST. Godot e Unreal têm as mesmas chamadas nos seus próprios SDKs: veja o quickstart

Perguntas frequentes

Perguntas frequentes

Pronto para integrar?

Comece a construir com o horizOn hoje. Tier gratuito incluído.