The current schema of the Firebase service credentials file contains the project_id, which is named project_name in this project.
I suggest the following changes:
- rename project_name into firebase_project_id
- lazy getter for project_id from the Firebase service credentials file
- remove project_name from the initialisation all along
The result?
Initialisation is a bit cleaner, as it removes redundancy.
No confusion around project IDs/names anymore.
Firebase project ID is resolved behind the scenes.