Add a generic object which contains some basic information about the crash in the last session

This commit is contained in:
Andreas Linde
2014-04-03 19:57:35 +02:00
parent 1f96aaab5e
commit 06adc38535
6 changed files with 120 additions and 9 deletions

View File

@@ -32,12 +32,7 @@
#import "BITHockeyBaseManager.h"
// We need this check depending on integrating as a subproject or using the binary distribution
#if __has_include("CrashReporter.h")
#import "CrashReporter.h"
#else
#import <CrashReporter/CrashReporter.h>
#endif
@class BITCrashDetails;
/**
@@ -299,6 +294,12 @@ typedef NS_ENUM(NSUInteger, BITCrashManagerStatus) {
@property (nonatomic, readonly) BOOL wasKilledInLastSession;
/**
* Provides details about the crash that occured in the last app session
*/
@property (nonatomic, readonly) BITCrashDetails *lastSessionCrashDetails;
/**
Indicates if the app did receive a low memory warning in the last session