Skip to content

Image not showing in release mode with Flutter Flavorizr #3

@sathya4code

Description

@sathya4code

Hi,

I am using flavours in my app. I want to display different image using flavour. For that I am using Flutter Flavorizr.

When I am running project in debug mode, image is showing from res folder. But when I am running release mode, image not showing. and didn't get any exception.

Command to run debug mode:
flutter run --flavor ascham -t lib/main-ascham.dart

Command to run release mode:
flutter run --release --flavor ascham -t lib/main-ascham.dart

I have attached the sample project for your reference. Please let me know for further clarification if required.

Note: App launcher icon changing based on the flavor.

Thanks,
Sathya.

flutter_flavors.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions