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

Commit 873527a

Browse files
committed
Updates & Unnecessary library removal
1 parent 5b72de2 commit 873527a

14 files changed

Lines changed: 39 additions & 382 deletions

CodeHub.Core/CodeHub.Core.iOS.csproj

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,12 @@
147147
<Compile Include="Messages\CancelationMessage.cs" />
148148
<Compile Include="Messages\ErrorMessage.cs" />
149149
<Compile Include="Services\AccountsService.cs" />
150-
<Compile Include="Services\ErrorService.cs" />
151150
<Compile Include="Services\IAccountPreferencesService.cs" />
152151
<Compile Include="Services\IAccountsService.cs" />
153152
<Compile Include="Services\IAlertDialogService.cs" />
154153
<Compile Include="Services\IAnalyticsService.cs" />
155154
<Compile Include="Services\IDefaultValueService.cs" />
156155
<Compile Include="Services\IEnvrionmentService.cs" />
157-
<Compile Include="Services\IErrorService.cs" />
158156
<Compile Include="Services\IHttpClientService.cs" />
159157
<Compile Include="Services\IJsonHttpClientService.cs" />
160158
<Compile Include="Services\IJsonSerializationService.cs" />
@@ -198,12 +196,6 @@
198196
<Reference Include="ModernHttpClient">
199197
<HintPath>..\packages\modernhttpclient.2.4.2\lib\Xamarin.iOS10\ModernHttpClient.dll</HintPath>
200198
</Reference>
201-
<Reference Include="Flurry.Analytics.iOS">
202-
<HintPath>..\packages\Flurry.Analytics.1.2.1\lib\Xamarin.iOS10\Flurry.Analytics.iOS.dll</HintPath>
203-
</Reference>
204-
<Reference Include="Flurry.Analytics.Portable">
205-
<HintPath>..\packages\Flurry.Analytics.Portable.1.2.0\lib\XamariniOS10\Flurry.Analytics.Portable.dll</HintPath>
206-
</Reference>
207199
<Reference Include="Cirrious.CrossCore.Touch">
208200
<HintPath>..\packages\MvvmCross.HotTuna.CrossCore.3.5.1\lib\Xamarin.iOS10\Cirrious.CrossCore.Touch.dll</HintPath>
209201
</Reference>
@@ -222,17 +214,17 @@
222214
<Reference Include="Cirrious.MvvmCross.Plugins.Messenger">
223215
<HintPath>..\packages\MvvmCross.HotTuna.Plugin.Messenger.3.5.1\lib\Xamarin.iOS10\Cirrious.MvvmCross.Plugins.Messenger.dll</HintPath>
224216
</Reference>
225-
<Reference Include="Newtonsoft.Json">
226-
<HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
227-
</Reference>
228217
<Reference Include="Cirrious.MvvmCross.Touch">
229218
<HintPath>..\packages\MvvmCross.HotTuna.MvvmCrossLibraries.3.5.1\lib\Xamarin.iOS10\Cirrious.MvvmCross.Touch.dll</HintPath>
230219
</Reference>
231220
<Reference Include="Cirrious.MvvmCross">
232221
<HintPath>..\packages\MvvmCross.HotTuna.MvvmCrossLibraries.3.5.1\lib\Xamarin.iOS10\Cirrious.MvvmCross.dll</HintPath>
233222
</Reference>
223+
<Reference Include="Newtonsoft.Json">
224+
<HintPath>..\packages\Newtonsoft.Json.8.0.2\lib\portable-net40+sl5+wp80+win8+wpa81\Newtonsoft.Json.dll</HintPath>
225+
</Reference>
234226
<Reference Include="GitHubSharp">
235-
<HintPath>..\packages\GitHubClient.1.0.6.0\lib\portable-net45+win+wpa81\GitHubSharp.dll</HintPath>
227+
<HintPath>..\packages\GitHubClient.1.0.8.0\lib\portable-net45+win+wpa81+MonoAndroid10+xamarinios10+MonoTouch10\GitHubSharp.dll</HintPath>
236228
</Reference>
237229
</ItemGroup>
238230
<ItemGroup />

CodeHub.Core/Services/ApplicationService.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ public void DeactivateUser()
4545

4646
public void ActivateUser(GitHubAccount account, Client client)
4747
{
48-
Flurry.Analytics.Portable.AnalyticsApi.SetUserId(account.Username);
49-
Flurry.Analytics.Portable.AnalyticsApi.LogEvent ("event:Login");
50-
5148
Accounts.SetActiveAccount(account);
5249
Account = account;
5350
Client = client;

CodeHub.Core/Services/ErrorService.cs

Lines changed: 0 additions & 286 deletions
This file was deleted.

CodeHub.Core/Services/IErrorService.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

CodeHub.Core/Utils/ExceptionExtensions.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
1-
using Cirrious.CrossCore;
2-
using CodeFramework.Core.Services;
3-
41
namespace System
52
{
63
public static class ExceptionExtensions
74
{
8-
public static void Report(this Exception e)
9-
{
10-
var service = Mvx.Resolve<IErrorService>();
11-
if (service != null)
12-
service.ReportError(e);
13-
}
14-
155
[System.Diagnostics.Conditional("DEBUG")]
166
public static void Dump(this Exception e)
177
{

CodeHub.Core/ViewModels/BaseViewModel.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ protected void DisplayAlert(string message)
8383
/// <param name="e">E.</param>
8484
protected void ReportException(Exception e)
8585
{
86-
e.Report();
8786
Messenger.Publish(new ErrorMessage(this, e));
8887
}
8988
}

0 commit comments

Comments
 (0)