Closed tristan-warner-smith closed 2 years ago
The current implementation is: Analytics.setUserID("SomeUserId")
Analytics.setUserID("SomeUserId")
However for Crashlytics to correctly associate crashes with a firebase user you also need to call: Crashlytics.crashlytics().setUserID("SomeUserId")
Crashlytics.crashlytics().setUserID("SomeUserId")
You can repro this by:
.identify(userID, traits: ["email": email])
Data
User.Id
If you set the Crashlytics User Id correctly you'll see the user section shown here (for Android)
Raised against the wrong project.
The current implementation is:
Analytics.setUserID("SomeUserId")
However for Crashlytics to correctly associate crashes with a firebase user you also need to call:
Crashlytics.crashlytics().setUserID("SomeUserId")
You can repro this by:
.identify(userID, traits: ["email": email])
Data
tab on Crashlytics for the crash event and noting a lack ofUser.Id
If you set the Crashlytics User Id correctly you'll see the user section shown here (for Android)