Skip to main content

Dart and Flutter packaging

Your Flutter applications developed using Dart must meet specific packaging and compilation requirements before you can submit them for scanning.

For instructions for other platforms, see Supported languages and platforms.

You can analyze applications using Veracode Static Analysis, if you have a license.

Required files

Veracode supports mobile applications for iOS and Android written in Flutter and packaged as an iOS Archive (IPA) or an Android Package (APK).

Veracode requires a debug build of your Flutter application.

Supported platforms and compilers

LanguagePlatformSupported versions
DartAndroid, iOS2.17, 2.18, 2.19, 3.0, 3.1, 3.2
FlutterAndroid, iOS3.0, 3.3, 3.7, 3.10, 3.13, 3.16

Compilation guidance for Flutter

You can use the Flutter CLI tool to build your application. After building the application, you can submit the output file to Veracode for scanning.

To build an iOS Archive file, run the following command:

flutter build ipa --debug

The iOS Archive is available in the build/ios/ipa folder.

To build an Android APK file, run the following command:

flutter build apk --debug

The Android Package file is available in the build/app/outputs/flutter-apk folder.