JsonStore added and Service created

This commit is contained in:
Eudes Inácio
2021-07-29 16:02:39 +01:00
parent 32017af732
commit 8870d2de05
6 changed files with 150 additions and 7 deletions
+3 -4
View File
@@ -85,15 +85,15 @@ export class HomePage implements OnInit {
if(this.platform.is('desktop') || this.platform.is('mobileweb')) {
console.log('Notifications not supported')
} else {
/* this.mobilefirstConnect();
this.notificatinsservice.onReceviNotification(); */
this.mobilefirstConnect();
this.notificatinsservice.onReceviNotification();
}
}
mobilefirstConnect() {
//try {
window['WLAuthorizationManager'].obtainAccessToken("").then( (token) => {
console.log('MobileFirst Server connect: Success ' + token);
@@ -121,7 +121,6 @@ export class HomePage implements OnInit {
alert("Failed to connect to MobileFirst Server");
}); */
});
//} catch {}
}