Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Allow to specify different "google-services.json" for different builds (test/prod) #308

Open
@camillo777

Description

@camillo777

Hello,
I am creating 2 apps on Firebase for the same project, a dev/test app and a release/prod app.
This is needed to avoid polluting production DBs (analytics, firestore, messaging, ...) with test and development data.
I did not found a simple way to force Flutter to load a different "google-services.json" based on the app build type (dev or prod).
Is there a clever way to achieve this separation of data?
Thank you
Camillo

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