mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Changens for Test
This commit is contained in:
@@ -69,12 +69,15 @@ export class HomePage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
if(this.platform.is('desktop') || this.platform.is('mobileweb')) {
|
||||
this.webnotificatinsservice.webconnection();
|
||||
this.webnotificatinsservice.onReceviNotificationWeb();
|
||||
console.log('Home');
|
||||
if(this.platform.is('desktop') /* || this.platform.is('mobileweb') */) {
|
||||
/* this.webnotificatinsservice.webconnection();
|
||||
this.webnotificatinsservice.onReceviNotificationWeb(); */
|
||||
console.log('desktop');
|
||||
} else {
|
||||
this.mobilefirstConnect();
|
||||
this.notificatinsservice.onReceviNotification();
|
||||
/* this.mobilefirstConnect();
|
||||
this.notificatinsservice.onReceviNotification(); */
|
||||
console.log('mobile');
|
||||
}
|
||||
this.count();
|
||||
|
||||
@@ -107,6 +110,7 @@ export class HomePage implements OnInit {
|
||||
}
|
||||
|
||||
mobilefirstConnect() {
|
||||
console.log('MobileFirst Connect')
|
||||
WLAuthorizationManager.obtainAccessToken("").then(
|
||||
(token) => {
|
||||
console.log('MobileFirst Server connect: Success ' + token);
|
||||
|
||||
Reference in New Issue
Block a user