Secrets and Build Config
Understand how store secrets in local.properties and share the secrets in all the platforms (Android, iOS, Web, Desktop)
AppKickstarter leverages BuildKonfig to store secrets and dispatch them in all platforms.
For example we have in local.properties this secret:
In Shared module (build.gradle file) we get the local.properties secrets and create usable constants:
This way we can use in Kotlin code (multiplatform) :
Last updated