Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use multiple crash reporter on iOS

We successfully use TestFlightLive as our crash reporter, but I think some features are missing. These missing features are in another crash reporter: Crashlytics, but as of now I'm not willig to switch crash reporters completely. So I wonder if it's possible to use these both crash reporters together in one app (which is meant to be in the app store in the future).

like image 389
Jens Kohl Avatar asked May 25 '12 13:05

Jens Kohl


1 Answers

I run both TestFlight and Crashlytics together and they both report errors fine. Like Jens Kohl says above, it must be included after the TestFlight SDK is initialized. Here's my code:

#ifdef DEBUG
    // setup testflight if in debug (ie dev) mode
    [TestFlight takeOff:kTestFlightAPIKey];
#endif

    [Crashlytics startWithAPIKey:kCrashlyticsAPIKey];
like image 104
Brian Antonelli Avatar answered Sep 28 '22 03:09

Brian Antonelli