diff --git a/src/App/Pages/LoginPage.cs b/src/App/Pages/LoginPage.cs index 3226f8bc2..89530833a 100644 --- a/src/App/Pages/LoginPage.cs +++ b/src/App/Pages/LoginPage.cs @@ -199,11 +199,6 @@ namespace Bit.App.Pages _googleAnalyticsService.TrackAppEvent("LoggedIn"); - if(Device.RuntimePlatform == Device.Android) - { - _pushNotification.Register(); - } - var task = Task.Run(async () => await _syncService.FullSyncAsync(true)); Application.Current.MainPage = new MainPage(); } diff --git a/src/App/Pages/LoginTwoFactorPage.cs b/src/App/Pages/LoginTwoFactorPage.cs index 0d2ef215a..4952c5033 100644 --- a/src/App/Pages/LoginTwoFactorPage.cs +++ b/src/App/Pages/LoginTwoFactorPage.cs @@ -415,13 +415,7 @@ namespace Bit.App.Pages _googleAnalyticsService.TrackAppEvent("LoggedIn From Two-step", _providerType.Value.ToString()); - if(Device.RuntimePlatform == Device.Android) - { - _pushNotification.Register(); - } - var task = Task.Run(async () => await _syncService.FullSyncAsync(true)); - Device.BeginInvokeOnMainThread(() => { Application.Current.MainPage = new MainPage();