-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Closed
Copy link
Labels
e1-hoursEffort: < 8 hrsEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.
Description
Page URLs
- https://docs.flutter.dev/platform-integration/platform-channels#example-project
- https://docs.flutter.dev/packages-and-plugins/developing-packages#step-1-create-the-package-1
There may be others.
Describe the problem
flutter create --ios-language
(abbreiviated to -i
) flag will be removed in a future release, and will default to Swift. Remove references to the flag in the website. It's referenced as -i swift
and -i objc
.
Expected fix
website/src/content/platform-integration/platform-channels.md
Lines 267 to 271 in d7787d0
By default, our template supports writing Android code using Kotlin, | |
or iOS code using Swift. To use Java or Objective-C, | |
use the `-i` and/or `-a` flags: | |
* In a terminal run: `flutter create -i objc -a java batterylevel` |
Remove the Objective-C part:
By default, our template supports writing Android code using Kotlin. To use Java, use the
-a
flag:
- In a terminal run:
flutter create -a java batterylevel
Also around here
or the `-i` option to specify the language for ios. |
website/src/content/packages-and-plugins/developing-packages.md
Lines 359 to 364 in d7787d0
```console | |
$ flutter create --org com.example --template=plugin --platforms=android,ios,linux,macos,windows -i objc hello | |
``` | |
```console | |
$ flutter create --org com.example --template=plugin --platforms=android,ios,linux,macos,windows -i swift hello | |
``` |
Additional context
More context for the flag removal in flutter/flutter#148586
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.
Metadata
Metadata
Assignees
Labels
e1-hoursEffort: < 8 hrsEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.