skip to Main Content

When I am developing an application with flutter with version 3.27.1 it slows down the application too much and sometimes lead to crashes as I am using the impeller render engine, and when I use flutter run --no-enable-impeller it solve the problem, so how to disable the impeller during the development of my project on vs Code but without the need to run on the CMD, and I want to know is this will affect the release version of the project?

2

Answers


  1. To disable Impeller on Ios when deploying your app, add the following tags under the top-level tag in your app’s Info.plist file.

      <key>FLTEnableImpeller</key>
      <false />
    

    To disable Impeller on android when deploying your app, Add the following tag to your AndroidManifest.xml file under the tag.

    <meta-data
        android:name="io.flutter.embedding.android.EnableImpeller"
        android:value="false" />
    

    reference : medium article

    Login or Signup to reply.
  2. to disable impeller on vs-code, add –no-enable-impeller to the .vscode/launch.json

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "app_name",
                "request": "launch",
                "type": "dart",
                "toolArgs": [
                    "--no-enable-impeller"
    
                ]
            },
            ....
        ]
    

    }

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search