Remote Configuration
Support
Bridge.remoteConfig.isSupportedLoad Values
private void Start()
{
var options = new Dictionary<string, object>();
switch (Bridge.platform.id)
{
case "yandex":
var clientFeatures = new object[]
{
new Dictionary<string, object>
{
{ "name", "levels" },
{ "value", "5" },
}
};
options.Add("clientFeatures", clientFeatures);
break;
}
Bridge.remoteConfig.Get(options, OnRemoteConfigGetCompleted);
}
private void OnRemoteConfigGetCompleted(bool success, Dictionary<string, string> data)
{
if (success)
{
foreach (var keyValuePair in data)
{
Debug.Log($"key: { keyValuePair.Key }, value: { keyValuePair.Value }");
}
}
}Last updated