-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User ID is left blank on Android #3302
Comments
Hi @espenrl, thanks for raising this. Looks like a bug - the behaviour should indeed be the same on all platforms. |
This logic doesn't seem to be implemented at all for Windows. And for Android it actually seems to be implemented already, but for some reason doesn't work. https://github.com/search?q=repo%3Agetsentry%2Fsentry-java+user.setid&type=code And here is for iOS https://github.com/search?q=repo%3Agetsentry%2Fsentry-cocoa+%22userid+%3D%22&type=code |
Package
Sentry.Maui
.NET Flavor
.NET
.NET Version
8.0.4
OS
Android
SDK Version
4.4.0
Self-Hosted Sentry Version
No response
Steps to Reproduce
Setup a MAUI project configured for Sentry. Do not override user configuration - hence standard behavior is to be expected with regards to user information in Sentry events.
Expected Result
According to https://docs.sentry.io/platforms/dotnet/guides/maui/enriching-events/identify-user/#id
Actual Result
User ID is left blank/null in Sentry events.
On iOS the user ID is set to a randomly generated guid and hence works according to documentation.
The text was updated successfully, but these errors were encountered: