EuanScott / project-tweety

MIT License
0 stars 0 forks source link

Create different build flavours #12

Open EuanScott opened 2 months ago

EuanScott commented 2 months ago

Description

While working at Discovery, I worked with a number of "different" apps. These different apps were really just white labeled apps with a different UI/UX and a different back end that they were targeting.

Using this knowledge of how apps like this would work. Create, lets say 3, different build flavors that can show this being possible within Flutter.

For the purposes of this, see if I can do the following to prove this as a viable option:

  1. I can update the app theming based on the build flavor.
  2. I can target a different endpoint or some other way to show that I targeting a different back end.

User Stories

N/A

Acceptance Criteria

  1. The primary app colour updates based on the flavor I am building for.
  2. I am targeting a different upstream service for each app flavour.
  3. I have implemented different Configuration files to build these different app types.

Additional Context

While undertaking this, look into whether or not this can be done other than by making use of different configuration files. I know in Native Android development, I would make use of buildVariants. Is there a Flutter version of this, or is this the different config files that I know to implement at current?