Changens for Test

This commit is contained in:
Eudes Inácio
2021-06-29 16:11:44 +01:00
parent 112bfd0ec4
commit 81f2f13856
2 changed files with 14 additions and 10 deletions
+9 -5
View File
@@ -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);