How to set user information to Crashlytics api in Android

帅比萌擦擦* 提交于 2019-12-05 07:40:34

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.

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


Looks like detail UI in Fabric has been changed.

  1. Select one of crash issue.
  2. Click Version in Recently Activity

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!