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();