Disabled capacitor and add camera integration

This commit is contained in:
Tiago Kayaya
2020-12-11 18:00:38 +01:00
parent 5496953f63
commit d4d08c6039
111 changed files with 182 additions and 2338 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ export class HomeGuard implements CanActivate {
canActivate(): Promise<boolean>{
return new Promise(resolve => {
this.storageService.get(AuthConnstants.AUTH).then(res => {
/* this.storageService.get(AuthConnstants.AUTH).then(res => {
if(res){
resolve(true);
}
@@ -25,7 +25,7 @@ export class HomeGuard implements CanActivate {
}
}).catch(err =>{
resolve(false);
})
}) */
});
}
+2 -2
View File
@@ -14,7 +14,7 @@ export class IndexGuard implements CanActivate {
){}
canActivate(): Promise<boolean>{
return new Promise(resolve => {
this.storageService.get(AuthConnstants.AUTH).then(res => {
/* this.storageService.get(AuthConnstants.AUTH).then(res => {
if(res){
this.router.navigate(['home']);
resolve(false);
@@ -24,7 +24,7 @@ export class IndexGuard implements CanActivate {
}
}).catch(err =>{
resolve(false);
})
}) */
});
}