remove hockeyapp and integrate appcenter
This commit is contained in:
@@ -13,11 +13,14 @@
|
||||
#include <CoreVideo/CoreVideo.h>
|
||||
#include <OpenGL/OpenGL.h>
|
||||
#import "objc_utils.h"
|
||||
#import <HockeySDK/HockeySDK.h>
|
||||
|
||||
#include <deque>
|
||||
#include <chrono>
|
||||
|
||||
@import AppCenter;
|
||||
@import AppCenterAnalytics;
|
||||
@import AppCenterCrashes;
|
||||
|
||||
@implementation View
|
||||
{
|
||||
NSSharingService *airdrop_service;
|
||||
@@ -36,7 +39,7 @@
|
||||
}
|
||||
- (void)hockeyapp_crash
|
||||
{
|
||||
[[[BITHockeyManager sharedHockeyManager] crashManager] generateTestCrash];
|
||||
[MSCrashes generateTestCrash];
|
||||
}
|
||||
- (void)async_lock
|
||||
{
|
||||
@@ -446,11 +449,10 @@
|
||||
}
|
||||
- (void)applicationDidFinishLaunching:(NSNotification *)notification
|
||||
{
|
||||
//[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @YES }];
|
||||
|
||||
[[BITHockeyManager sharedHockeyManager] configureWithIdentifier:@"1500ff4a32eb4076be3b5147e2d8e27e"];
|
||||
// Do some additional configuration if needed here
|
||||
[[BITHockeyManager sharedHockeyManager] startManager];
|
||||
[MSAppCenter start:@"1500ff4a-32eb-4076-be3b-5147e2d8e27e" withServices:@[
|
||||
[MSAnalytics class],
|
||||
[MSCrashes class]
|
||||
]];
|
||||
|
||||
App::I->initLog();
|
||||
App::I->create();
|
||||
|
||||
Reference in New Issue
Block a user