Description
Describe the problem
Right now when running tauri plugin init
it will always create a respective Swift and Kotlin project. To make a desktop-only plugin this is an awkward experience as the developer would have to then remove the respective projects.
Describe the solution you'd like
I personally prefer opt-in, so I'd see the default of tauri plugin init
to NOT create a mobile project (or to prompt the dev if they'd like to). This could give the option to add flags such as tauri plugin init [--with-ios|--with-andoird]
to bypass that prompt.
I'm not sure if running tauri plugin init --with-ios
would still prompt the user if they'd like to init android, or if that would only init the base desktop project with iOS and skip android completely.
Alternatives considered
No response
Additional context
Originally brought up in https://github.com/tauri-apps/tauri-docs/pull/1412/files/be2b0c2e42ca05842674bdb5cd5cc55e1f551596#diff-2e62f026cfd52587aa884598003549fdb22855e8637da24c74c0ece364922bd8R36
Metadata
Metadata
Assignees
Type
Projects
Status