diff --git a/ClientSDKs/BeerDrinkin.Services.Abstractions/ILogService.cs b/ClientSDKs/BeerDrinkin.Services.Abstractions/ILogService.cs index 66410e3..a089e38 100644 --- a/ClientSDKs/BeerDrinkin.Services.Abstractions/ILogService.cs +++ b/ClientSDKs/BeerDrinkin.Services.Abstractions/ILogService.cs @@ -29,5 +29,10 @@ public interface ILogService void Report(Exception exception); void Report(Exception exception, IList tags); + + void Report(Exception exception, string viewController, string method, string comment); + + void Report(Exception exception, string viewController, string method); + } } diff --git a/MobileApps/Forms/BeerDrinkin.Forms/BeerDrinkin.Forms.Core.sln b/MobileApps/Forms/BeerDrinkin.Forms/BeerDrinkin.Forms.Core.sln new file mode 100644 index 0000000..89df742 --- /dev/null +++ b/MobileApps/Forms/BeerDrinkin.Forms/BeerDrinkin.Forms.Core.sln @@ -0,0 +1,17 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BeerDrinkin.Forms.Core", "BeerDrinkin.Forms.Core.csproj", "{C5BCCF93-1D58-4838-B6B4-6F9D9D232EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C5BCCF93-1D58-4838-B6B4-6F9D9D232EC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C5BCCF93-1D58-4838-B6B4-6F9D9D232EC5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C5BCCF93-1D58-4838-B6B4-6F9D9D232EC5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C5BCCF93-1D58-4838-B6B4-6F9D9D232EC5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/MobileApps/iOS/BeerDrinkin.iOS.csproj b/MobileApps/iOS/BeerDrinkin.iOS.csproj index 0d4ab82..9507848 100644 --- a/MobileApps/iOS/BeerDrinkin.iOS.csproj +++ b/MobileApps/iOS/BeerDrinkin.iOS.csproj @@ -660,6 +660,7 @@ + diff --git a/MobileApps/iOS/Helpers/Logger.cs b/MobileApps/iOS/Helpers/Logger.cs index 486a751..a076589 100644 --- a/MobileApps/iOS/Helpers/Logger.cs +++ b/MobileApps/iOS/Helpers/Logger.cs @@ -32,8 +32,25 @@ public void Report(Exception exception) public void Report(Exception exception, IList tags) { - RaygunClient.Current.Send(exception, tags); + RaygunClient.Current.SendInBackground(exception, tags); } + + public void Report(Exception exception, string viewController, string method, string comment = "") + { + var dict = new Dictionary(); + dict.Add("View Controller", viewController); + dict.Add("Method", method); + if(!string.IsNullOrEmpty(comment)) + dict.Add("Comment", comment); + + RaygunClient.Current.SendInBackground(exception, null, dict); + } + + public void Report(Exception exception, string viewController, string method) + { + Report(exception, viewController, method, ""); + } + } } diff --git a/MobileApps/iOS/Info.plist b/MobileApps/iOS/Info.plist index 8923578..5a6e039 100644 --- a/MobileApps/iOS/Info.plist +++ b/MobileApps/iOS/Info.plist @@ -79,8 +79,6 @@ CFBundleShortVersionString 0.3 - CFBundleVersion - 0 UIApplicationShortcutItems @@ -107,5 +105,7 @@ fetch remote-notification + CFBundleVersion + 1 diff --git a/MobileApps/iOS/Main.storyboard b/MobileApps/iOS/Main.storyboard index 3bd4a0e..c87e373 100644 --- a/MobileApps/iOS/Main.storyboard +++ b/MobileApps/iOS/Main.storyboard @@ -1,7 +1,6 @@ - @@ -67,6 +66,7 @@ Avenir-Medium Avenir-Medium Avenir-Book + Avenir-Book Avenir-Medium Avenir-Medium Avenir-Book @@ -80,7 +80,6 @@ Avenir-Book Avenir-Medium Avenir-Medium - Avenir-Book @@ -229,7 +228,7 @@ - - - -