How to set user information to Crashlytics api in Android


Looks like detail UI in Fabric has been changed.

  1. Select one of crash issue.
  2. Click Version in Recently Activityenter image description here

  3. On detail page top right hand corner, you should see affected user information.enter image description here


If your application uses some form of user identification (i.e. login, email, phone, device specific id) you can use that as crashlitics user information. I suppose you can generate user id when your app is first launched and save it in shared preferences, for example. It'll be shown at top-right corner of detailed crash view.

i.e. I set ID and name as soon as user authenticates in my app.

enter image description here

You typically want to set them as soon as possible (as your data arrives) and all info has been initialized.