Skip to content
This repository was archived by the owner on Jul 2, 2022. It is now read-only.

Commit ba3d495

Browse files
committed
Removed Fabric For App Center
1 parent e8bb503 commit ba3d495

3 files changed

Lines changed: 25 additions & 29 deletions

File tree

CodeHub.iOS/AppDelegate.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
using CodeHub.Core.Messages;
1818
using CodeHub.iOS.XCallback;
1919
using System.Reactive.Linq;
20-
using CrashlyticsKit;
21-
using FabricSdk;
2220
using Splat;
21+
using Microsoft.AppCenter;
22+
using Microsoft.AppCenter.Analytics;
23+
using Microsoft.AppCenter.Crashes;
2324

2425
namespace CodeHub.iOS
2526
{
@@ -51,12 +52,7 @@ public static void Main(string[] args)
5152
/// <returns>True or false.</returns>
5253
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
5354
{
54-
Crashlytics.Instance.Initialize();
55-
Fabric.Instance.Initialize();
56-
57-
#if DEBUG
58-
Fabric.Instance.Debug = true;
59-
#endif
55+
AppCenter.Start("eef367be-437c-4c67-abe0-79779b3b8392", typeof(Analytics), typeof(Crashes));
6056

6157
Window = new UIWindow(UIScreen.MainScreen.Bounds);
6258
Presenter = new IosViewPresenter(this.Window);

CodeHub.iOS/CodeHub.iOS.csproj

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -383,24 +383,6 @@
383383
<Reference Include="MvvmCross.Localization">
384384
<HintPath>..\packages\MvvmCross.Binding.4.4.0\lib\Xamarin.iOS10\MvvmCross.Localization.dll</HintPath>
385385
</Reference>
386-
<Reference Include="FabricSdk">
387-
<HintPath>..\packages\Fabric.1.4\lib\Xamarin.iOS10\FabricSdk.dll</HintPath>
388-
</Reference>
389-
<Reference Include="FabricSdk.Platform">
390-
<HintPath>..\packages\Fabric.1.4\lib\Xamarin.iOS10\FabricSdk.Platform.dll</HintPath>
391-
</Reference>
392-
<Reference Include="AnswersKit">
393-
<HintPath>..\packages\Crashlytics.1.4\lib\Xamarin.iOS10\AnswersKit.dll</HintPath>
394-
</Reference>
395-
<Reference Include="AnswersKit.Platform">
396-
<HintPath>..\packages\Crashlytics.1.4\lib\Xamarin.iOS10\AnswersKit.Platform.dll</HintPath>
397-
</Reference>
398-
<Reference Include="CrashlyticsKit">
399-
<HintPath>..\packages\Crashlytics.1.4\lib\Xamarin.iOS10\CrashlyticsKit.dll</HintPath>
400-
</Reference>
401-
<Reference Include="CrashlyticsKit.Platform">
402-
<HintPath>..\packages\Crashlytics.1.4\lib\Xamarin.iOS10\CrashlyticsKit.Platform.dll</HintPath>
403-
</Reference>
404386
<Reference Include="Humanizer">
405387
<HintPath>..\packages\Humanizer.Core.2.2.0\lib\netstandard1.0\Humanizer.dll</HintPath>
406388
</Reference>
@@ -445,6 +427,24 @@
445427
<HintPath>..\packages\Xam.Plugins.Settings.3.1.1\lib\Xamarin.iOS10\Plugin.Settings.dll</HintPath>
446428
</Reference>
447429
<Reference Include="System.Net.Http" />
430+
<Reference Include="Microsoft.AppCenter">
431+
<HintPath>..\packages\Microsoft.AppCenter.1.4.0\lib\Xamarin.iOS10\Microsoft.AppCenter.dll</HintPath>
432+
</Reference>
433+
<Reference Include="Microsoft.AppCenter.iOS.Bindings">
434+
<HintPath>..\packages\Microsoft.AppCenter.1.4.0\lib\Xamarin.iOS10\Microsoft.AppCenter.iOS.Bindings.dll</HintPath>
435+
</Reference>
436+
<Reference Include="Microsoft.AppCenter.Crashes">
437+
<HintPath>..\packages\Microsoft.AppCenter.Crashes.1.4.0\lib\Xamarin.iOS10\Microsoft.AppCenter.Crashes.dll</HintPath>
438+
</Reference>
439+
<Reference Include="Microsoft.AppCenter.Crashes.iOS.Bindings">
440+
<HintPath>..\packages\Microsoft.AppCenter.Crashes.1.4.0\lib\Xamarin.iOS10\Microsoft.AppCenter.Crashes.iOS.Bindings.dll</HintPath>
441+
</Reference>
442+
<Reference Include="Microsoft.AppCenter.Analytics">
443+
<HintPath>..\packages\Microsoft.AppCenter.Analytics.1.4.0\lib\Xamarin.iOS10\Microsoft.AppCenter.Analytics.dll</HintPath>
444+
</Reference>
445+
<Reference Include="Microsoft.AppCenter.Analytics.iOS.Bindings">
446+
<HintPath>..\packages\Microsoft.AppCenter.Analytics.1.4.0\lib\Xamarin.iOS10\Microsoft.AppCenter.Analytics.iOS.Bindings.dll</HintPath>
447+
</Reference>
448448
</ItemGroup>
449449
<ItemGroup>
450450
<Content Include="Images\Buttons\black_button%402x.png" />

CodeHub.iOS/packages.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<package id="akavache" version="5.0.0" targetFramework="xamarinios10" />
44
<package id="akavache.core" version="5.0.0" targetFramework="xamarinios10" />
55
<package id="akavache.sqlite3" version="5.0.0" targetFramework="xamarinios10" />
6-
<package id="Answers" version="1.4" targetFramework="xamarinios10" />
76
<package id="BTProgressHUD" version="1.2.0.6" targetFramework="xamarinios10" />
8-
<package id="Crashlytics" version="1.4" targetFramework="xamarinios10" />
9-
<package id="Fabric" version="1.4" targetFramework="xamarinios10" />
107
<package id="GitHubClient" version="1.0.15" targetFramework="xamarinios10" />
118
<package id="Humanizer.Core" version="2.2.0" targetFramework="xamarinios10" />
9+
<package id="Microsoft.AppCenter" version="1.4.0" targetFramework="xamarinios10" />
10+
<package id="Microsoft.AppCenter.Analytics" version="1.4.0" targetFramework="xamarinios10" />
11+
<package id="Microsoft.AppCenter.Crashes" version="1.4.0" targetFramework="xamarinios10" />
1212
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="xamarinios10" />
1313
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="xamarinios10" />
1414
<package id="Microsoft.CSharp" version="4.4.0" targetFramework="xamarinios10" />

0 commit comments

Comments
 (0)