sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Special defaults for Desktop vs Mobile vs Xyz

Open bruno-garcia opened this issue 4 years ago • 1 comments
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 IsEnvironmentUser to true.

bruno-garcia avatar Jun 14 '21 14:06 bruno-garcia

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.

bruno-garcia avatar Mar 29 '22 15:03 bruno-garcia