Merge branch 'develop' into feature/iOS9-Updates

This commit is contained in:
Andreas Linde
2015-08-27 10:18:42 +02:00
2 changed files with 10 additions and 0 deletions

View File

@@ -103,6 +103,8 @@
- (void)setLastCrashFilename:(NSString *)lastCrashFilename;
- (void)leavingAppSafely;
@end

View File

@@ -42,6 +42,10 @@
#import "BITUpdateViewControllerPrivate.h"
#import "BITAppVersionMetaInfo.h"
#if HOCKEYSDK_FEATURE_CRASH_REPORTER
#import "BITCrashManagerPrivate.h"
#endif
typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
BITUpdateAlertViewTagDefaultUpdate = 0,
BITUpdateAlertViewTagNeverEndingAlertView = 1,
@@ -138,6 +142,10 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
[self.delegate updateManagerWillExitApp:self];
}
#if HOCKEYSDK_FEATURE_CRASH_REPORTER
[[BITHockeyManager sharedHockeyManager].crashManager leavingAppSafely];
#endif
// for now we simply exit the app, later SDK versions might optionally show an alert with localized text
// describing the user to press the home button to start the update process
exit(0);