sentry-unity
sentry-unity copied to clipboard
Platform-specific tag
It could be useful if all events got a tag based on the platform they were captured on. Currently, you can filter by "device" but that's pretty specific so maybe it would be nice to look for issues based on the platform, like "WebGL", "Android", etc.
This SDK feature is rather specific for multi-platform SDKs so maybe have a look what Flutter/Xamarin does and use the same tag name.
Interestingly this came up through a customer yesterday.
We have some alignment in those tags in React Native, Capacitor and Flutter. I'm not sure where we document that (if we do) but it's something like event.origin=javascript, event.origin=java, etc. @marandaneto might know more
The language isn't what I had in mind, more like the Application.Platform - https://docs.unity3d.com/ScriptReference/RuntimePlatform.html
https://docs.sentry.io/platforms/react-native/usage/event-information/
Before adding a tag like this we have to discuss with S&S and check if we should be using custom tags or alternative solutions.
Before adding a tag like this we have to discuss with S&S and check if we should be using custom tags or alternative solutions.
fwiw Flutter and React Native already do it.