private void GetRemoteConfig() { try { firebaseRemoteConfig.Fetch(0); firebaseRemoteConfig.ActivateFetched(); data = firebaseRemoteConfig.GetString(DEFAULT_THEME); } catch (Exception e) { Console.WriteLine("ERROR REMOTE CONFIG: " + e.Message); } }
public string GetRemoteDataString(string key) { try { InitRemoteConfig(); firebaseRemoteConfig.Fetch(0); firebaseRemoteConfig.ActivateFetched(); return(firebaseRemoteConfig.GetString(key)); } catch (Exception) { return(Resource.Xml.remote_config_defaults.ToString()); } }
public string GetActiveInappName() { return(_firebaseRemoteConfig.GetString("active_inapp_product_name")); }
public string GetString(string key) => _firebaseRemote.GetString(key);