Skip to content

Instantly share code, notes, and snippets.

@lordcodes
Created February 16, 2020 21:33
Show Gist options
  • Save lordcodes/72253b10ca2bba3e0f8e89bb6d5d3719 to your computer and use it in GitHub Desktop.
Save lordcodes/72253b10ca2bba3e0f8e89bb6d5d3719 to your computer and use it in GitHub Desktop.
Code for the article: "Protecting secrets in an Android project"
GameCatalogueApp_EncryptionKey=super_secret_key
buildConfigField(
"String",
"ENCRYPTION_KEY",
buildConfigProperty("GameCatalogueApp_EncryptionKey")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment