Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

158
Visualizações
WEB Firbase Remote Config - fetchAndActivate method fetching all the values from remote config, I want only single value to be fetched

Here is my code snippet which I am using, everything is working as expected but only issue is that fetchAndActivate method fetches all value from remote and caches them. Is there any way of feching and activating only single value from remote config?

fetchAndActivate(remoteConfig).then(
      _res => {
        const val = getValue(remoteConfig, "MPEmptyCartRecos");
        const value = JSON.parse(val.asString());
        this.setState({widgetConfigResponse: value});
    },
    err => {
        console.log("error >>>>>", err);
    }
    );
about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

There is no way to fetch just a single value from Remote Config, but of course your code can decide to use only one of the fetched values.

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda