sid
April 20, 2021, 11:37pm
1
I tried:
Sentry.init({
dsn: SENTRY_DSN
});
Sentry.configureScope(scope => scope.setUser({ id: ‘’})); // clear automatically set user
after I get the userID
Sentry.setTag('loggedInUser', userID);
I see loggedInUser reported only for a few events, not all. Same is the case when I used:
Sentry.setUser("id", userID);
What am I doing wrong?
sid
April 22, 2021, 4:50pm
3
Sentry’s React native SDK (@sentry /react-native@2.3.0)
sid
April 23, 2021, 3:55pm
4
Edit:
Tried -
Sentry.setUser({ id: userID });
Sentry.setTag(“loggedInUser”, userID);
And I saw that only some of the crash events come with a loggedInUser tag or a User.
system
Closed
July 22, 2021, 3:56pm
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.