[impeller] Add doc note on how to enable Impeller without the tool. (flutter/engine#33600)
This commit is contained in:
@@ -149,3 +149,26 @@ states of completion:
|
||||
there are no Impeller components that do this currently.
|
||||
|
||||

|
||||
|
||||
## Try Impeller in Flutter
|
||||
|
||||
Impeller is available under the `--enable-impeller` flag on iOS and Android. This flag can be specified to `flutter run`.
|
||||
|
||||
If the application needs to be launched with Impeller enabled without using the Flutter tool, follow the platform specific steps below.
|
||||
|
||||
### iOS
|
||||
|
||||
To your `Info.plist` file, add under the top-level `<dict>` tag:
|
||||
```
|
||||
<key>FLTEnableImpeller</key>
|
||||
<true/>
|
||||
```
|
||||
|
||||
### Android
|
||||
|
||||
To your `AndroidManifest.xml` file, add under the `<application>` tag:
|
||||
```
|
||||
<meta-data
|
||||
android:name="io.flutter.embedding.android.EnableImpeller"
|
||||
android:value="true" />
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user