iOS Crash Reports Missing User and Contact Despite Implementing BITHockeyManagerDelegate

Musicnotes App Developer's Avatar

Musicnotes App Developer

11 Aug, 2017 04:44 PM

Hello,

I am working on an iOS app using Xamarin.Forms and am trying add the User and Contact data to crash reports for iOS. With my research so far I figured out how to add a description to each crash using BITHockeyManagerDelegate and implementing ApplicationLogForCrashManager(BITCrashManager crashManager).

However when I implement the following:
UserIdForHockeyManager(BITHockeyManager hockeyManager, BITHockeyBaseManager componentManager)
UserEmailForHockeyManager(BITHockeyManager hockeyManager, BITHockeyBaseManager componentManager)
UserNameForHockeyManager(BITHockeyManager hockeyManager, BITHockeyBaseManager componentManager)

The User and Contact fields on the crash report are still blank.

I have also tried setting the following:

BITHockeyManager.SharedHockeyManager.UserId = "...";
BITHockeyManager.SharedHockeyManager.UserName = "...";
BITHockeyManager.SharedHockeyManager.UserEmail = "...";

Setting the variables in the SharedHockeyManager also did not work.

The following link describes a similar case:
https://support.hockeyapp.net/discussions/problems/38442-why-do-the-user-and-contact-columns-are-empty-on-website-for-all-my-crashes-despite-i-correctly-return-this-information-in-delegate-method

However setting the variables to null still did not fix the issue i was having.

Can someone please tell me what I am doing wrong here?

Thanks!

  1. 1 Posted by Musicnotes App ... on 11 Aug, 2017 05:25 PM

    Musicnotes App Developer's Avatar

    Just a follow up, the User and Contact did now show up when using a device. This might just be a simulator issue.

  2. Support Staff 2 Posted by Benjamin Scholt... on 12 Aug, 2017 03:00 AM

    Benjamin Scholtysik's Avatar

    Hey,

    I'm glad the information showed up now. We are not aware of any issue from within the simulator. Please get in touch if you continue to see this issue.

    Benny

  3. JasonPann closed this discussion on 21 Aug, 2017 03:13 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac