Ejemplo n.º 1
0
        void InitXamarinInsight(IContextService contextService, IMobileConfigurationManager configService)
        {
            Insights.Initialize(configService.MobileConfigurationFile.XamarinInsightKey, ((Context)contextService.GetContext()));

            Insights.HasPendingCrashReport += async(sender, isStartupCrash) =>
            {
                if (isStartupCrash)
                {
                    await Insights.PurgePendingCrashReports();
                }
            };
        }
        public OctocatContributorService(IMobileConfigurationManager mobileConfigService)
        {
            _mobileConfigService = mobileConfigService;

            API_KEY = _mobileConfigService.MobileConfigurationFile.GitHubKey;
        }
		public OctocatContributorService (IMobileConfigurationManager mobileConfigService)
		{
			_mobileConfigService = mobileConfigService;

			API_KEY = _mobileConfigService.MobileConfigurationFile.GitHubKey;
		}
Ejemplo n.º 4
0
		void InitXamarinInsight (IContextService contextService, IMobileConfigurationManager configService)
		{
			Insights.Initialize(configService.MobileConfigurationFile.XamarinInsightKey, ((Context)contextService.GetContext()));

			Insights.HasPendingCrashReport += async(sender, isStartupCrash) =>
			{
				if (isStartupCrash)
				{
					await Insights.PurgePendingCrashReports();
				}
			};
		}