Too Long; Didn't Read
The Firebase documentation does a good job at outlining how to integrate Firebase into your project. If the app you’re developing has multiple application id’s (if different build variants haveset up in android), you will have to add an app for each id that your app uses. You need to make two Firebase projects for each app: one for development and one for production. You can do this by putting the files from the development account in your development and uat source sets and your productionfile in the production file.