public App(mPushNotify note = null) { InitializeComponent(); CrossDeviceOrientation.Current.LockOrientation(CrossDeviceOrientation.Current.CurrentOrientation); //Lock Orientation //var ISS = AccountService.Instance.ReadyToSignIn; if (note == null || !AccountService.Instance.ReadyToSignIn) { CrossSettings.Current.AddOrUpdateValue("AlertView", false); MainPage = GetMainPage(); MainPage.SetValue(NavigationPage.BarTextColorProperty, Color.White); } else { //NavigateNotfiy(note); MainPage = new RootPage(false, note); MainPage.SetValue(NavigationPage.BarTextColorProperty, Color.White); } // var crashed = HockeyApp.CrashManager.DidCrashInLastSession; }