mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 13:38:01 -05:00
INJIMOB-2099 : redirection to browser from INJI application (#1638)
* [INJIMOB-2099]: add logic to redirect from inji application to browser after qr login Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-2099]- handle screen switch in case of any error scenario Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> --------- Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
This commit is contained in:
@@ -4,7 +4,6 @@ import {isHardwareKeystoreExists} from '../../shared/cryptoutil/cryptoUtil';
|
||||
import {BiometricCancellationError} from '../../shared/error/BiometricCancellationError';
|
||||
import {VerificationErrorType} from '../../shared/vcjs/verifyCredential';
|
||||
|
||||
|
||||
export const IssuersGuards = () => {
|
||||
return {
|
||||
isVerificationPendingBecauseOfNetworkIssue: (_context, event) =>
|
||||
@@ -49,7 +48,7 @@ export const IssuersGuards = () => {
|
||||
event.data instanceof BiometricCancellationError,
|
||||
isGenericError: (_: any, event: any) => {
|
||||
const errorMessage = event.data.message;
|
||||
return errorMessage === ErrorMessage.GENERIC
|
||||
return errorMessage === ErrorMessage.GENERIC;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user