sentry-unity
sentry-unity copied to clipboard
Special defaults for Desktop vs Mobile vs Xyz
trafficstars
We're adding defaults that make sense on Mobile. For example #230. This features does make sense on Desktop though so we could have different defaults for Mobile vs Desktop.
- [ ] On desktop environments default
IsEnvironmentUserto true.
We could just flip this flag in the Sentry native Windows support configure method.
So if a user opts-in to SendDefaultPii, we'll take the username of the user logged in to the machine.
In the Editor integration, we can edit the tooltip to say that this IsEnvironmentUser option only takes effect on desktop.
On mobile we'll ignore what the user sets there, and force IsEnvironmentUser=false since it doesn't make sense on mobile.