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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With