mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add a generic object which contains some basic information about the crash in the last session
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user