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 AreNotificationsSettingsEnabledAsync() { return Task.FromResult(false); } public Task 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) { } } }