mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
JsonStore added and Service created
This commit is contained in:
@@ -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 {}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user