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:
parent
1bed49b4c6
commit
fb76ecf198
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user