remove iOS folder (#61561)
This commit is contained in:
@@ -129,9 +129,10 @@ class Template {
|
||||
return null;
|
||||
}
|
||||
|
||||
// TODO(cyanglaz): do not add iOS folder by default when 1.20.0 is released.
|
||||
// Also need to update the flutter SDK min constraint in the pubspec.yaml to 1.20.0.
|
||||
// https://github.com/flutter/flutter/issues/59787
|
||||
final bool ios = context['ios'] as bool;
|
||||
if (relativeDestinationPath.contains('ios') && !ios) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Only build a web project if explicitly asked.
|
||||
final bool web = context['web'] as bool;
|
||||
|
||||
Reference in New Issue
Block a user