Skip to content

Commit 300c65b

Browse files
Merge pull request #294 from noblebuildsai/fix/remove-unsupported-flags
fix: remove unsupported iOS/Android language flags from flutter create
2 parents fea1a63 + c39684c commit 300c65b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/common/utils/shell/shel.utils.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ class ShellUtils {
3333
) async {
3434
LogService.info('Running `flutter create $path` …');
3535

36-
await run(
37-
'flutter create --no-pub -i $iosLang -a $androidLang --org $org'
38-
' "$path"',
36+
// Note: -i and -a flags are only supported for --template=plugin
37+
// For regular Flutter projects, Flutter uses Swift/Kotlin by default
38+
await run(
39+
'flutter create --no-pub --org $org "$path"',
3940
verbose: true);
4041
}
4142

0 commit comments

Comments
 (0)