1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-01 08:03:37 +00:00

Add sync on send create/update/delete notification

This commit is contained in:
Bernd Schoolmann
2023-07-09 07:49:55 +02:00
parent 11947ce99a
commit dc6a0bbd33

View File

@@ -131,6 +131,14 @@ namespace Bit.App.Services
_messagingService.Value.Send("logout");
}
break;
case NotificationType.SyncSendCreate:
case NotificationType.SyncSendUpdate:
case NotificationType.SyncSendDelete:
if (isAuthenticated)
{
await _syncService.Value.FullSyncAsync(false);
}
break;
case NotificationType.AuthRequest:
var passwordlessLoginMessage = JsonConvert.DeserializeObject<PasswordlessRequestNotification>(notification.Payload);