flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

request: flutterfire configure needs a new option for app nickname

Open frederikstonge opened this issue 2 years ago • 6 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues.

Command

flutterfire configure -n / --name <app_name>

Description

As a developer, I want to be able to specify the name of the app to be created when calling flutterfire configure. Right now, it is defaulting to the value in pubspec.yaml.

Reasoning

I am running multiple flavors and I created a script to automatically create all apps in firebase. I want to specify the name of each app without them taking the value from pubspec.yaml.

Additional context and comments

No response

frederikstonge avatar Jul 20 '23 16:07 frederikstonge

I am confused, what would be updated by having an option for the app nick name?

russellwheatley avatar Oct 19 '23 11:10 russellwheatley

@russellwheatley This is a good feature. I use futterfire configure in a CI/CD pipeline to build different applications using a single code base. But every new application has a name like "project (ios)" or "project (android)". This looks confusing...

I also use the rename package so that I can specify an app nickname even without changing variables!

UPD: oh yep, it's called a "white label app"

black-rusuz avatar Dec 28 '23 12:12 black-rusuz

I would like this option OR no nicknames at all.

My company develop white label applications, I use 1 firebase project to store 30 apps, all are listed with same nickname as I use flutterfire configure.

The problem with it, when some of these 30 apps has problems, per example, I cannot find the right one to check on Crashlytics, as all are listed with same name (the nickname).

Check below image, these are 7 differents apps I have under same firebase project: image

As a workaround, I need first to go to project settings and rename the nickname (mostly I would set nickname same as package name). This way I would find it on Crashlytics, Analytics, and so on.

If nickname was optional my life would be a lot easier.

It is optional on firebase project settings, it makes no sense flutterfire configure set it by default.

brunodmn avatar Jan 05 '24 14:01 brunodmn