Currently, if you have more than a single build configuration for your iOs project you are required to run the flutterfire configure command multiple times. From the documentation:
You need to run flutterfire configure for every configuration type. E.g. if you have Debug & Release configurations, you need to run flutterfire configure twice with the relevant arguments documented below.
If you are sharing the same configuration for different iOs build configurations. For example if the project has the following build configurations: Debug-dev, Profile-dev and Release-dev. Then, it would be very convenient to simply run once:
Hence, I would expect the above command to create three identical entries in the firebase.json file, equivalent to when its run multiple times with different ios-build-configs:
It is easier to run the command once rather than running it multiple times and changing the --ios-build-config each time with the same configuration.
For example, consider projects that have 3 Schemas (production, release, development) each with 3 Build Configurations (Profile, Debug, Release), a user of the FlutterFire CLI would have to run the command 9 times! Each time modifying the --ios-build-config instead of simply running it 3 times (one per schema, each schema having its own Firebase project configuration).
Is there an existing feature request for this?
Command
flutterfire configure
Description
Currently, if you have more than a single build configuration for your iOs project you are required to run the
flutterfire configure
command multiple times. From the documentation:If you are sharing the same configuration for different iOs build configurations. For example if the project has the following build configurations:
Debug-dev
,Profile-dev
andRelease-dev
. Then, it would be very convenient to simply run once:Hence, I would expect the above command to create three identical entries in the
firebase.json
file, equivalent to when its run multiple times with differentios-build-config
s:Reasoning
It is easier to run the command once rather than running it multiple times and changing the
--ios-build-config
each time with the same configuration.For example, consider projects that have 3 Schemas (production, release, development) each with 3 Build Configurations (Profile, Debug, Release), a user of the FlutterFire CLI would have to run the command 9 times! Each time modifying the
--ios-build-config
instead of simply running it 3 times (one per schema, each schema having its own Firebase project configuration).Additional context and comments
No response