We are working on a Kotlin-based Android project where sentry is already up and running. We would like to make use of the sentry environment tags in order to be able to distinguish between production and staging issues.
What I already know is:
- It is possible to set a tag programmatically. However, this is not what we are after.
- It is possible to achieve via the sentry-cli. However, this is not what we are after either.
- It should be possible to use the sentry.properties file to configure the different environment tags. But I couldn't figure out: which keywords to use? Where in the project structure to place the different sentry.properties files?
- By looking at the javascript documentation, I suspect there should be a way to achieve it via the AndroidManifest.xml. Has anyone managed to get it working like this?
