1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-26 12:16:07 +01:00

dont register on login anymore for android

This commit is contained in:
Kyle Spearrin 2017-12-21 22:46:19 -05:00
parent 1bed49b4c6
commit fb76ecf198
2 changed files with 0 additions and 11 deletions

View File

@ -199,11 +199,6 @@ namespace Bit.App.Pages
_googleAnalyticsService.TrackAppEvent("LoggedIn"); _googleAnalyticsService.TrackAppEvent("LoggedIn");
if(Device.RuntimePlatform == Device.Android)
{
_pushNotification.Register();
}
var task = Task.Run(async () => await _syncService.FullSyncAsync(true)); var task = Task.Run(async () => await _syncService.FullSyncAsync(true));
Application.Current.MainPage = new MainPage(); Application.Current.MainPage = new MainPage();
} }

View File

@ -415,13 +415,7 @@ namespace Bit.App.Pages
_googleAnalyticsService.TrackAppEvent("LoggedIn From Two-step", _providerType.Value.ToString()); _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)); var task = Task.Run(async () => await _syncService.FullSyncAsync(true));
Device.BeginInvokeOnMainThread(() => Device.BeginInvokeOnMainThread(() =>
{ {
Application.Current.MainPage = new MainPage(); Application.Current.MainPage = new MainPage();