import { NotificationsService as NotificationsServiceAbstraction } from "../../abstractions/notifications.service"; import { LogService } from "../abstractions/log.service"; export class NoopNotificationsService implements NotificationsServiceAbstraction { constructor(private logService: LogService) {} init(): Promise { this.logService.info( "Initializing no-op notification service, no push notifications will be received" ); return Promise.resolve(); } updateConnection(sync?: boolean): Promise { this.logService.info("Updating notification service connection"); return Promise.resolve(); } reconnectFromActivity(): Promise { this.logService.info("Reconnecting notification service from activity"); return Promise.resolve(); } disconnectFromInactivity(): Promise { this.logService.info("Disconnecting notification service from inactivity"); return Promise.resolve(); } }