@@ -70,10 +70,6 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options)
7070
7171 Flurry . Analytics . FlurryAgent . StartSession ( "4F3YDWSN8XBB4QKTNHYS" ) ;
7272
73- if ( Runtime . Arch != Arch . SIMULATOR )
74- Flurry . Analytics . FlurryAgent . SetCrashReportingEnabled ( true ) ;
75-
76-
7773 Mvx . Resolve < CodeFramework . Core . Services . IErrorService > ( ) . Init ( "http://sentry.dillonbuchanan.com/api/5/store/" , "17e8a650e8cc44678d1bf40c9d86529b " , "9498e93bcdd046d8bb85d4755ca9d330" ) ;
7874
7975 // Setup theme
@@ -98,7 +94,13 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options)
9894
9995 this . Window . MakeKeyAndVisible ( ) ;
10096
101- this . StampInstallDate ( "CodeHub" , DateTime . Now . ToString ( ) ) ;
97+ try
98+ {
99+ this . StampInstallDate ( "CodeHub" , DateTime . UtcNow . ToString ( ) ) ;
100+ }
101+ catch
102+ {
103+ }
102104
103105 InAppPurchases . Instance . PurchaseError += HandlePurchaseError ;
104106 InAppPurchases . Instance . PurchaseSuccess += HandlePurchaseSuccess ;
@@ -144,12 +146,12 @@ void HandlePurchaseError (object sender, Exception e)
144146 MonoTouch . Utilities . ShowAlert ( "Unable to make purchase" , e . Message ) ;
145147 }
146148
147- public override void DidReceiveRemoteNotification ( UIApplication application , NSDictionary userInfo , System . Action < UIBackgroundFetchResult > completionHandler )
148- {
149- if ( application . ApplicationState == UIApplicationState . Active )
150- return ;
149+ public override void ReceivedRemoteNotification ( UIApplication application , NSDictionary userInfo )
150+ {
151+ if ( application . ApplicationState == UIApplicationState . Active )
152+ return ;
151153 HandleNotification ( userInfo , false ) ;
152- }
154+ }
153155
154156 private void HandleNotification ( NSDictionary data , bool fromBootup )
155157 {
0 commit comments