diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 1675bf554..65daad313 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -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); diff --git a/src/index.html b/src/index.html index 553bfaa3f..dc03b9fb1 100644 --- a/src/index.html +++ b/src/index.html @@ -7,11 +7,11 @@ - - + + - - -->