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

88
Visualizações
Configuration for react native's firebase 9 library

I'm trying to set up a firebase database in react-native. Google does not seem to provide an SDK for iOS apps anymore, and many of the pieces of information are in new locations. I'm wondering how to find the information here:

const firebaseConfig = {
  apiKey: <value>
  authDomain: <value>
  databaseURL: <value>
  projectId: <value>
  storageBucket: <value>
  messagingSenderId: <value>
  appId: <value> 
};

I'm getting the error "Firebase App named [DEFAULT] already exists with different options or config (app/duplicate-app)" with the settings I found on my firebase account and I'm not sure how to troubleshoot this.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

you can get firebaseConfig from firebase settings. You need to register your ios bundle id in there so you can use cloud firestore or realtime database.

To avoid the given error. Try using this,

 if(firebase.apps.length == 0){
    firebase.initializeApp(firebaseConfig);
    }
about 4 years ago · Juan Pablo Isaza 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