Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.57 KB

Build-Variants.md

File metadata and controls

37 lines (22 loc) · 1.57 KB

Information about build variants of the Commons app.

The Commons project has four build variants made using the combination of two build types and two flavours as shown below.

Build types:

  • release
  • debug

Product flavours:

  • prod
  • beta

These build types and flavours form the four build types as shown below:

- debug release
beta betaDebug betaRelease
prod prodDebug prodRelease

The four build variants:

betaDebug: This version connects to the beta server and can be used for debugging the app during development.

prodDebug: This version connects to the production server and can also be used for debugging the app during development.

betaRelease: This is the release version of the app which connects to the beta server. This cannot be used for debugging the app. You would have to sign this version of the app using your signing keys.

prodRelease: This is the release version of the app which connects to the production server. This cannot be used for debugging the app. You would have to sign this version of the app using your signing keys.

For information on how to change build variants, this page can be referred.

Links to official android documentation

Build types - https://developer.android.com/studio/build/build-variants#build-types

Product flavours - https://developer.android.com/studio/build/build-variants#product-flavors