Ejemplo n.º 1
0
 public static void RegisterHockeyApp()
 {
     var crashManagerDelegate = new HockeyAppCrashManagerDelegate(
         ServiceContainer.Resolve <IAppIdService>("appIdService"),
         ServiceContainer.Resolve <IUserService>("userService"));
     var task = crashManagerDelegate.InitAsync();
 }
Ejemplo n.º 2
0
        public static void RegisterHockeyApp()
        {
            var crashManagerDelegate = new HockeyAppCrashManagerDelegate(
                ServiceContainer.Resolve <IAppIdService>("appIdService"),
                ServiceContainer.Resolve <IUserService>("userService"));
            var manager = BITHockeyManager.SharedHockeyManager;

            manager.Configure("51f96ae568ba45f699a18ad9f63046c3", crashManagerDelegate);
            manager.CrashManager.CrashManagerStatus = BITCrashManagerStatus.AutoSend;
            manager.StartManager();
            manager.Authenticator.AuthenticateInstallation();
            manager.DisableMetricsManager = manager.DisableFeedbackManager = manager.DisableUpdateManager = true;
            var task = crashManagerDelegate.InitAsync(manager);
        }