Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Explicity set user.ip_address: {{auto}} #118

@cleptric

Description

@cleptric

Description

For client side SDKs, we need to explicitly set the user's IP address to {{auto}}, if the property was not set by the user.

By default, SDKs should not set {{auto}} and only do so if sendDefaultPii was set to true by the user.

Docs: https://develop.sentry.dev/sdk/expected-features/data-handling/

See getsentry/relay#4431

Stakeholder(s)

@jjbayer

Team(s)

Mobile, Web Frontend, GDX

SDKs

## SDKs
- [x] Flutter: https://github.com/getsentry/sentry-dart/pull/2726
- [x] Dart SDK - Depends on Flutter SDK
- [x] Apple/Cocoa SDK https://github.com/getsentry/sentry-cocoa/blob/72e34fae44b817d8c12490bbc5c1ce7540f86762/Sources/Sentry/SentryClient.m#L781-L786
- [ ] https://github.com/getsentry/sentry-java/issues/4068
- [x] Kotlin Multiplatform SDK - depends on Apple/Cocoa and Java/Android SDK
- [x] Electron SDK - https://github.com/getsentry/sentry-electron/pull/1057
- [x] JavaScript SDK - https://github.com/getsentry/sentry-javascript/pull/15008 & https://github.com/getsentry/sentry-javascript/issues/5347
- [x] .NET SDK - https://github.com/getsentry/sentry-dotnet/pull/3893
- [x] Unity SDK - Inherits it from the .NET SDK, see above.
- [x] PowerShell SDK - Inherits it from the .NET SDK, see above.
- [ ] Capacitor SDK https://github.com/getsentry/sentry-capacitor/issues/819
- [ ] Cordova SDK https://github.com/getsentry/sentry-cordova/issues/369
- [ ] React Native SDK https://github.com/getsentry/sentry-react-native/issues/4462
- [ ] Unreal SDK

Metadata

Metadata

Assignees

Projects

Status

Needs Discussion

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions