-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Describe the problem
It would make sense to allow the --config parameter when using tauri <ios|android> init as this would allow us to setup different flavors correctly. Currently I created 2 extra config files tauri.conf.dev.json and tauri.conf.stg.json. These have a custom identifier set inside and currently I need to regenerate the XCode project to build these custom identifiers but the init command doesn't allow specifiying a different config. It only uses the default one.
Describe the solution you'd like
We should be able to use the --config tauri.conf.stg.json the same as when we run the dev or build commands.
Alternatives considered
Maybe a better setup for different flavors could be discussed where we don't have to regenerate the project files to change which flavor we are building. There could be different targets in the XCode project for each flavor? But for now just allowing --config in the init command will allow this to work.
Additional context
No response