protected override async void OnStart() { //var installId = await Microsoft.AppCenter.AppCenter.GetInstallIdAsync(); //var id = installId?.ToString(); // Handle when your app starts GlobalStaticFields._getDevice(); Microsoft.AppCenter.AppCenter.Start("ios=c6a76a6d-f8f1-4555-85d1-62a545b651bc;android=026e3b37-e951-4347-8196-ba957754bd5b;uwp=44c96eca-062b-47a3-9626-b4e8524561e5", typeof(Analytics), typeof(Crashes), typeof(Push)); }
private async void LogUserOut() { if (MainPage.Navigation.NavigationStack.Count > 0) { GlobalStaticFields.Customer.IsLoggedOn = false; Current.MainPage = new UnProfiledLoginPage(); // await MainPage.Navigation.PopToRootAsync(); } await GlobalStaticFields._getDevice(); }
public void StartApp() { GlobalStaticFields._getDevice(); GlobalStaticFields.getBalanceStatus(); }