Two configuration
luckyboy07 opened this issue · comments
Cairudin Jr Ramos commented
var config = {
apiKey: '<your-api-key>',
authDomain: '<your-auth-domain>',
databaseURL: '<your-database-url>',
storageBucket: '<your-storage-bucket>'
};
var config2 = {
apiKey: '<your-api-key-2>',
authDomain: '<your-auth-domain-2>',
databaseURL: '<your-database-url-2>',
storageBucket: '<your-storage-bucket-2>'
}
is it possible to have two initialization of firebase?
David East commented
@luckyboy07 No, but you can create another app, and then create a database reference and pass it into an AngularFire instance.