integrate hockey app crash report for iOS and macOS

This commit is contained in:
2018-10-04 20:04:42 +02:00
parent 55dbab498f
commit c634a0647c
5 changed files with 91 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
#import "GameViewController.h"
#include "app.h"
#include <WTSonarPenDriver.h>
#import <HockeySDK/HockeySDK.h>
@interface AppDelegate () {
GameViewController* view;
@@ -52,6 +53,10 @@
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"c2dccca196294ecca8fd5d58af2738cf"];
// Do some additional configuration if needed here
[[BITHockeyManager sharedHockeyManager] startManager];
[[BITHockeyManager sharedHockeyManager].authenticator authenticateInstallation];
// sonarpen_driver = [[WTSonarPenDriver alloc] initWithApplication:application];
// [sonarpen_driver start];
// [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(penStatusChanged) name:WTSonarPenDriverStateChangedNotification object:nil];