remove hockeyapp and integrate appcenter
This commit is contained in:
@@ -10,7 +10,10 @@
|
||||
#import "GameViewController.h"
|
||||
#include "app.h"
|
||||
#include <WTSonarPenDriver.h>
|
||||
#import <HockeySDK/HockeySDK.h>
|
||||
|
||||
@import AppCenter;
|
||||
@import AppCenterAnalytics;
|
||||
@import AppCenterCrashes;
|
||||
|
||||
@interface AppDelegate () {
|
||||
GameViewController* view;
|
||||
@@ -29,7 +32,7 @@
|
||||
|
||||
- (void)hockeyapp_crash
|
||||
{
|
||||
[[[BITHockeyManager sharedHockeyManager] crashManager] generateTestCrash];
|
||||
[MSCrashes generateTestCrash];
|
||||
}
|
||||
|
||||
- (float)sonarpen_pressure
|
||||
@@ -58,10 +61,11 @@
|
||||
}
|
||||
|
||||
- (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];
|
||||
//[[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"c2dccca196294ecca8fd5d58af2738cf"];
|
||||
[MSAppCenter start:@"c2dccca1-9629-4ecc-a8fd-5d58af2738cf" withServices:@[
|
||||
[MSAnalytics class],
|
||||
[MSCrashes class]
|
||||
]];
|
||||
// sonarpen_driver = [[WTSonarPenDriver alloc] initWithApplication:application];
|
||||
// [sonarpen_driver start];
|
||||
// [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(penStatusChanged) name:WTSonarPenDriverStateChangedNotification object:nil];
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "objc_utils.h"
|
||||
|
||||
int main(int argc, char * argv[]) {
|
||||
install_global_handlers();
|
||||
//install_global_handlers();
|
||||
@autoreleasepool {
|
||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user