public async Task FetchAndActivateAsync()
        {
            await FirebaseRemoteConfig.get_Instance().FetchAsync();

            Dictionary <string, string> all1 = this.GetAll();

            FirebaseRemoteConfig.get_Instance().ActivateFetched();
            Dictionary <string, string> all2 = this.GetAll();

            this._remoteConfigurationService.UpdateChangedList(all1, all2);
        }
 public async Task <T> GetAsync <T>(string key)
 {
     return(await Task.FromResult <T>((T)JsonConvert.DeserializeObject <T>(FirebaseRemoteConfig.get_Instance().GetString(this._remoteConfigurationService.GetPrefix() + key))));
 }
 public FirebaseRemoteConfigurationService(
     IRemoteConfigurationService remoteConfigurationService)
 {
     this._remoteConfigurationService = remoteConfigurationService;
     FirebaseRemoteConfig.get_Instance().SetDefaults(2131689478);
 }