You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecate iOS Objective-C create template flutter create --ios-language objc -t plugin for new plugins #169683
Very similar to #148586 for newly created plugins (not apps or plugin example apps).
We have metrics that show in 2024 Q1 less than 8% of flutter create -t plugin plugins were Objective-C. Deprecate and remove the flag and templates once that number reaches < 3% (making that number up..)
Deprecate and remove the flag and templates once that number reaches < 3% (making that number up..)
I'd also be comfortable with planning to remove it at the end of 2025 unless a compelling use case has been presented by then (i.e., one that can't be handled by the plugin developer making a mixed-mode plugin by adding Obj-C).
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
stuartmorgan-g commentedon May 29, 2025
I'd also be comfortable with planning to remove it at the end of 2025 unless a compelling use case has been presented by then (i.e., one that can't be handled by the plugin developer making a mixed-mode plugin by adding Obj-C).
jmagman commentedon May 29, 2025
I just checked the usage again, for the last 90 days 4.1% of newly created plugins used Objective-C.
go/flutter-usage-create-ios-language (internal link)
stuartmorgan-g commentedon May 30, 2025
That's faster drop-off than I expected for the long-tail usage. In that case, maybe we plan to remove it after the branch point for the next stable?
jmagman commentedon Aug 13, 2025
Down to 3.1% of newly created plugins used Objective-C. Branch is cut, let's do it.
jmagman commentedon Aug 13, 2025
Update help text to say something like
flutter/packages/flutter_tools/lib/src/commands/create.dart
Lines 73 to 74 in db1ede3
Delete
flutter/dev/devicelab/lib/tasks/plugin_tests.dart
Lines 423 to 431 in db1ede3
Delete usage data
flutter/packages/flutter_tools/test/commands.shard/hermetic/create_usage_test.dart
Line 240 in db1ede3
Delete
flutter/packages/flutter_tools/test/commands.shard/permeable/create_test.dart
Lines 700 to 701 in db1ede3
Strip out Objective-C logic from this test:
flutter/dev/devicelab/bin/tasks/plugin_lint_mac.dart
Line 51 in db1ede3
Deprecate Objective-C plugin template (#174003)
Deprecate Objective-C plugin template (flutter#174003)
Deprecate Objective-C plugin template (flutter#174003)
Deprecate Objective-C plugin template (flutter#174003)
github-actions commentedon Sep 29, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.Deprecate Objective-C plugin template (flutter#174003)