integrate hockey app crash report for iOS and macOS
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <CoreVideo/CoreVideo.h>
|
||||
#include <OpenGL/OpenGL.h>
|
||||
#import "objc_utils.h"
|
||||
#import <HockeySDK/HockeySDK.h>
|
||||
|
||||
#include <deque>
|
||||
#include <chrono>
|
||||
@@ -425,7 +426,11 @@ static CVReturn MyDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTime
|
||||
}
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)notification
|
||||
{
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @YES }];
|
||||
//[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @YES }];
|
||||
|
||||
[[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"74cc797acaf74b6a9cde7fa4d59585c0"];
|
||||
// Do some additional configuration if needed here
|
||||
[[BITHockeyManager sharedHockeyManager] startManager];
|
||||
|
||||
if (!App::I.check_license())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user