We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f31a17 + f4b775a commit 678b8f9Copy full SHA for 678b8f9
android/src/main/java/io/sentry/RNSentryModule.java
@@ -94,7 +94,7 @@ public void setTags(ReadableMap tags) {
94
95
@ReactMethod
96
public void setUser(ReadableMap user) {
97
- if (user.hasKey("email") && user.getString("userID") && user.getString("username")) {
+ if (user.hasKey("email") && user.hasKey("userID") && user.hasKey("username")) {
98
Sentry.setUser(
99
new UserBuilder()
100
.setEmail(user.getString("email"))
0 commit comments