Skip to content

FCM V1 could get firebase project id from the provided credentials file/io object. #142

@xavarius

Description

@xavarius

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions