flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

request: Allow custom pubspec.yaml path to detect firebase dependencies in local packages

Open kwellman opened this issue 5 months ago • 2 comments

Is there an existing feature request for this?

  • [x] I have searched the existing issues.

Command

flutterfire configure —in <local package path>

Description

As I understand it, the Flutterfire “configure” command always reads pubspec.yaml from the project root to determine which Firebase libraries are used.

I’d like to be able to specify the path of the pubspec.yaml when running the configure command through a command line option (like maybe a —in or —pubspec or —packages option).

Reasoning

In modular Flutter projects, Firebase dependencies may be declared in a separate local package. Without the ability to specify a custom pubspec.yaml path, this setup isn’t supported without hacky workarounds. This creates a roadblock for splitting Firebase-based functionality into reusable packages.

Additional context and comments

No response

kwellman avatar Aug 09 '25 16:08 kwellman