-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Passing additional info to setUser displays as unknown #1074
Comments
Hi @StebanDev, I reproduced this. This actually occurs on our backend as I checked, the React Native SDK sends the user object with the unknown keys on the same level as the other fields. Do you mind letting me know what SDK your other project uses? Thanks. |
Hi @jennmueng, thank you for the quick response. I have checked and it's working fine on 1.3.1 version. |
Another thing to notice is that with latest sdk version the user properties are overridden instead of merged, e.g |
@StebanDev Hmm I will investigate this further and get back to you. Thanks! Also, |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Closing the issue, as it seems like the original issue has been resolved. |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 1.7.2
react-native
version: 0.63.2Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
Link to issue
Configuration:
(
@sentry/react-native
)I have following issue:
Sentry is not displaying user additional info passed with the
setUser
method.Steps to reproduce:
Actual result:
[Actual result]
The additional info is shown together as json with an unknown label
Expected result:
I would expect to parse the additional fields as it does on another project
The text was updated successfully, but these errors were encountered: