mirror of
https://github.com/bitwarden/mobile
synced 2026-01-03 09:03:35 +00:00
* [SG-702] Tap notification now switches accounts if it is a passwordless notification. * [SG-702] Fix compilation errors * [SG-702] Fixed iOS notification tap fix * [SG-702] Notification data model * [SG-702] Change method signature with object containing properties. PR fixes.
37 lines
900 B
C#
37 lines
900 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.App.Abstractions;
|
|
using Bit.App.Models;
|
|
|
|
namespace Bit.App.Services
|
|
{
|
|
public class NoopPushNotificationService : IPushNotificationService
|
|
{
|
|
public bool IsRegisteredForPush => false;
|
|
|
|
public Task<bool> AreNotificationsSettingsEnabledAsync()
|
|
{
|
|
return Task.FromResult(false);
|
|
}
|
|
|
|
public Task<string> GetTokenAsync()
|
|
{
|
|
return Task.FromResult(null as string);
|
|
}
|
|
|
|
public Task RegisterAsync()
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task UnregisterAsync()
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public void DismissLocalNotification(string notificationId) { }
|
|
|
|
public void SendLocalNotification(string title, string message, BaseNotificationData data) { }
|
|
}
|
|
}
|