[INJIMOB-3464] fix: iOS screen stuck on face verification failure during share with selfie (#2041)

* [INJIMOB-3464] fix: app stuck in iOS face verification failure

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* INJIMOB-3464] fix: BLE error shown even after flow restart

Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3478] chore: update openid4vp ios lib version

Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
This commit is contained in:
KiruthikaJeyashankar
2025-08-06 18:43:10 +05:30
committed by GitHub
parent dbb7edb37d
commit 2801f0a21e
4 changed files with 15 additions and 4 deletions

View File

@@ -70,7 +70,7 @@
"location" : "https://github.com/mosip/inji-openid4vp-ios-swift.git",
"state" : {
"branch" : "release-0.4.x",
"revision" : "27c07b6294333adee624a4bc6b3b14506b9dae3e"
"revision" : "788a408c65a4aae296e8a0a32352c6d8abf369d0"
}
},
{

View File

@@ -155,6 +155,10 @@ export const ScanActions = (model: any) => {
bleError: (_context, event) => event.bleError,
}),
resetBleError: assign({
bleError: {},
}),
setSelectedVc: assign({
selectedVc: (_context, event) => event.vc,
}),

View File

@@ -797,9 +797,11 @@ export const scanMachine =
DISMISS: [
{
cond: 'isFlowTypeSimpleShare',
actions: ['resetBleError'],
target: 'selectingVc',
},
{
actions: ['resetBleError'],
target: 'cancelling',
},
],

View File

@@ -117,15 +117,20 @@ export function useScanLayout() {
const GOTO_HOME = () => {
scanService.send(ScanEvents.DISMISS());
changeTabBarVisible('flex');
navigation.navigate(BOTTOM_TAB_ROUTES.home);
setTimeout(() => {
navigation.navigate(BOTTOM_TAB_ROUTES.home);
}, 1);
};
const GOTO_HISTORY = () => {
scanService.send(ScanEvents.GOTO_HISTORY());
changeTabBarVisible('flex');
navigation.navigate(BOTTOM_TAB_ROUTES.history);
};
const RETRY_VERIFICATION = () =>
scanService.send(ScanEvents.RETRY_VERIFICATION());
const RETRY_VERIFICATION = () => {
setTimeout(() => {
scanService.send(ScanEvents.RETRY_VERIFICATION());
}, 1);
};
const isInvalid = useSelector(scanService, selectIsInvalid);
const isConnecting = useSelector(scanService, selectIsConnecting);