data refresh

This commit is contained in:
CHIEFSOFT\ameye
2023-11-21 20:33:30 -05:00
parent a00d77ee33
commit 7d318f0b36
13 changed files with 219 additions and 36 deletions
@@ -6,7 +6,7 @@ import { environment } from 'src/environments/environment';
})
export class SessionDataProviderService {
constructor() {
constructor( ) {
console.log('Hello SessionDataProvider Store');
}
/*
@@ -52,6 +52,7 @@ export class SessionDataProviderService {
"zip_code": "30127",
"internal_return": 100
*/
refresh:number=30000;
account_country:string="NG";
account_type:string="";
email: string = "";
@@ -112,7 +113,7 @@ export class SessionDataProviderService {
this.active_job_count = loginResult.active_job_count;
this.tracking = loginResult.tracking;
this.session_image_server = loginResult.session_image_server;
this.refresh = loginResult.refresh;
//this.pushNotificationProvider.tagUser(this.session);
this.session_contructed = true;
@@ -163,6 +164,8 @@ export class SessionDataProviderService {
this.storage.set('sessionuser', JSON.stringify(this.SessionUser));
*/
} catch (error) {
console.log("LOGIN STORAGE ERROR->" + error);
}
@@ -176,7 +179,7 @@ export class SessionDataProviderService {
console.log('Hello DestroySessionOnLogout Provider');
this.firstname = "";
this.lastname = "";
this.session = "INVALID";
this.session = "";
this.session_contructed= false;
this.username="";
this.last_login = "";