Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

80
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!