diff --git a/.vs/Finance/xs/UserPrefs.xml b/.vs/Finance/xs/UserPrefs.xml index 2c6fef6..ff6d49b 100644 --- a/.vs/Finance/xs/UserPrefs.xml +++ b/.vs/Finance/xs/UserPrefs.xml @@ -1,6 +1,12 @@ - - - + + + + + + + + + diff --git a/.vs/Finance/xs/sqlite3/storage.ide b/.vs/Finance/xs/sqlite3/storage.ide index b869220..37e8c63 100644 Binary files a/.vs/Finance/xs/sqlite3/storage.ide and b/.vs/Finance/xs/sqlite3/storage.ide differ diff --git a/.vs/Finance/xs/sqlite3/storage.ide-shm b/.vs/Finance/xs/sqlite3/storage.ide-shm index 2d2509a..4187fb2 100644 Binary files a/.vs/Finance/xs/sqlite3/storage.ide-shm and b/.vs/Finance/xs/sqlite3/storage.ide-shm differ diff --git a/.vs/Finance/xs/sqlite3/storage.ide-wal b/.vs/Finance/xs/sqlite3/storage.ide-wal index 11eb5a4..0eda9e8 100644 Binary files a/.vs/Finance/xs/sqlite3/storage.ide-wal and b/.vs/Finance/xs/sqlite3/storage.ide-wal differ diff --git a/Finance.Android/Finance.Android.csproj b/Finance.Android/Finance.Android.csproj index 29469ef..8b08af8 100644 --- a/Finance.Android/Finance.Android.csproj +++ b/Finance.Android/Finance.Android.csproj @@ -20,6 +20,8 @@ Xamarin.Android.Net.AndroidClientHandler + false + armeabi-v7a;armeabi;x86;arm64-v8a;x86_64 true @@ -30,6 +32,7 @@ prompt 4 None + true true @@ -39,7 +42,11 @@ prompt 4 true - false +True +/Users/eduardorosas/Library/Developer/Xamarin/Keystore/LPAFinance/LPAFinance.keystore +JpvRDN3W$VbVTU@3 +LPAFinance +JpvRDN3W$VbVTU@3 @@ -55,6 +62,12 @@ + + 1.9.0 + + + 1.9.0 + diff --git a/Finance.Android/Properties/AndroidManifest.xml b/Finance.Android/Properties/AndroidManifest.xml index 76fb393..599031a 100644 --- a/Finance.Android/Properties/AndroidManifest.xml +++ b/Finance.Android/Properties/AndroidManifest.xml @@ -1,6 +1,5 @@ - - - + + \ No newline at end of file diff --git a/Finance.iOS/Finance.iOS.csproj b/Finance.iOS/Finance.iOS.csproj index 74dc738..7f48ffe 100644 --- a/Finance.iOS/Finance.iOS.csproj +++ b/Finance.iOS/Finance.iOS.csproj @@ -28,6 +28,8 @@ x86_64 None true + VS: WildCard Development + iPhone Developer: Eduardo Rosas (L77NYX594K) none @@ -38,6 +40,8 @@ None x86_64 false + VS: WildCard Development + iPhone Developer: Eduardo Rosas (L77NYX594K) true @@ -49,9 +53,10 @@ 4 false ARM64 - iPhone Developer + iPhone Developer: Eduardo Rosas (L77NYX594K) true Entitlements.plist + VS: WildCard Development none @@ -61,8 +66,9 @@ 4 ARM64 false - iPhone Developer + iPhone Developer: Eduardo Rosas (L77NYX594K) Entitlements.plist + VS: WildCard Development none @@ -73,8 +79,8 @@ False ARM64 True - Automatic:AdHoc - iPhone Distribution + VS: WildCard Development + iPhone Developer: Eduardo Rosas (L77NYX594K) Entitlements.plist @@ -85,8 +91,8 @@ 4 False ARM64 - Automatic:AppStore - iPhone Distribution + VS: WildCard Development + iPhone Developer: Eduardo Rosas (L77NYX594K) Entitlements.plist @@ -149,6 +155,12 @@ + + 1.9.0 + + + 1.9.0 + diff --git a/Finance.iOS/Info.plist b/Finance.iOS/Info.plist index 84464e2..66a683e 100644 --- a/Finance.iOS/Info.plist +++ b/Finance.iOS/Info.plist @@ -2,37 +2,37 @@ - UIDeviceFamily - - 1 - 2 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - MinimumOSVersion - 8.0 - CFBundleDisplayName - Finance - CFBundleIdentifier - com.lalorosas.Finance - CFBundleVersion - 1.0 - UILaunchStoryboardName - LaunchScreen - CFBundleName - Finance - XSAppIconAssets - Assets.xcassets/AppIcon.appiconset + UIDeviceFamily + + 1 + 2 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + MinimumOSVersion + 11.0 + CFBundleDisplayName + Finance + CFBundleIdentifier + com.lalorosas.Finance + CFBundleVersion + 1.0 + UILaunchStoryboardName + LaunchScreen + CFBundleName + Finance + XSAppIconAssets + Assets.xcassets/AppIcon.appiconset diff --git a/Finance/App.xaml.cs b/Finance/App.xaml.cs index f915415..fca9d01 100644 --- a/Finance/App.xaml.cs +++ b/Finance/App.xaml.cs @@ -2,6 +2,9 @@ using Xamarin.Forms; using Xamarin.Forms.Xaml; using Finance.View; +using Microsoft.AppCenter; +using Microsoft.AppCenter.Crashes; +using Microsoft.AppCenter.Analytics; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace Finance @@ -17,7 +20,9 @@ public App() protected override void OnStart() { - // Handle when your app starts + string androidAppSecret = "8626cb1e-a5e1-43db-a223-14e5deb03fd6"; + string iOSAppSecret = "69127242-7f3e-4c21-9a5a-f191c6a53161"; + AppCenter.Start($"android={androidAppSecret};ios={iOSAppSecret}", typeof(Crashes)); } protected override void OnSleep() diff --git a/Finance/Finance.csproj b/Finance/Finance.csproj index 09fb581..c0bfefb 100644 --- a/Finance/Finance.csproj +++ b/Finance/Finance.csproj @@ -11,6 +11,8 @@ + + diff --git a/Finance/View/PostPage.xaml.cs b/Finance/View/PostPage.xaml.cs index 9aed940..8943d7d 100644 --- a/Finance/View/PostPage.xaml.cs +++ b/Finance/View/PostPage.xaml.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using Finance.Model; +using Microsoft.AppCenter.Crashes; using Xamarin.Forms; namespace Finance.View @@ -18,7 +19,20 @@ public PostPage(Item item) InitializeComponent(); Xamarin.Forms.PlatformConfiguration.iOSSpecific.Page.SetUseSafeArea(this, true); - webView.Source = item.ItemLink; + try + { + throw (new Exception("Unable to load blog")); + + webView.Source = item.ItemLink; + } + catch(Exception ex) + { + var properties = new Dictionary + { + {"Blog_Post", $"{item.Title}"} + }; + Crashes.TrackError(ex, properties); + } } } } diff --git a/Finance/ViewModel/MainVM.cs b/Finance/ViewModel/MainVM.cs index f23f9c4..df6aa13 100644 --- a/Finance/ViewModel/MainVM.cs +++ b/Finance/ViewModel/MainVM.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Net;