ITOTEAM-523 notification status

This commit is contained in:
Peter Maquiran
2024-06-27 16:53:45 +01:00
parent 78c13d1bfb
commit 11587cc944
23 changed files with 686 additions and 111 deletions
+5 -4
View File
@@ -20,7 +20,7 @@ import { ChatSystemService } from './chat/chat-system.service';
import {ChatController} from 'src/app/controller/chat'
import { TracingType, XTracer, XTracerAsync } from 'src/app/services/monitoring/opentelemetry/tracer';
import { z } from 'zod';
import { NotificationRepositoryService } from 'src/app/module/notification/data/notification-repository.service'
const notificationDataSchema = z.object({
Service: z.string(),
IdObject: z.string().optional(),
@@ -69,10 +69,11 @@ export class NotificationsService {
private zone: NgZone,
private eventtrigger: EventTrigger,
private afMessaging: AngularFireMessaging,
public NotificationHolderService: NotificationHolderService) {
public NotificationHolderService: NotificationHolderService,
private NotificationRepositoryService: NotificationRepositoryService) {
this.onReciveForeground();
this.onReciveBackground();
// this.onReciveForeground();
// this.onReciveBackground();
}