Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No HockeyApp crash reports when using Firebase and HockeyApp simultaneously

In our iOS app we use the HockeyApp SDK and Firebase SDK.

We initialize both in AppDelegate directly at startup:

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {  

    BITHockeyManager.sharedHockeyManager().configureWithIdentifier(hockeyAppId);
    BITHockeyManager.sharedHockeyManager().startManager();
    BITHockeyManager.sharedHockeyManager().authenticator.authenticateInstallation();

    FIRApp.configure()

    [...]
}

The problem is that when we don´t activate Firebase our crash reports are correctly sent to HockeyApp and everything works fine. But when we activate Firebase then nothing happens when it comes to crash reports on the HockeyApp side.

Why is this happening? Is it possible that Firebase prevents HockeyApp from sending crash reports? And how is it possible to maybe solve this problem?

Info: I am aware that HockeyApp does not send crash reports with an attached debugger.

Thanks very much for reading!

like image 976
Philipp Otto Avatar asked Feb 02 '26 01:02

Philipp Otto


1 Answers

Unfortunately, it's technically not possible to use more than one third-party crash reporting tool at the same time in one app.
iOS allows only for one exception handler to be registered at a time, so if you initialize Firebase after the HockeyApp SDK, the Firebase exception handler replaces HockeyApp's or vice versa. You need to pick one of the SDKs to handle crash reports and disable the crash reporting functionality in the other.

like image 56
Lukas Spieß Avatar answered Feb 03 '26 18:02

Lukas Spieß



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!