You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EXCEPTION: Error: FIREBASE FATAL ERROR: database.refFromURL: Host name does not match the current database: (found another-db.firebaseio.com but expected db.firebaseio.com)
Creating a new instance of Firebase is not possible. Ends up in a
Error: Unresolved Type Firebase
The text was updated successfully, but these errors were encountered:
Is there any way to programatically alter which database gets bootstrapped? Or do you just have to set up the hardcoded primary DB and then set up a secondary one?
If using the above approach - how do you authenticate with the second DB? I don't understand how you AngularFire (injected as af) knows which DB to authenticate as.
Got a error if working with multiple databases.
// relative URL, uses the database url provided in bootstrap
const relative = af.database.object('/item');
// absolute URL
const absolute = af.database.object('https://another-db.firebaseio.com/item');
EXCEPTION: Error: FIREBASE FATAL ERROR: database.refFromURL: Host name does not match the current database: (found another-db.firebaseio.com but expected db.firebaseio.com)
Creating a new instance of Firebase is not possible. Ends up in a
Error: Unresolved Type Firebase
The text was updated successfully, but these errors were encountered: