codex-team/hawk.android.app

Add different product builds

Opened this issue · 1 comments

Add gradle products for different variant builds.

Need add next builds:

  • stage
  • beta

It is need for api for changing for stage or beta without change code.

Goal of the task it is change api via BuildConfig plus constant from gradle.
For add a constant in product build type of gradle, just past next code:
buildConfigField "String", "SERVER_URL", "https://api.beta.hawk.so/graphql"