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; }
void InitXamarinInsight (IContextService contextService, IMobileConfigurationManager configService) { Insights.Initialize(configService.MobileConfigurationFile.XamarinInsightKey, ((Context)contextService.GetContext())); Insights.HasPendingCrashReport += async(sender, isStartupCrash) => { if (isStartupCrash) { await Insights.PurgePendingCrashReports(); } }; }