Crashlytics:如何在崩溃详细信息中查看用户 name/email/id?

Crashlytics: How to see user name/email/id in crash details?

我正在使用 Crashlytics 从 iOS 应用程序收集崩溃信息。 为了使崩溃更具体,我想在崩溃详细信息中看到用户 name/email/id。
为了这个目标,我使用了这样的代码:

[Crashlytics setUserIdentifier:@"userID"];
[Crashlytics setUserEmail:@"user@email.com"];
[Crashlytics setUserName:@"userName"];

发生崩溃时,我找不到在崩溃详细信息中查看此信息的方法。
我看到这样的画面:

问题:如何在崩溃详细信息中查看用户 name/email/id?

我就是这样做的

Crashlytics.sharedInstance.userIdentifier = (user) ? user : @"Unknown";
Crashlytics.sharedInstance.userName = (firstName && lastName) ? [NSString stringWithFormat: @"%@ %@", firstName, lastName] : @"Anonymous";

我在用户数据可用时做一次。 在 Fabric 中显示如下(查看单个崩溃的详细信息时):

更新

  • [CrashlyticsKit setUserIdentifier:@"123456789"];

  • [CrashlyticsKit setUserEmail:@"person@domain.com"];

  • [CrashlyticsKit setUserName:@"Awesome AppUser"];

Enhance Crash Reports

它现在位于第 'Recent Activity'

部分下的问题页面底部

点击进入一个版本,你会看到更具体的信息。以及用户信息。

但是还有一个问题,crash和error被记录在Fabric中是按组组织的,我测试过,一个crash report只能记录最近触发的用户信息,如果新用户触发了这个crash用户的信息将取代现有的。

Update I have asked for Twitter's support and found what I need. In issue list an issue item may combined with some same crashes or errors, in other word an item contains some crashes all in one. So a page represent a crash happened and detail information will display in it.THE MOST IMPORTANT IS the report can be scroll through in the top of the page then you can find the specific user information.

在我的例子中,没有这样的选项来查看用户名和详细信息,但在问题详细信息页面中有一个选项卡 Export Ids 所以点击它会下载 .csv 文件用户数。

截至今天,我可以通过在 Crashlytics 仪表板中按 "View all sessions" 来查看用户信息。

用户信息应显示在以下屏幕(右下角):