-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Sentry.clearContext() blocks #51
Comments
The |
static clearContext(clearContext) {
if (Sentry.isNativeClientAvailable()) Sentry._nativeClient.clearContext();
// Sentry._ravenClient.clearContext();
} The problem seems not related to |
BTW, the https://docs.sentry.io/clients/javascript/usage/#tracking-users |
I was planning to use |
@HazAT, just confirming that |
Yeah but how do we clear the user context without other context infos?
Should we call |
@antoinerousseau If it works like that, yes use |
Logout saga (I am using redux-saga):
The
alert('test clear')
never gets executed, remove theSentry.clearContext();
then it pops up an alert.OS: iOS & Android
RN version: 0.44
react-native-sentry version: 0.8.1
The text was updated successfully, but these errors were encountered: