React Native show how to set Platform.OS as Environment
Core or SDK?
Platform/SDK
Which part? Which one?
React Native
Description
It'd be great to have a mention in React Native's Config.Environment docs that you can set the OS. Optional https://docs.sentry.io/platforms/react-native/configuration/environments/
Why: Crash Free Rates cannot bet separated by OS (Android vs iOS) in Dashboard Widgets as well as Release Health.
The SDK.environment attribute is one place you could set
production-android
production-ios
to indicate it.
Sentry.sdk({ environment: Platform.OS })
Suggested Solution
mention it here https://docs.sentry.io/platforms/react-native/configuration/environments/
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-docs for triage ⏲️
Routing to @getsentry/product-owners-sdks-mobile for triage ⏲️
Let's add to the troubleshooting page and note the possible side effects like notifications...