Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Let key value reflect the key name

Summary

We would like to let the Build Number field in Settings let the user know which key is used to sign the build.

Currently, in the Build Number field in Settings, we can see which key is used to sign the build.

Description

What is the current behavior?

Currently, in the Build Number, we can see 2 values:

  • test-keys if the build uses default Android keys (our test builds)
  • dev-keys if the build uses other keys at this place (our dev and stable builds)

What is the improved behavior?

Display

  • test-keys if the build uses default Android keys
  • dev-keys if the build uses our dev keys
  • stable-keys if the build uses our stable keys

Maybe we have to use the RELEASE_TYPE to make it dynamic.

What does it bring?

  1. Avoid confusion (being on stable and read dev)
  2. Being able to use this variable to let app (especially Apps here) knowing why version the user is onto

Examples

Validation