public static void Run() { CrossVersionTracking.Current.Track(); Crashes.GetErrorAttachment = (report) => ErrorAttachment.AttachmentWithText(CrossVersionTracking.Current.ToString()); if (!string.IsNullOrEmpty(PrivateKeys.MobileCenter.AppSecret)) { MobileCenter.Start(PrivateKeys.MobileCenter.AppSecret, typeof(Microsoft.Azure.Mobile.Analytics.Analytics), typeof(Microsoft.Azure.Mobile.Crashes.Crashes)); } PclExportClient.Configure(); JsonHttpClient.GlobalHttpMessageHandlerFactory = () => new NativeMessageHandler(); Settings.RegisterDefaultSettings(); #if __ANDROID__ Settings.VersionNumber = CrossVersionTracking.Current.CurrentVersion; Settings.BuildNumber = CrossVersionTracking.Current.CurrentBuild; #endif }
public static void Run() { CrossVersionTracking.Current.Track(); AnalyticsManager.Shared.ConfigureHockeyApp(); PclExportClient.Configure(); JsonHttpClient.GlobalHttpMessageHandlerFactory = () => new NativeMessageHandler(); Settings.RegisterDefaultSettings(); }
public static void Run() { configureHockeyApp(); XWeather.Bootstrap.Run(); PclExportClient.Configure(); JsonHttpClient.GlobalHttpMessageHandlerFactory = () => new NativeMessageHandler(); Settings.RegisterDefaultSettings(); }
public static void Run() { AnalyticsManager.Shared.ConfigureHockeyApp(); LocationProviderFactory.Create = () => new LocationProvider(); XWeather.Bootstrap.Run(); PclExportClient.Configure(); JsonHttpClient.GlobalHttpMessageHandlerFactory = () => new NativeMessageHandler(); Settings.RegisterDefaultSettings(); }