Ipad 6 fix scandit

This commit is contained in:
Lorenz Hilpert
2022-04-19 20:39:58 +02:00
parent e733396c63
commit d3cd6f415b
2 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ export class NativeScanAdapter implements ScanAdapter {
isReady(): boolean {
// TODO: Fix Login Keycard Dauerschleife
return this.nativeContainerService.isUiWebview().isNative || this.nativeContainerService.isIpadMini6();
return this.nativeContainerService.isUiWebview().isNative;
// return false;
}

View File

@@ -18,11 +18,11 @@ export class IsAuthenticatedGuard implements CanActivate {
const authenticated = await this._authService.isAuthenticated();
if (!authenticated) {
const token = await this.scanAndGetToken();
// const token = await this.scanAndGetToken();
if (token) {
this._authService.setKeyCardToken(token);
}
// if (token) {
// this._authService.setKeyCardToken(token);
// }
this._authService.login();
}