-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[flutter_tool] add enable-embedder-api flag #121895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| final int? hotEventReloadVMTimeInMs; // cd 55 | ||
| final bool? commandRunEnableImpeller; // cd 56 | ||
| final String? commandRunIOSInterfaceType; // cd 57 | ||
| final bool? commandRunEnableEmbedderApi; // cd 58 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need to track this as usage data? I can't imagine more than one or two non-contributor customers ever running with this (as opposed to impeller).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will remove it.
packages/flutter_tools/lib/src/reporting/custom_dimensions.dart
Outdated
Show resolved
Hide resolved
|
|
||
| void addEnableEmbedderApiFlag({required bool verboseHelp}) { | ||
| argParser.addFlag('enable-embedder-api', | ||
| negatable: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be negatable and default to false.
| help: 'Whether to enable embedder api.' | ||
| 'This flag only currently supports iOS, it is' | ||
| 'ignored when targeting other platforms.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about:
| help: 'Whether to enable embedder api.' | |
| 'This flag only currently supports iOS, it is' | |
| 'ignored when targeting other platforms.', | |
| help: 'Whether to enable the experimental embedder API on iOS.', |
Co-authored-by: Jenn Magder <[email protected]>
jmagman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This flag is to enable the embedder api on iOS during iOS embedder api migration. Framework part of flutter/engine#40025
First step of #112232
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.