You are free to write code to initialize the Firebase SDK with whatever values you like, whenever you like, without a json file.
– Doug StevensonJul 16 '20 at 21:48
1
Adding to what @DougStevenson said, you can use [this](https://pub.dev/documentation/firebase_core/latest/firebase_core/FirebaseApp/configure.html) method.
– Christopher MooreJul 16 '20 at 21:49
It might also help if you look at this post https://stackoverflow.com/questions/37634767/how-to-connect-to-more-than-one-firebase-database-from-an-android-app/37643374#37643374
– Sarvesh BhatnagarJul 16 '20 at 21:53
different approach might be to use [link](https://pub.dev/packages/firebase_core) , but I can not get the FirebaseAuth from FirebaseApp object
– AsiBJul 19 '20 at 05:33
@DougStevenson : so if i have the following code `final FirebaseOptions SecondayDB_options = const FirebaseOptions(
googleAppID: '1:7931046381656:android:2fb28f95a41bde78da062d',
gcmSenderID: '7931046381656',
apiKey: 'AIzaSyAvG7mVHoX0C_zim1D3UhUITF4ml7Be4fsI',
);` and ` final FirebaseApp app = await FirebaseApp.configure(
name: 'FB-1',
options: SecondayDB_options,
);` what is the next step ? how do I get the FirebaseAuth object related?
– AsiBJul 19 '20 at 13:21