Environments
Events are tagged with the build environment so you can keep test traffic out of your real numbers. Filter by it on the dashboard.
The buckets
- Release — your live App Store build.
- Sandbox— TestFlight and App Review builds. Both run against Apple’s sandbox and can’t be told apart, so they share one bucket — which keeps reviewer and beta traffic out of your production figures.
- Debug — local / development builds.
How it’s set
The SDK derives the environment automatically from the build (debug configuration, and the App Store receipt type for release vs sandbox). You can override it explicitly:
Astronaut.shared.configure(
AstronautConfiguration(
trackingId: "naut_xxxxxxxx",
releaseEnvironment: "staging" // optional override
)
)