Commit a02ef258 by Matteo

Funziona sotto android

parent 971cd80e
<?xml version='1.0' encoding='utf-8'?>
<widget id="it.aimconsulting.intranet" version="0.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="it.aimconsulting.intranet" version="0.0.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>2P2 App</name>
<description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>
......
......@@ -5,6 +5,10 @@
{
"path": "/stman",
"proxyUrl": "http://localhost:8080/stman"
},
{
"path": "/watch",
"proxyUrl": "www.youtube.com/watch"
}
]
}
\ No newline at end of file
......@@ -60,7 +60,8 @@ export class LoginPage implements OnInit {
}
else
{
this.utilService.pushNotification(AuthService.idReferente);
if(AuthService.idReferente != null) this.utilService.pushNotification(AuthService.idReferente);
else this.utilService.pushNotification(AuthService.idCliente);
UtilService.titoloPagina = '';
this.utilService.redirectToFirstPage('notifiche');
this.events.publish('functionCall:startup', null);
......
......@@ -41,7 +41,8 @@ export class RegistrazionePage implements OnInit {
else
{
this.utilService.presentAlert("Info", "", "Registrazione effettuata con successo", ["OK"]);
this.utilService.pushNotification(AuthService.idReferente);
if(AuthService.idReferente != null) this.utilService.pushNotification(AuthService.idReferente);
else this.utilService.pushNotification(AuthService.idCliente);
UtilService.titoloPagina = '';
this.utilService.redirectToFirstPage('notifiche');
this.events.publish('functionCall:startup', null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment