diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 3b9c99341..841a86ff0 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -9,8 +9,6 @@ import { ModalController, AlertController, AnimationController, Platform } from import { NavigationExtras,Router } from '@angular/router'; import { ToastService } from '../services/toast.service'; -import { WebNotificationsService } from '../services/webnotifications.service'; - @Component({ selector: 'app-home', templateUrl: './home.page.html', @@ -55,7 +53,6 @@ export class HomePage implements OnInit { private toastService: ToastService, private animationController: AnimationController, private notificatinsservice: NotificationsService, - private webnotificatinsservice: WebNotificationsService, private platform: Platform) { router.events.subscribe((val) => { @@ -70,8 +67,7 @@ export class HomePage implements OnInit { ngOnInit() { if(this.platform.is('desktop') || this.platform.is('mobileweb')) { - this.webnotificatinsservice.webconnection(); - this.webnotificatinsservice.onReceviNotificationWeb(); + console.log('Notifications not supported') } else { this.mobilefirstConnect(); this.notificatinsservice.onReceviNotification();