Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web application not registering in Firebase project console

In my project console, I get this message.

There are currently no apps in the project FancyProject

I then receive the instructions to include Firebase in a script tag in my application.

However, I have already included it in my React application as the following and I have checked to make sure that it registers. I am also able to update my Firebase database as well in my application with no problems. How come this doesn't get added as an app in my project console?

import Firebase from 'firebase'

export const config = {
  apiKey: "<APIKEY>,
  authDomain: "<AUTHDOMAINLINK>,
  databaseURL: "<DATABASEURL>",
  storageBucket: "<STORAGEBUCKET>",
  messagingSenderId: "<SENDERID>"
}


let app = Firebase.initializeApp(config)
console.log(app.name) // this registers!


export const ref = Firebase.database().ref()
export const firebaseAuth = Firebase.auth
like image 336
Yu Mad Avatar asked Jan 10 '17 18:01

Yu Mad


1 Answers

This is expected behavior. Only iOS and Android apps are added in the list of apps in the Firebase Console. The web link/snippet is purely shown there as an easy way to access the settings for your web app.

like image 75
Frank van Puffelen Avatar answered Nov 15 '22 13:11

Frank van Puffelen