Is it possible on android to programmatically initialize firebase-crashlytics SDK so it would not use the data in google-services.json ?
I am asking this because we use two firebase projects and currently google-services.json is of the project we use for Push notifications and AdMob integration, and I cannot replace it with google-services.json of the second project we have set up for crashlytics.
I have already tried using FirebaseOptions from my Application onCreate as follows:
FirebaseOptions options = new FirebaseOptions.Builder()
.setApplicationId("firebase_crashlytics_application_id")
.setApiKey("firebase_crashlytics_api_key")
.setProjectId("firebase_crashlytics_project_id")
.build();
FirebaseApp.initializeApp(this, options, "crashlytics");
So far no luck - firebase crashlytics is not properly initialized.