IBM Web notification config add

This commit is contained in:
Eudes Inácio
2021-08-25 16:29:15 +01:00
parent 8ba32333e7
commit a928241dbb
3 changed files with 12 additions and 8 deletions
+4 -2
View File
@@ -32,10 +32,10 @@ export class WebNotificationsService {
webconnection() {
MFPPush.initialize({
/* MFPPush.initialize({
appId: "com.gpr.gabinetedigital",
mfpContextRoot: "/mfp",
});
}); */
MFPPush.registerDevice()
.then((res) => {
@@ -72,7 +72,9 @@ async onReceviNotificationWeb() {
if(message.actionName){
//this.notificatinsRoutes(data);
console.log("Web notification")
} else {
console.log("Web notification")
//this.toastService.notificationMessage(message.alert,this.notificatinsRoutes, data);
}