Notification Route for despachos added

This commit is contained in:
Eudes Inácio
2021-06-25 14:37:52 +01:00
parent 450fc46e4f
commit c5242991bf
2 changed files with 12 additions and 3 deletions
+4 -2
View File
@@ -66,10 +66,12 @@ export class HomePage implements OnInit {
}
ngOnInit() {
if(!this.platform.is('desktop')) {
if(this.platform.is('desktop') || this.platform.is('mobileweb')) {
console.log('Notifications not supported')
} else {
this.mobilefirstConnect();
this.notificatinsservice.onReceviNotification();
}
}
this.count();
}