From 386338bc935528b9ff4e7154c8d0781a53631975 Mon Sep 17 00:00:00 2001 From: Swati Goel Date: Wed, 24 Apr 2024 18:47:12 +0530 Subject: [PATCH] [Release-24-04-2024] Sprint 26 (#1394) * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-837] update ios version and bundle id (#1256) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * INJIMOB - 837 - Update developer team id to match profiles (#1258) * [INJIMOB-837] update ios version and bundle id Signed-off-by: adityankannan-tw * [INJIMOB-837] update the developer team to match profiles Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Inji 752 backup to iCloud (#1251) * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] fix delay in databackup and restore screen Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Swati Goel * [Reverse-Sync-14-02-2024] : Sunbird Integration & Data Backup and Restore Implementation (#1261) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan * Injimob 837 - Update the bundle id for new app (#1263) * [INJIMOB-837] update ios version and bundle id Signed-off-by: adityankannan-tw * [INJIMOB-837] update the developer team to match profiles Signed-off-by: adityankannan-tw * [INJIMOB-837] update the flavor with correct id Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-837] update the flavor with correct id (#1265) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-787] refactor backup & restore state machine (#1266) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-787] refactor backup & restore states machines Signed-off-by: Harsh Vardhan * [INJIMOB-752] fix label for drive name on backup Signed-off-by: Harsh Vardhan * [INJIMOB-799] fix show restored vcs as shareable Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fix warnings Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan * [InjiMob-745] Implemented sharing error modal with respective CTA's and message when VC sharing has failed. (#1234) * [INJIMOB-745]: Implemented Error moda of sharing failure with title, message & CTAs were display based on Error_codes Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Implemented Error modal of sharing failure with title, message & CTAs were display based on Error_codes Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Updated respective text in all the locals Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Fixed the error of go to history button in success sharing status Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Resolved PR Merge conflicts Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: remove duplicate import which causes build issue Signed-off-by: srikanth716 * [INJIMOB-745]: Modified SharingStatusModal into dynamic props for buttons, text as per requirement Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Made changes in the rendering of respective button as per requirements Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Adjusted the alignment of bottom buttons & Made header as per wire frame Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Changed the verifier side text messages of Error codes[TUV_UNK_001, TVV_UNK_001, 002, 003] Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Added accessible props to Pressable in SharingStatusModal Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Modified success screen icons in to SVG's Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> --------- Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Signed-off-by: srikanth716 Co-authored-by: srikanth716 * MOSIP-31468 MOSIP-31384 added sprint 20 testcases for android (#1267) * MOSIP-31255 MOSIP-31106 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31456 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * added sunbird test case for ios Signed-off-by: Anup Nehe * MOSIP-31478 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31468 MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [Injimob-685] fix download error issue which we are getting when the received vc is tampered (#1268) * [INJIMOB-685] remove received vc metadata from storage when it is tampered or failed to store vc into storage Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] remove redundant store error in request machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] remove redundant logic to remove the tampered vc metadata Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix the logic of checking if tampered vc is myvc or received vc Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix tampering of received vcs If the received vc is tampered, we should be deleting the vc file & metadata of it. Since the metadata removal was not performed, we were getting download error. This is resolved here. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-685] remove unused state and actions in requestMachine After adding timestamp to the incoming received vc, every vc shared from wallet is condered as separate vc. Due to this reason, the check if the incoming vc is already available in our received vcs will always be returning false. Thus removing the mergingIncomingVcrelated states in requestMachine to avoid unnecessary checks. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-685] remove sharing reason related code Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB_685] remove unused event in vc machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * Fixed receive card header is fully in caps (#1269) Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-856] add testIds (#1272) testIDs added for - Inji tour guide slides, banner notification, issuer component Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-852] - Grace fully handling scrollToIndex error of flatlist (#1275) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-632] show backup / restore in progress banner (#1264) * [INJIMOB-632] show backup in progress banner Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-632] show restore in progress banner Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-632] change info banner's color Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-864] disable backup button when restoring and vice versa (#1279) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1281) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB - 865,868] - Fix duplicate VC key for restored VC's and remove metadata if vc file not found (#1283) * [INJIMOB-something] use incremental timestamp for restore and make unload take a flag start time Signed-off-by: Harsh Vardhan * [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] remove unused method in store.ts machine Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] revert removing vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-865] fix tamper vc removal When a VC is tampered, we get the tampered vc popup. Once we press okay button in the popup, we will be refreshing the vc machine's myVcs & recievedVcs context. Due to calling of parallel states, we were having issue with refreshing of myVcs. It is fixed by targeting to init state to refresh Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-865] remove vc metadata when file is not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] add code comments & fix minor code issues Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * INJIMOB-604 VC Verification Failure Scenarios (#1228) * [INJI-604]: Handle Verification VC Error Scenarios Signed-off-by: BalachandarG * [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 Replace Error message overlay with new error screen. Signed-off-by: BalachandarG * [INJI-611]: New Error screen implemented Signed-off-by: BalachandarG * [INJI-604]: Transation added for Verification error messages. Signed-off-by: BalachandarG * [INJI-604] merge develop and resolve conflicts Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-604] remove unnecessary log in error screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 : Removing logs and renaming functions Signed-off-by: BalachandarG * [INJIMOB-604]: Removing unused method. Signed-off-by: BalachandarG * [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen. Signed-off-by: BalachandarG * [Inji-604]: Fixing bugs post conflict resolve. Signed-off-by: BalachandarG * [Inji-604]: Removing unused events and adding translations for Go Back button * [Inji-604]: Removed angle brackets for Technical Error * [Inji-604]: Added ToDo to handle backup * [Inji-604]: Removing isVerified flag from the Existing VC Item Machine. * [Inji-604] iOS crash fixed for Verification error Go Back Button Signed-off-by: BalachandarG * [Inji-604]: Simplified condition for result in verify Credential call. Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Inji mob 737 rtl issue (#1254) * [INJIMOB-737]: fix RTL issue Signed-off-by: srikanth716 * [INJIMOB-737]: fix receive card navigation issue Signed-off-by: srikanth716 * [INJIMOB-737]: fix receive card back icon rendering position Signed-off-by: srikanth716 * [INJIMOB-737]: refactor the header right and left Signed-off-by: srikanth716 * [INJIMOB-737]: fix rendering issue in ios Signed-off-by: srikanth716 * [INJIMOB-737]: fix rtl rendering issue in ios Signed-off-by: srikanth716 * [INJIMOB-737]: refactor screen otion to render in ios Signed-off-by: srikanth716 * [INJIMOB-737]: refactor HomeScreenOptions to render in ios Signed-off-by: srikanth716 * [INJIMOB-737]: moving HistoryHeaderTitleStyles to style files Signed-off-by: srikanth716 * [INJIMOB-737]: fix RTL issue Signed-off-by: srikanth716 * [INJIMOB-737]: refactor the header right and left Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 * MOSIP-31686 added sprint 21 test cases (#1295) * MOSIP-31255 MOSIP-31106 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31456 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * added sunbird test case for ios Signed-off-by: Anup Nehe * MOSIP-31478 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31468 MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31686 MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [INJIMOB-748] update activity log messages (#1278) * [INJIMOB-748] update activity log messages Signed-off-by: Harsh Vardhan * [INJIMOB-748] reuse locale strings of idType Signed-off-by: Harsh Vardhan * [INJIMOB-748] set policyNumber as id number for insurance card from sunbird Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * [INJIMOB-722]: Post Face Capture Notificaiton (#1270) * [INJIMOB-722]: Showing Success Banner on Face Verification and Error screen on Face Verification Failure. Signed-off-by: BalachandarG * [injimob-604]: Updating the messagein error screen. Signed-off-by: BalachandarG * [Injimob-722]: Updating the constants. Signed-off-by: BalachandarG * [Injimob-722]: Changes in event params of scan machine. Signed-off-by: BalachandarG * [InjiMob-745] Implemented sharing error modal with respective CTA's and message when VC sharing has failed. (#1234) * [INJIMOB-745]: Implemented Error moda of sharing failure with title, message & CTAs were display based on Error_codes Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Implemented Error modal of sharing failure with title, message & CTAs were display based on Error_codes Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Updated respective text in all the locals Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Fixed the error of go to history button in success sharing status Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Resolved PR Merge conflicts Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: remove duplicate import which causes build issue Signed-off-by: srikanth716 * [INJIMOB-745]: Modified SharingStatusModal into dynamic props for buttons, text as per requirement Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Made changes in the rendering of respective button as per requirements Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Adjusted the alignment of bottom buttons & Made header as per wire frame Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Changed the verifier side text messages of Error codes[TUV_UNK_001, TVV_UNK_001, 002, 003] Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Added accessible props to Pressable in SharingStatusModal Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-745]: Modified success screen icons in to SVG's Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> --------- Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Signed-off-by: srikanth716 Co-authored-by: srikanth716 * MOSIP-31468 MOSIP-31384 added sprint 20 testcases for android (#1267) * MOSIP-31255 MOSIP-31106 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31456 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * added sunbird test case for ios Signed-off-by: Anup Nehe * MOSIP-31478 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31468 MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe Signed-off-by: BalachandarG * [Injimob-685] fix download error issue which we are getting when the received vc is tampered (#1268) * [INJIMOB-685] remove received vc metadata from storage when it is tampered or failed to store vc into storage Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] remove redundant store error in request machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] remove redundant logic to remove the tampered vc metadata Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix the logic of checking if tampered vc is myvc or received vc Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix tampering of received vcs If the received vc is tampered, we should be deleting the vc file & metadata of it. Since the metadata removal was not performed, we were getting download error. This is resolved here. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-685] remove unused state and actions in requestMachine After adding timestamp to the incoming received vc, every vc shared from wallet is condered as separate vc. Due to this reason, the check if the incoming vc is already available in our received vcs will always be returning false. Thus removing the mergingIncomingVcrelated states in requestMachine to avoid unnecessary checks. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-685] remove sharing reason related code Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB_685] remove unused event in vc machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * Fixed receive card header is fully in caps (#1269) Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Signed-off-by: BalachandarG * [INJIMOB-856] add testIds (#1272) testIDs added for - Inji tour guide slides, banner notification, issuer component Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-852] - Grace fully handling scrollToIndex error of flatlist (#1275) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: BalachandarG * [INJIMOB-632] show backup / restore in progress banner (#1264) * [INJIMOB-632] show backup in progress banner Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-632] show restore in progress banner Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-632] change info banner's color Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-864] disable backup button when restoring and vice versa (#1279) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: BalachandarG * [Injimob-722]: Adding Banner type Info Signed-off-by: BalachandarG * [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1281) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: BalachandarG * [INJIMOB - 865,868] - Fix duplicate VC key for restored VC's and remove metadata if vc file not found (#1283) * [INJIMOB-something] use incremental timestamp for restore and make unload take a flag start time Signed-off-by: Harsh Vardhan * [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] remove unused method in store.ts machine Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] revert removing vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-865] fix tamper vc removal When a VC is tampered, we get the tampered vc popup. Once we press okay button in the popup, we will be refreshing the vc machine's myVcs & recievedVcs context. Due to calling of parallel states, we were having issue with refreshing of myVcs. It is fixed by targeting to init state to refresh Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-865] remove vc metadata when file is not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] add code comments & fix minor code issues Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: BalachandarG * [Injimob-722]: Updating face capture success banner status. Signed-off-by: BalachandarG * INJIMOB-604 VC Verification Failure Scenarios (#1228) * [INJI-604]: Handle Verification VC Error Scenarios Signed-off-by: BalachandarG * [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 Replace Error message overlay with new error screen. Signed-off-by: BalachandarG * [INJI-611]: New Error screen implemented Signed-off-by: BalachandarG * [INJI-604]: Transation added for Verification error messages. Signed-off-by: BalachandarG * [INJI-604] merge develop and resolve conflicts Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-604] remove unnecessary log in error screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 : Removing logs and renaming functions Signed-off-by: BalachandarG * [INJIMOB-604]: Removing unused method. Signed-off-by: BalachandarG * [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen. Signed-off-by: BalachandarG * [Inji-604]: Fixing bugs post conflict resolve. Signed-off-by: BalachandarG * [Inji-604]: Removing unused events and adding translations for Go Back button * [Inji-604]: Removed angle brackets for Technical Error * [Inji-604]: Added ToDo to handle backup * [Inji-604]: Removing isVerified flag from the Existing VC Item Machine. * [Inji-604] iOS crash fixed for Verification error Go Back Button Signed-off-by: BalachandarG * [Inji-604]: Simplified condition for result in verify Credential call. Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Inji mob 737 rtl issue (#1254) * [INJIMOB-737]: fix RTL issue Signed-off-by: srikanth716 * [INJIMOB-737]: fix receive card navigation issue Signed-off-by: srikanth716 * [INJIMOB-737]: fix receive card back icon rendering position Signed-off-by: srikanth716 * [INJIMOB-737]: refactor the header right and left Signed-off-by: srikanth716 * [INJIMOB-737]: fix rendering issue in ios Signed-off-by: srikanth716 * [INJIMOB-737]: fix rtl rendering issue in ios Signed-off-by: srikanth716 * [INJIMOB-737]: refactor screen otion to render in ios Signed-off-by: srikanth716 * [INJIMOB-737]: refactor HomeScreenOptions to render in ios Signed-off-by: srikanth716 * [INJIMOB-737]: moving HistoryHeaderTitleStyles to style files Signed-off-by: srikanth716 * [INJIMOB-737]: fix RTL issue Signed-off-by: srikanth716 * [INJIMOB-737]: refactor the header right and left Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 Signed-off-by: BalachandarG * [Injimob-695] : Crash issue on iOS during Home screen navigation is fixed. Signed-off-by: BalachandarG * [Injimob-722]: Reverting the changes from java files of Injitest. Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Signed-off-by: srikanth716 Signed-off-by: Anup Nehe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Co-authored-by: srikanth716 Co-authored-by: anup-nehe <117707464+anup-nehe@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: Srikanth Kola <97477121+srikanth716@users.noreply.github.com> * MOSIP-28901 | BrowserStack integration completed with inji tests (#1299) * MOSIP-31479 Updated read me file for inji automation Signed-off-by: kamalsingh * MOSIP-31479 | browserstack integration done Signed-off-by: kamalsingh * MOSIP-31479 | browserstack integration done Signed-off-by: kamalsingh * MOSIP-31479 | android sanity updated Signed-off-by: kamalsingh --------- Signed-off-by: kamalsingh * [INJIMOB-763] increase threshold of face match config (#1297) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * MOSIP-28901 | Framework restructure for browserstack (#1302) * MOSIP-31479 Updated read me file for inji automation Signed-off-by: kamalsingh * MOSIP-31479 | browserstack integration done Signed-off-by: kamalsingh * MOSIP-31479 | browserstack integration done Signed-off-by: kamalsingh * MOSIP-31479 | android sanity updated Signed-off-by: kamalsingh * MOSIP-31479 | framework restructured Signed-off-by: kamalsingh * MOSIP-31479 | framework restructured Signed-off-by: kamalsingh --------- Signed-off-by: kamalsingh * [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation (#1303) * [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation When we pass data from a react native app with \x00 value, any data post the \x00 gets truncated (i.e., part2 is trimmed off). This happens most likely with the react native bridge. To avoid this issue of truncation, we are required to pass the data as base64 encoded string and secure-keystore module will perform decoding before processing for encryption. Co-authored-by: Harsh Vardhan Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-531] upgrade secure-keystore package version Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan * replace storeVerifiableCredential context variable with verifiable credential and remove unused actions in vc item machine (#1307) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * MOSIP-31347 | Fixed sonar issues (#1309) * MOSIP-31479 Updated read me file for inji automation Signed-off-by: kamalsingh * MOSIP-31479 | browserstack integration done Signed-off-by: kamalsingh * MOSIP-31479 | browserstack integration done Signed-off-by: kamalsingh * MOSIP-31479 | android sanity updated Signed-off-by: kamalsingh * MOSIP-31479 | framework restructured Signed-off-by: kamalsingh * MOSIP-31479 | framework restructured Signed-off-by: kamalsingh * MOSIP-31347 | Sonar issues fixed Signed-off-by: kamalsingh * MOSIP-31347 | Sonar issues fixed Signed-off-by: kamalsingh --------- Signed-off-by: kamalsingh * MOSIP-31384 stabilizing code and update ios accessiblity ids (#1323) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * Reverse Sync Release 0.11.0 into develop (#1326) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * Inji 787 Xstate refactor (#1262) * [INJIMOB-837] update bundle id and team id for ios (#1273) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [Injimob-685] fix download error issue which we are getting when the received vc is tampered or when the vc is not stored properly (#1271) * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-837] update ios version and bundle id (#1256) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * INJIMOB - 837 - Update developer team id to match profiles (#1258) * [INJIMOB-837] update ios version and bundle id Signed-off-by: adityankannan-tw * [INJIMOB-837] update the developer team to match profiles Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Inji 752 backup to iCloud (#1251) * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] fix delay in databackup and restore screen Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Swati Goel * [Reverse-Sync-14-02-2024] : Sunbird Integration & Data Backup and Restore Implementation (#1261) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan * [INJIMOB-685] remove received vc metadata from storage when it is tampered or failed to store vc into storage Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Injimob 837 - Update the bundle id for new app (#1263) * [INJIMOB-837] update ios version and bundle id Signed-off-by: adityankannan-tw * [INJIMOB-837] update the developer team to match profiles Signed-off-by: adityankannan-tw * [INJIMOB-837] update the flavor with correct id Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-685] remove redundant store error in request machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-837] update the flavor with correct id (#1265) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-685] remove redundant logic to remove the tampered vc metadata Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix the logic of checking if tampered vc is myvc or received vc Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix tampering of received vcs If the received vc is tampered, we should be deleting the vc file & metadata of it. Since the metadata removal was not performed, we were getting download error. This is resolved here. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-787] refactor backup & restore state machine (#1266) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-787] refactor backup & restore states machines Signed-off-by: Harsh Vardhan * [INJIMOB-752] fix label for drive name on backup Signed-off-by: Harsh Vardhan * [INJIMOB-799] fix show restored vcs as shareable Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fix warnings Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan * [INJIMOB-685] remove unused state and actions in requestMachine After adding timestamp to the incoming received vc, every vc shared from wallet is condered as separate vc. Due to this reason, the check if the incoming vc is already available in our received vcs will always be returning false. Thus removing the mergingIncomingVcrelated states in requestMachine to avoid unnecessary checks. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-685] remove sharing reason related code Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB_685] remove unused event in vc machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] revert ios fastfile and project.pbxproj files changes Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: Harsh Vardhan * [INJIMOB-856] add testIds (#1274) testIDs added for - Inji tour guide slides, banner notification, issuer component Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-852] - Grace fully handling scrollToIndex error of flatlist (#1276) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-864] disable backup button when restoring and vice versa (#1280) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1282) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB - 865,868] - Fix duplicate VC key for restored VC's and remove metadata if vc file not found (#1284) * [INJIMOB-something] use incremental timestamp for restore and make unload take a flag start time Signed-off-by: Harsh Vardhan * [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] remove unused method in store.ts machine Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] revert removing vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-865] fix tamper vc removal When a VC is tampered, we get the tampered vc popup. Once we press okay button in the popup, we will be refreshing the vc machine's myVcs & recievedVcs context. Due to calling of parallel states, we were having issue with refreshing of myVcs. It is fixed by targeting to init state to refresh Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-865] remove vc metadata when file is not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] add code comments & fix minor code issues Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * Inji 604 Verify VC error changes to be merged into release branch (#1277) * [INJI-604]: Handle Verification VC Error Scenarios Signed-off-by: BalachandarG * [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 Replace Error message overlay with new error screen. Signed-off-by: BalachandarG * [INJI-604]: Transation added for Verification error messages. Signed-off-by: BalachandarG * [INJI-604] remove unnecessary log in error screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 : Removing logs and renaming functions Signed-off-by: BalachandarG * [INJIMOB-604]: Removing unused method. Signed-off-by: BalachandarG * [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen. Signed-off-by: BalachandarG * [Inji-604]: Fixing bugs post conflict resolve. Signed-off-by: BalachandarG * [Inji-604]: Removing unused events and adding translations for Go Back button * [Inji-604]: Removed angle brackets for Technical Error * [Inji-604]: Added ToDo to handle backup * [Inji-604]: Removing isVerified flag from the Existing VC Item Machine. * [Inji-604] iOS crash fixed for Verification error Go Back Button Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Swati Goel * [INJIMOB-881] add entitlements file changes for icloud (#1287) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Injimob 881 - Update code signing identity (#1288) * [INJIMOB-881] add entitlements file changes for icloud Signed-off-by: adityankannan-tw * [INJIMOB-881] update code signing identity to iphone distribution Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * mocked the verification and updated the app name for app releated popups (#1290) Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-763] increase threshold of face match config (#1298) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-531] send base64 encode data to encrypt to avoid data loss (#1305) * [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation When we pass data from a react native app with \x00 value, any data post the \x00 gets truncated (i.e., part2 is trimmed off). This happens most likely with the react native bridge. To avoid this issue of truncation, we are required to pass the data as base64 encoded string and secure-keystore module will perform decoding before processing for encryption. Co-authored-by: Harsh Vardhan Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-531] upgrade secure-keystore package version Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan * replace storeVerifiableCredential context variable with verifiable credential and remove unused actions in vc item machine (#1306) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering Changes. (#1308) * OpenG2P Beneficiary Card Rendering Changes. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering Changes. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering fix. (#1313) * OpenG2P Beneficiary Card Rendering fix. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering fix. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-903] fix iOS backup & restore issues (#1316) * [INJIMOB-903] add logic to use cloud file as a single source of truth for backup and restore Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] - reset loader while fetching last backup details Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] fix android issue with fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] move google profile info api call to API Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [Inji-604]: Addressing the issue of activity log and data back up being called again during app launch and sharing. (#1317) * [Inji-604]: Removing verification calls from app refresh and adding it only on download VC. Signed-off-by: BalachandarG * [Inji-604]: Removing unused VERIFY event from Esignet machine. Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG * vc schema change compatibility changes for rendering (#1318) * vc schema change compatibility changes for rendering Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * vc schema change compatibility changes for rendering Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-903] fix data backup screen stuck in loading (#1319) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: BalachandarG Signed-off-by: Alka Prasad Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> * [Injimob-855] show error screens in both wallet and verifier when shared vc is not stored properly in the verifier (#1314) * [INJIMOB-855] add translations for vc sharing rejected and saving failed scenarios Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] show error screens in both wallet and verifier when shared VC is not stored properly in the verifier device Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] show received vc detailed view only if it is stored successfully in the verifier device Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] update talisman file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] revert qr consent file changes Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-843]: enhance text in otp verification (#1315) * [INJIMOB-843]: enhance text in otp verification Signed-off-by: srikanth716 * [INJIMOB-843]: refactor the screenHeight and isSmallscreen into a common function Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 * INJIMOB-898 Remove Metro warnings (#1329) * [INJIMOB-898] remove telemetry dependency from crypto utils Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-898] remove vcMetadata dependency from utils file Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-898] move common props key to constants Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-898] remove vcUtils dependency from vcVerification Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove profileIcon dependency from svg Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove vcItemFeild dependecy from vcUtils Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove vc dependecy from esignetVcItem and existing vcItem Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove storage dependency from api.ts Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove store dependency from storage Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove commom props dependency from api.ts Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove main.ts dependency from scanLayout Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] move VcItemConatinerProfileImage to different component Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] throw error when error is ENOENT and spell check Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] rename types to routeTypes and edit imports Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] move to idle state on tamperedVCs state Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> --------- Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Inji mob 737 rtl issue (#1327) * [INJIMOB-737]: fix RTL issue Signed-off-by: srikanth716 * [INJIMOB-737]: fix receive card navigation issue Signed-off-by: srikanth716 * [INJIMOB-737]: fix receive card back icon rendering position Signed-off-by: srikanth716 * [INJIMOB-737]: refactor the header right and left Signed-off-by: srikanth716 * [INJIMOB-737]: fix rendering issue in ios Signed-off-by: srikanth716 * [INJIMOB-737]: fix rtl rendering issue in ios Signed-off-by: srikanth716 * [INJIMOB-737]: refactor screen otion to render in ios Signed-off-by: srikanth716 * [INJIMOB-737]: refactor HomeScreenOptions to render in ios Signed-off-by: srikanth716 * [INJIMOB-737]: moving HistoryHeaderTitleStyles to style files Signed-off-by: srikanth716 * [INJIMOB-737]: fix RTL issue Signed-off-by: srikanth716 * [INJIMOB-737]: refactor the header right and left Signed-off-by: srikanth716 * [INJIMOB-737]: fix receive card back icon rendering position Signed-off-by: srikanth716 * [INJIMOB-737]: refactoring the HomeScreenOptions Signed-off-by: srikanth716 * [INJIMOB-737]: refactoring the HomeScreenOptions Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 Co-authored-by: srikanth716 * [INJI-680]: When user touch on icon inside the circle then only it's clickable. (#1320) * [INJI-680]: When user touch on icon inside the circle then only it's clickable Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJI-680]: Now along with the border circle whole part of the icon was clickable in this screen Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> --------- Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-878]: remove unused lock and revoke feature of VC (#1330) Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-903] clean local backup files post backup / restore (#1331) * [INJIMOB-903] - add logic to use cloud file as a single source of truth for backup and restore Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] - reset loader while fetching last backup details Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] fix android issue with fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] fix data backup screen stuck in loading Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] move google profile info api call to API Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * MOSIP-31384 stabilizing code and update ios accessiblity ids (#1323) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * Reverse Sync Release 0.11.0 into develop (#1326) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * Inji 787 Xstate refactor (#1262) * [INJIMOB-837] update bundle id and team id for ios (#1273) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [Injimob-685] fix download error issue which we are getting when the received vc is tampered or when the vc is not stored properly (#1271) * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-837] update ios version and bundle id (#1256) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * INJIMOB - 837 - Update developer team id to match profiles (#1258) * [INJIMOB-837] update ios version and bundle id Signed-off-by: adityankannan-tw * [INJIMOB-837] update the developer team to match profiles Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Inji 752 backup to iCloud (#1251) * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] fix delay in databackup and restore screen Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Swati Goel * [Reverse-Sync-14-02-2024] : Sunbird Integration & Data Backup and Restore Implementation (#1261) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan * [INJIMOB-685] remove received vc metadata from storage when it is tampered or failed to store vc into storage Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Injimob 837 - Update the bundle id for new app (#1263) * [INJIMOB-837] update ios version and bundle id Signed-off-by: adityankannan-tw * [INJIMOB-837] update the developer team to match profiles Signed-off-by: adityankannan-tw * [INJIMOB-837] update the flavor with correct id Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-685] remove redundant store error in request machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-837] update the flavor with correct id (#1265) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-685] remove redundant logic to remove the tampered vc metadata Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix the logic of checking if tampered vc is myvc or received vc Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] fix tampering of received vcs If the received vc is tampered, we should be deleting the vc file & metadata of it. Since the metadata removal was not performed, we were getting download error. This is resolved here. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-787] refactor backup & restore state machine (#1266) * fix cancel download popup not shown Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * fix: show tuvali version Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * downgrade tuvali version to 0.4.6 for qa testing (#1149) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)" This reverts commit 633f42f65f07612f4ed628c650841a12c034e235. Signed-off-by: Swati Goel * Resetting the Data_Backup Toggle (#1202) * [INJI-766] set backupAndRestore env variable to true and remove full stop in the kan langugage in one of the help page question Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-766] remove backupAndRestore variable from env file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * Revert "Merge pull request #1227 from tw-mosip/internal-release-01-02-2024" (#1242) This reverts commit 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing changes made to f63445fc0821311bb005880ab4c5ed8d1179a630. Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [Internal-Release-20+] : Sunbird Changes (#1243) * [INJIMOB-683]: add testid for missed vc field (#1226) * [INJIMOB-683]: add testid for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-683]: add testidprops for missed vc field Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's (#1225) * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-770]: parse date received in the vc's Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * downgrade cocoapods version (#1231) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Use latest cocoapods version (#1236) * downgrade cocoapods version Signed-off-by: adityankannan-tw * use latest cocoapods version Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw * [INJIMOB-760]: update mosip Logo Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add backup & restore in iOS (iCloud) (#119) * [INJIMOB-752] - Added basic backup and restore flow for iCloud Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] show proceed screen based on stored value Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fetch last backup details of iCloud Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] show permision required screen when not signed in on iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added sync and open settings Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - Add missing translations and refactor Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-752] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-834] ignore corrupted VC while performing backup (#1253) * [INJIMOB-834] ignore corrupted VC while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-834] remove corrupted VC metaData while performing backup Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] download any unsynced files during lang setup in iOS Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove backup and restore toggle Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] sync style of newLabel in purple and default theme Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] remove debug logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] add initail state in downloadingCredential to fix warning Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] - Added delayed visibility for backup screen Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-787] Conditional restore of VCs (#120) * [INJI-787] add bootstrap state for restarting restore ops Notes: - all operations depend on the state of the $DOCUMENT_DIR/inji/backup/ directory contents and not on the state of the MMKV DB Signed-off-by: Harsh Vardhan * [INJI-787] conditional restore on restart of restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] fix recent file finder code Signed-off-by: Harsh Vardhan * [INJIMOB-787] add vc remove logic for partial restore Signed-off-by: Harsh Vardhan * [INJIMOB-787] refactor, ACK reviews, rm dead condition Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove console.logs Signed-off-by: Harsh Vardhan * [INJIMOB-787] remove irrelevant TODOs Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan * Revert "Inji mob 737 rtl issue (#1238)" This reverts commit 2665cdeee193d7fb428fc10354f30cc25084b83d. * [INJIMOB-760]: adjust the mosip logo in the issuer section Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-787] refactor backup & restore states machines Signed-off-by: Harsh Vardhan * [INJIMOB-752] fix label for drive name on backup Signed-off-by: Harsh Vardhan * [INJIMOB-799] fix show restored vcs as shareable Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-752] fix warnings Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan * [INJIMOB-685] remove unused state and actions in requestMachine After adding timestamp to the incoming received vc, every vc shared from wallet is condered as separate vc. Due to this reason, the check if the incoming vc is already available in our received vcs will always be returning false. Thus removing the mergingIncomingVcrelated states in requestMachine to avoid unnecessary checks. Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-685] remove sharing reason related code Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB_685] remove unused event in vc machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-685] revert ios fastfile and project.pbxproj files changes Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Harsh Vardhan Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: Harsh Vardhan * [INJIMOB-856] add testIds (#1274) testIDs added for - Inji tour guide slides, banner notification, issuer component Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-852] - Grace fully handling scrollToIndex error of flatlist (#1276) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-864] disable backup button when restoring and vice versa (#1280) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1282) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB - 865,868] - Fix duplicate VC key for restored VC's and remove metadata if vc file not found (#1284) * [INJIMOB-something] use incremental timestamp for restore and make unload take a flag start time Signed-off-by: Harsh Vardhan * [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] remove unused method in store.ts machine Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] revert removing vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-865] fix tamper vc removal When a VC is tampered, we get the tampered vc popup. Once we press okay button in the popup, we will be refreshing the vc machine's myVcs & recievedVcs context. Due to calling of parallel states, we were having issue with refreshing of myVcs. It is fixed by targeting to init state to refresh Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-865] remove vc metadata when file is not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] add code comments & fix minor code issues Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * Inji 604 Verify VC error changes to be merged into release branch (#1277) * [INJI-604]: Handle Verification VC Error Scenarios Signed-off-by: BalachandarG * [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 Replace Error message overlay with new error screen. Signed-off-by: BalachandarG * [INJI-604]: Transation added for Verification error messages. Signed-off-by: BalachandarG * [INJI-604] remove unnecessary log in error screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 : Removing logs and renaming functions Signed-off-by: BalachandarG * [INJIMOB-604]: Removing unused method. Signed-off-by: BalachandarG * [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen. Signed-off-by: BalachandarG * [Inji-604]: Fixing bugs post conflict resolve. Signed-off-by: BalachandarG * [Inji-604]: Removing unused events and adding translations for Go Back button * [Inji-604]: Removed angle brackets for Technical Error * [Inji-604]: Added ToDo to handle backup * [Inji-604]: Removing isVerified flag from the Existing VC Item Machine. * [Inji-604] iOS crash fixed for Verification error Go Back Button Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Swati Goel * [INJIMOB-881] add entitlements file changes for icloud (#1287) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * Injimob 881 - Update code signing identity (#1288) * [INJIMOB-881] add entitlements file changes for icloud Signed-off-by: adityankannan-tw * [INJIMOB-881] update code signing identity to iphone distribution Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * mocked the verification and updated the app name for app releated popups (#1290) Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-763] increase threshold of face match config (#1298) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-531] send base64 encode data to encrypt to avoid data loss (#1305) * [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation When we pass data from a react native app with \x00 value, any data post the \x00 gets truncated (i.e., part2 is trimmed off). This happens most likely with the react native bridge. To avoid this issue of truncation, we are required to pass the data as base64 encoded string and secure-keystore module will perform decoding before processing for encryption. Co-authored-by: Harsh Vardhan Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-531] upgrade secure-keystore package version Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan * replace storeVerifiableCredential context variable with verifiable credential and remove unused actions in vc item machine (#1306) Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering Changes. (#1308) * OpenG2P Beneficiary Card Rendering Changes. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering Changes. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering fix. (#1313) * OpenG2P Beneficiary Card Rendering fix. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * OpenG2P Beneficiary Card Rendering fix. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-903] fix iOS backup & restore issues (#1316) * [INJIMOB-903] add logic to use cloud file as a single source of truth for backup and restore Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] - reset loader while fetching last backup details Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] fix android issue with fetching last backup details Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] move google profile info api call to API Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [Inji-604]: Addressing the issue of activity log and data back up being called again during app launch and sharing. (#1317) * [Inji-604]: Removing verification calls from app refresh and adding it only on download VC. Signed-off-by: BalachandarG * [Inji-604]: Removing unused VERIFY event from Esignet machine. Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG * vc schema change compatibility changes for rendering (#1318) * vc schema change compatibility changes for rendering Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * vc schema change compatibility changes for rendering Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-903] fix data backup screen stuck in loading (#1319) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: BalachandarG Signed-off-by: Alka Prasad Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> * [INJIMOB-903] fetch last backup details from cloud everytime backup & restore screen is opened Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] handle network failure scenario Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] remove unused actions in state machine Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] handle network error for backup in iOS Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] handle network error for restore flow in iOS Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [Injimob-855] show error screens in both wallet and verifier when shared vc is not stored properly in the verifier (#1314) * [INJIMOB-855] add translations for vc sharing rejected and saving failed scenarios Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] show error screens in both wallet and verifier when shared VC is not stored properly in the verifier device Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] show received vc detailed view only if it is stored successfully in the verifier device Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] update talisman file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-855] revert qr consent file changes Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-843]: enhance text in otp verification (#1315) * [INJIMOB-843]: enhance text in otp verification Signed-off-by: srikanth716 * [INJIMOB-843]: refactor the screenHeight and isSmallscreen into a common function Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 * [INJIMOB-903] remove unused states / imports Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] remove duplicate code Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * INJIMOB-898 Remove Metro warnings (#1329) * [INJIMOB-898] remove telemetry dependency from crypto utils Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-898] remove vcMetadata dependency from utils file Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-898] move common props key to constants Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-898] remove vcUtils dependency from vcVerification Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove profileIcon dependency from svg Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove vcItemFeild dependecy from vcUtils Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove vc dependecy from esignetVcItem and existing vcItem Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove storage dependency from api.ts Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove store dependency from storage Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove commom props dependency from api.ts Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] remove main.ts dependency from scanLayout Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] move VcItemConatinerProfileImage to different component Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] throw error when error is ENOENT and spell check Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] rename types to routeTypes and edit imports Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-898] move to idle state on tamperedVCs state Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> --------- Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-903] removed unreachable state Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] remove storing last backup details Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] add telemetry events for error flows Other changes include - remove duplicate / unused code Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] refactor gaurd condition Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-903] show signIn prompt on app manually disconnected from Google drive when user manually disconnects INJI app from Google drive settings (after successful authentication & Google drive api access is provided to INJI via app), we will be receiving 'UNAUTHENTICATED' error when using the current access token. So, based on this error we are performing logout (GoogleSignIn.revokeAccess and GoogleSignIn.signOut) to show sign in & consent prompt to the user. Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Anup Nehe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: BalachandarG Signed-off-by: Alka Prasad Signed-off-by: srikanth716 Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: anup-nehe <117707464+anup-nehe@users.noreply.github.com> Co-authored-by: Alka Prasad Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Swati Goel Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Harsh Vardhan Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> Co-authored-by: Srikanth Kola <97477121+srikanth716@users.noreply.github.com> Co-authored-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> * [INJIMOB-918] avoid logging sensitive data (#1333) * [INJIMOB-918] log state machines only in dev mode Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-918] remove unused logs & modify logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-918] remove console logs before bindling ref - https://reactnative.dev/docs/performance#using-consolelog-statements Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-918] change log levels of existing console logs Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-918] change let to const as they are not re-assigned Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-918] remove non-existent machine subscription (#1336) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * MOSIP-31927 stabilize and bug fix (#1334) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe * INJIMOB-924 MOSIP-31927 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [INJIMOB-928]: add testID for sunbird Vc and intro sliders (#1335) Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631] Mini Card View Home Page Changes (#1294) * [INJI-631] add share and share with selfie options into kebab menu Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] change share vc component service attribute type to existingMosipVcItemMachine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] change the kebab menu options name as per the wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] add missing otp screen confirmation dialog translations for kannada language Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] extract vcItemField name and value into two separate components for better usability Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] show mini card view of the loaded VC and change the styles as per the wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] do not show the activation status and kebab menu when sharing vc and while doing QR login Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] show mini card view usin shimmerPlaceholder component when card is in loading state Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] add svg images for wallet activated and unactivated icon Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] fix the postion of pin icon when there is no image displayed in VC Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show help icon and meat ball menu in vc detailed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add styles for detailed view profile icon and it's container Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-721]: add help icon on top bar and remove setting button Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: move settings to bottom tab bar Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: add search bar ui for vc search Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: add search filter for the vc search Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: refactor filtered data to show message when vc not found Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631] redirect to the home screen when user gives confirmation to delete the vc from the detailed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-721]: add search svg for search bar and also style it Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631] in existing vcitem machine close the kebab popup when an option is selected in kebab menu except for remove vc option Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] change the remove vc confirm popup as per the wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add icons for the kebab menu options and show the number of cards available in home screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove tooltip in detailed view and show remove vc kebab menu option in red color Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] close the kebab menu when user clicks on cancel button in removal confirmation popup Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMON-631] show verification status for all the VCs in mini view and detailed view based on isVerified status Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: send vc data to scan machine while selecting share or share with selfie from meatball menu Signed-off-by: Alka Prasad * [INJIMOB-721]: add styles to search bar Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: add text msg when field searched in the vc search bar is not found Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: implement sharing VC flow from mini card view Signed-off-by: Alka Prasad * [INJIMOB-721]: refactor search bar component to show diff icon for vc search and issuers search Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: remove unused code Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: implement sharing VC with selfie flow from mini card view Signed-off-by: Alka Prasad * [INJIMOB-631]: handle face auth failure scenario in VC sharing with selfie Signed-off-by: Alka Prasad * [INJIMOB-631]: handle proper closing of kebab menu on VC share option click Signed-off-by: Alka Prasad * [INJIMOB-721]: add styles to the search bar Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: handle navigation to history page from success vc share page Signed-off-by: Alka Prasad * [INJIMOB-721]: add background colour for home screen Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: display proper label for QR login from meat ball menu Signed-off-by: Alka Prasad * [INJIMOB-631]: handle QR login flow for mini view card Signed-off-by: Alka Prasad * [INJIMOB-631] show count of cards available matching with search keyword Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show activated icon for the sunbird cards in the mini view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] hide share with selfie and qr login options in kebab menu if profile image is not available Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: updating logic to call isFromOpenId4VCI from an instance of VCMetadata Signed-off-by: Alka Prasad * [INJIMOB-631]: update kebab menu list icons to outline with black color Signed-off-by: Alka Prasad * [INJIMOB-631]: close kebab popup on selecting sharing option for esignet VCs Signed-off-by: Alka Prasad * [INJIMOB-631]: clear connect for invalid identity and back button click face auth during share with selfie Signed-off-by: Alka Prasad * [INJIMOB-631] fix the logic of showing how many cards available in the ui Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove styles for kebab menu pin icon Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: updating logic to call isFromOpenId4VCI from an instance of VCMetadata Signed-off-by: Alka Prasad * [INJIMOB-631]: reset the flowType and selectedVC variable in scan machine on any disconnect or success share of VC Signed-off-by: Alka Prasad * [INJIMOB-631] in detail view show activation status popup everytime in the bottom Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] replace activated icon with svg image in detailed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: remove unused files Signed-off-by: Alka Prasad * [INJIMOB-631] don't show activation details in detailed view if VC image is not available Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show verification status as valid if credentials are available Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] adjust the size of the image, qr code, magnifier and logo in detialed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] increase the width of the activate button in the detialed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] in detialed view increase the divider with and change it's styles to show it as per wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] in detialed view move email and all the address fields to the bottom view for all type of VCs Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] filter the supported credentials of esignet wellknown config based on credential type of issuers config Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show the horizontal line in detailed view only if email or one of the address fields available in vc Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] fix the spelling mistake of detailed view image styles Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove unused event in existing mosip vc item machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] change the name of the enum used for sharing flow from flow type to vc share flow type Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] create a new enum type to use it for showing the activation status in vcitem container Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] use logical and operator to decide whether to show horizontal line or not in detailed view and remove unnecessary logs Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add test id to the profile icon container and adjust the styles of pin icon Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] move invalid identity message overlay to verify identity overlay component Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show credential registry in the bottom section of detial view if it's env variable is set to true Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add testId to detailed view qr code view and change settings tab title to settings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] make whole kebab menu option as pressable Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: hide kebab menu from the VC on SendVCScreen Signed-off-by: Alka Prasad * [INJIMOB-631]: reset SelectedVc and flow type in scan machine for every kind of disconnect Signed-off-by: Alka Prasad * [INJIMOB-631]: remove redundant check on qr login Signed-off-by: Alka Prasad * [INJIMOB-631]: fix the prop value passed to the face scanner Signed-off-by: Alka Prasad * [INJIMOB-631] add email & address back to default fields and write a logic to remove bottom section fields from wellknown config supported fields Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] move detailed view bottom section fields list into vcUtils file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove unused action selectIsVerifiable in existing vc item machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] pass the controller functions directly to verifyIdentityOverlay when calling it Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add todo comment in vcVerification file to handled vc verification pending status as part of another task Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] render kebab menu options using flat list and make necessary changes related to menu options Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-721]: refactor search Filter for normal otp flow VC Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: refactor search Filter for sunbird and esignet vc Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: refactor to add metadata to esignet and sunbird vc on download before saving Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: show no of cards when search data is updated Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631] add back history tab file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-778 (#122) * [INJIMOB-778]: add new localistaion for set and confirm passcode screen Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add authorization after the biometric unlock Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add check for biometric and password for the toggle Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add success toaster message when alternate unlock method is added Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: remove toaster when the app is reopened Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add locales for succes toaster for biometric toggle Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor to check for the toggle from settings Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor function that handles biometric toggle Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor toggle_biometric_unlock event Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor banner notification to show success message Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add testID for new components Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> --------- Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * Injimob 784 (#124) * [INJIMOB-784] add face verification consent overlay Signed-off-by: adityankannan-tw * [INJIMOB-784] add dismiss for backdrop press Signed-off-by: adityankannan-tw * [INJIMOB-784] add pop up for qrlogin flow also Signed-off-by: adityankannan-tw * [INJIMOB-864] disable backup button when restoring and vice versa (#1279) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1281) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB - 865,868] - Fix duplicate VC key for restored VC's and remove metadata if vc file not found (#1283) * [INJIMOB-something] use incremental timestamp for restore and make unload take a flag start time Signed-off-by: Harsh Vardhan * [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] remove unused method in store.ts machine Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] revert removing vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-865] fix tamper vc removal When a VC is tampered, we get the tampered vc popup. Once we press okay button in the popup, we will be refreshing the vc machine's myVcs & recievedVcs context. Due to calling of parallel states, we were having issue with refreshing of myVcs. It is fixed by targeting to init state to refresh Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-865] remove vc metadata when file is not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] add code comments & fix minor code issues Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-784] set context after getting the value from store Signed-off-by: adityankannan-tw * [INJIMOB-784] refactor the names and send isConsentGiven value properly to the scan machine event Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-784] store & fetch the face auth consent value with proper types Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 VC Verification Failure Scenarios (#1228) * [INJI-604]: Handle Verification VC Error Scenarios Signed-off-by: BalachandarG * [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 Replace Error message overlay with new error screen. Signed-off-by: BalachandarG * [INJI-611]: New Error screen implemented Signed-off-by: BalachandarG * [INJI-604]: Transation added for Verification error messages. Signed-off-by: BalachandarG * [INJI-604] merge develop and resolve conflicts Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-604] remove unnecessary log in error screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 : Removing logs and renaming functions Signed-off-by: BalachandarG * [INJIMOB-604]: Removing unused method. Signed-off-by: BalachandarG * [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen. Signed-off-by: BalachandarG * [Inji-604]: Fixing bugs post conflict resolve. Signed-off-by: BalachandarG * [Inji-604]: Removing unused events and adding translations for Go Back button * [Inji-604]: Removed angle brackets for Technical Error * [Inji-604]: Added ToDo to handle backup * [Inji-604]: Removing isVerified flag from the Existing VC Item Machine. * [Inji-604] iOS crash fixed for Verification error Go Back Button Signed-off-by: BalachandarG * [Inji-604]: Simplified condition for result in verify Credential call. Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-784] add styles for the popup Signed-off-by: adityankannan-tw * [INJIMOB-784] add locales changes in all languages Signed-off-by: adityankannan-tw * [INJIMOB-784] send consent data using event to qrlogin machine Signed-off-by: adityankannan-tw * [INJIMOB-784] refactor scan and qr machines and remove logs Signed-off-by: adityankannan-tw * [INJIMOB-784] add testID for icons and buttons Signed-off-by: adityankannan-tw * [INJIMOB-784] add translations for help screen contents Signed-off-by: adityankannan-tw * [INJIMOB-784] add translations for help screen contents Signed-off-by: adityankannan-tw * [INJIMOB-784] change popup text and alter help screen msg order Signed-off-by: adityankannan-tw * Update SendVcScreenController.ts * [INJIMOB-784] refactor actions for show face auth consent screen Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: BalachandarG Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> * [INJIMOB-631]: remove reset flowtype from disconnect as it is resetting the value each time on new connection Signed-off-by: Alka Prasad * [INJIMOB-631] remove unnecessary reset flow type event in scan machine and fix storage limit error overlay Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Alka Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: Alka Prasad Signed-off-by: Alka Prasad Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: BalachandarG Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> * [INJIMOB-895] add check for welknowConfig to render the vcSkeleton (#1337) * [INJIMOB-895]: add check for welknowConfig to render the vcSkeleton Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-895]: add check for welknown to show VcCardSkeleton Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-895]: fix build check android and ios Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> --------- Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * Injimob 887: Translations for successful VC share screens on the verifier side (#1341) * [INJIMOB-887]: update the locales for recieve VC screen Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-887]: remove unused transaltions Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> --------- Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: fix the face auth eror overlay popup coming during qr scan (#1342) Signed-off-by: Alka Prasad * xpath updated for esignet & sunbird (#1343) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe * INJIMOB-924 MOSIP-31927 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31874 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [INJIMOB-941] : inji readme update (#1339) * [INJIMOB-941]: update ReadMe with Setup and Configuration details Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-941]: add pull_request_template.md file Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * Update README.md --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * MOSIP-31384 stabilize ios And Android script (#1345) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe * INJIMOB-924 MOSIP-31927 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31874 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conlifcts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [INJIMOB-783] fix error popup and text in qr scanner (#1346) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-842]: mock the verification of vc only for range error for MOSIP VC. (#1347) * [INJIMOB-842]: mock the verification of vc only for range error for MOSIP VC. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-842]: mock the verification of vc only for range error for MOSIP VC. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-985]: Fixed Arabic translation in the flow of backup and respective. (#1349) * [INJIMOB-985]: Fixed arabic translation in the flow of backup and restore Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-985]: Fixed arabic translation in the flow of backup and restore Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> --------- Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-631]: fix storing the selectedVC and flow type in subsequent sharing (#1350) Signed-off-by: Alka Prasad * [INJIMOB-878] : vc state machine refactoring (#1344) * [INJI-631] add share and share with selfie options into kebab menu Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] change share vc component service attribute type to existingMosipVcItemMachine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] change the kebab menu options name as per the wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] add missing otp screen confirmation dialog translations for kannada language Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] extract vcItemField name and value into two separate components for better usability Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] show mini card view of the loaded VC and change the styles as per the wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] do not show the activation status and kebab menu when sharing vc and while doing QR login Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] show mini card view usin shimmerPlaceholder component when card is in loading state Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] add svg images for wallet activated and unactivated icon Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-631] fix the postion of pin icon when there is no image displayed in VC Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show help icon and meat ball menu in vc detailed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add styles for detailed view profile icon and it's container Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-721]: add help icon on top bar and remove setting button Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: move settings to bottom tab bar Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: add search bar ui for vc search Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: add search filter for the vc search Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: refactor filtered data to show message when vc not found Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631] redirect to the home screen when user gives confirmation to delete the vc from the detailed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-721]: add search svg for search bar and also style it Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631] in existing vcitem machine close the kebab popup when an option is selected in kebab menu except for remove vc option Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] change the remove vc confirm popup as per the wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add icons for the kebab menu options and show the number of cards available in home screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove tooltip in detailed view and show remove vc kebab menu option in red color Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] close the kebab menu when user clicks on cancel button in removal confirmation popup Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMON-631] show verification status for all the VCs in mini view and detailed view based on isVerified status Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: send vc data to scan machine while selecting share or share with selfie from meatball menu Signed-off-by: Alka Prasad * [INJIMOB-721]: add styles to search bar Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: add text msg when field searched in the vc search bar is not found Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: implement sharing VC flow from mini card view Signed-off-by: Alka Prasad * [INJIMOB-721]: refactor search bar component to show diff icon for vc search and issuers search Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: remove unused code Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: implement sharing VC with selfie flow from mini card view Signed-off-by: Alka Prasad * [INJIMOB-631]: handle face auth failure scenario in VC sharing with selfie Signed-off-by: Alka Prasad * [INJIMOB-631]: handle proper closing of kebab menu on VC share option click Signed-off-by: Alka Prasad * [INJIMOB-721]: add styles to the search bar Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: handle navigation to history page from success vc share page Signed-off-by: Alka Prasad * [INJIMOB-721]: add background colour for home screen Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631]: display proper label for QR login from meat ball menu Signed-off-by: Alka Prasad * [INJIMOB-631]: handle QR login flow for mini view card Signed-off-by: Alka Prasad * [INJIMOB-631] show count of cards available matching with search keyword Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show activated icon for the sunbird cards in the mini view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] hide share with selfie and qr login options in kebab menu if profile image is not available Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: updating logic to call isFromOpenId4VCI from an instance of VCMetadata Signed-off-by: Alka Prasad * [INJIMOB-631]: update kebab menu list icons to outline with black color Signed-off-by: Alka Prasad * [INJIMOB-631]: close kebab popup on selecting sharing option for esignet VCs Signed-off-by: Alka Prasad * [INJIMOB-631]: clear connect for invalid identity and back button click face auth during share with selfie Signed-off-by: Alka Prasad * [INJIMOB-631] fix the logic of showing how many cards available in the ui Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove styles for kebab menu pin icon Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: updating logic to call isFromOpenId4VCI from an instance of VCMetadata Signed-off-by: Alka Prasad * [INJIMOB-631]: reset the flowType and selectedVC variable in scan machine on any disconnect or success share of VC Signed-off-by: Alka Prasad * [INJIMOB-631] in detail view show activation status popup everytime in the bottom Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] replace activated icon with svg image in detailed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: remove unused files Signed-off-by: Alka Prasad * [INJIMOB-631] don't show activation details in detailed view if VC image is not available Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show verification status as valid if credentials are available Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] adjust the size of the image, qr code, magnifier and logo in detialed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] increase the width of the activate button in the detialed view Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] in detialed view increase the divider with and change it's styles to show it as per wireframe Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] in detialed view move email and all the address fields to the bottom view for all type of VCs Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] filter the supported credentials of esignet wellknown config based on credential type of issuers config Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show the horizontal line in detailed view only if email or one of the address fields available in vc Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] fix the spelling mistake of detailed view image styles Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove unused event in existing mosip vc item machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] change the name of the enum used for sharing flow from flow type to vc share flow type Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] create a new enum type to use it for showing the activation status in vcitem container Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] use logical and operator to decide whether to show horizontal line or not in detailed view and remove unnecessary logs Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add test id to the profile icon container and adjust the styles of pin icon Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] move invalid identity message overlay to verify identity overlay component Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] show credential registry in the bottom section of detial view if it's env variable is set to true Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add testId to detailed view qr code view and change settings tab title to settings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] make whole kebab menu option as pressable Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631]: hide kebab menu from the VC on SendVCScreen Signed-off-by: Alka Prasad * [INJIMOB-631]: reset SelectedVc and flow type in scan machine for every kind of disconnect Signed-off-by: Alka Prasad * [INJIMOB-631]: remove redundant check on qr login Signed-off-by: Alka Prasad * [INJIMOB-631]: fix the prop value passed to the face scanner Signed-off-by: Alka Prasad * [INJIMOB-631] add email & address back to default fields and write a logic to remove bottom section fields from wellknown config supported fields Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] move detailed view bottom section fields list into vcUtils file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] remove unused action selectIsVerifiable in existing vc item machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] pass the controller functions directly to verifyIdentityOverlay when calling it Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] add todo comment in vcVerification file to handled vc verification pending status as part of another task Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-631] render kebab menu options using flat list and make necessary changes related to menu options Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-721]: refactor search Filter for normal otp flow VC Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: refactor search Filter for sunbird and esignet vc Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: refactor to add metadata to esignet and sunbird vc on download before saving Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-721]: show no of cards when search data is updated Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-631] add back history tab file Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-778 (#122) * [INJIMOB-778]: add new localistaion for set and confirm passcode screen Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add authorization after the biometric unlock Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add check for biometric and password for the toggle Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add success toaster message when alternate unlock method is added Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: remove toaster when the app is reopened Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add locales for succes toaster for biometric toggle Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor to check for the toggle from settings Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor function that handles biometric toggle Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor toggle_biometric_unlock event Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: refactor banner notification to show success message Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-778]: add testID for new components Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> --------- Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * Injimob 784 (#124) * [INJIMOB-784] add face verification consent overlay Signed-off-by: adityankannan-tw * [INJIMOB-784] add dismiss for backdrop press Signed-off-by: adityankannan-tw * [INJIMOB-784] add pop up for qrlogin flow also Signed-off-by: adityankannan-tw * [INJIMOB-864] disable backup button when restoring and vice versa (#1279) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1281) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB - 865,868] - Fix duplicate VC key for restored VC's and remove metadata if vc file not found (#1283) * [INJIMOB-something] use incremental timestamp for restore and make unload take a flag start time Signed-off-by: Harsh Vardhan * [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] remove unused method in store.ts machine Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] revert removing vc metadata if file not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-865] fix tamper vc removal When a VC is tampered, we get the tampered vc popup. Once we press okay button in the popup, we will be refreshing the vc machine's myVcs & recievedVcs context. Due to calling of parallel states, we were having issue with refreshing of myVcs. It is fixed by targeting to init state to refresh Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-865] remove vc metadata when file is not found Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-869] add code comments & fix minor code issues Signed-off-by: Harsh Vardhan --------- Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-784] set context after getting the value from store Signed-off-by: adityankannan-tw * [INJIMOB-784] refactor the names and send isConsentGiven value properly to the scan machine event Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-784] store & fetch the face auth consent value with proper types Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 VC Verification Failure Scenarios (#1228) * [INJI-604]: Handle Verification VC Error Scenarios Signed-off-by: BalachandarG * [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 Replace Error message overlay with new error screen. Signed-off-by: BalachandarG * [INJI-611]: New Error screen implemented Signed-off-by: BalachandarG * [INJI-604]: Transation added for Verification error messages. Signed-off-by: BalachandarG * [INJI-604] merge develop and resolve conflicts Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJI-604] remove unnecessary log in error screen Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * INJIMOB-604 : Removing logs and renaming functions Signed-off-by: BalachandarG * [INJIMOB-604]: Removing unused method. Signed-off-by: BalachandarG * [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen. Signed-off-by: BalachandarG * [Inji-604]: Fixing bugs post conflict resolve. Signed-off-by: BalachandarG * [Inji-604]: Removing unused events and adding translations for Go Back button * [Inji-604]: Removed angle brackets for Technical Error * [Inji-604]: Added ToDo to handle backup * [Inji-604]: Removing isVerified flag from the Existing VC Item Machine. * [Inji-604] iOS crash fixed for Verification error Go Back Button Signed-off-by: BalachandarG * [Inji-604]: Simplified condition for result in verify Credential call. Signed-off-by: BalachandarG --------- Signed-off-by: BalachandarG Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-784] add styles for the popup Signed-off-by: adityankannan-tw * [INJIMOB-784] add locales changes in all languages Signed-off-by: adityankannan-tw * [INJIMOB-784] send consent data using event to qrlogin machine Signed-off-by: adityankannan-tw * [INJIMOB-784] refactor scan and qr machines and remove logs Signed-off-by: adityankannan-tw * [INJIMOB-784] add testID for icons and buttons Signed-off-by: adityankannan-tw * [INJIMOB-784] add translations for help screen contents Signed-off-by: adityankannan-tw * [INJIMOB-784] add translations for help screen contents Signed-off-by: adityankannan-tw * [INJIMOB-784] change popup text and alter help screen msg order Signed-off-by: adityankannan-tw * Update SendVcScreenController.ts * [INJIMOB-784] refactor actions for show face auth consent screen Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: BalachandarG Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> * [INJIMOB-878]: VC State Machine Refactoring Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-878]: removed unused component from the codebase Signed-off-by: Alka Prasad * [INJIMOB-878]: remove any traces of existing and esignet item state machine from the code base Signed-off-by: Alka Prasad * [INJIMOB-878]: extract out phone number and email id to a wrapper object Signed-off-by: Alka Prasad * [INJIMOB-878]: optimize context variable declaration and usage in vc and vcItemStateMachine Signed-off-by: Alka Prasad * [INJIMOB-878]: move all the selectors to VCItemMachine from a seperate file Signed-off-by: Alka Prasad * [INJIMOB-878]: bring back code lost in code merge from develop Signed-off-by: Alka Prasad * [INJIMOB-878]: remove unused imports and refactor the openId4VCI check from entire code base to a single point Signed-off-by: Alka Prasad * [INJIMOB-878]: remove the entire vc or context sharing from the state machine to the component Signed-off-by: Alka Prasad * [INJIMOB-878]: refactor controller to remove seperate declaration of variables Signed-off-by: Alka Prasad * [INJIMOB-878]: extract events of VCItemMAchine into a seperate file Signed-off-by: Alka Prasad * [INJIMOB-878]: removed some unused imports renamed VCItemSelectors file and refactored KebabPopUpController Signed-off-by: Alka Prasad * [INJIMOB-878]: add issuer in OTP flow VC data as well Signed-off-by: Alka Prasad * [INJIMOB-878]: remove VP implemetation and some unused components Signed-off-by: Alka Prasad * [INJIMOB-878]: split VCItemMachine into multiple logical units Signed-off-by: Alka Prasad * [INJIMOB-878]: correct a test id for activation flow Signed-off-by: Alka Prasad * [INJIMOB-878]: fix issues dueto merge conflict Signed-off-by: Alka Prasad * [INJIMOB-878]: changed the folder structure for VCItemMAchine and related files Signed-off-by: Alka Prasad --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Alka Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: Alka Prasad Signed-off-by: Alka Prasad Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: BalachandarG Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJI-314] [INJI-900] add jest testing config, mocks and sample unit tests for Inji (#1340) * [INJI-314] initial commit Signed-off-by: Sri Kanth Kola * [INJI-314] add WIP ut stuff Signed-off-by: Harsh Vardhan * [INJIMOB-314] fix tsconfig for project type Signed-off-by: Harsh Vardhan * [INJIMOB-314] kludge - skip checking types during unit tests * mock image imports globally * enable tests to run from any dir Signed-off-by: Harsh Vardhan * [INJIMOB-314]: mocked modules Signed-off-by: srikanth716 * [INJIMOB-314]: mock react-native-google-signin Signed-off-by: srikanth716 * [INJIMOB-314]: use defined mock from google-signin lib other details: - mock base58.., rn-linear-gradient, expo-camera - add @react-native/assets-registry to make jest-expo babel preset work Signed-off-by: Harsh Vardhan * [INJIMOB-314] reorganise global const mocks into jest's setupFiles Co-authored-by: srikanth716 Signed-off-by: Harsh Vardhan * [INJIMOB-900] write tests for ActivityLogEvent * init relevant mocks * remove redundant global mocks from test files Signed-off-by: Harsh Vardhan * [INJIMOB-900] fixup mocks of mmkv, zip-archive, rnfs Signed-off-by: Harsh Vardhan * [INJIMOB-900]: write unit test for commonUtil Signed-off-by: srikanth716 * [INJIMOB-900]: write unit test for commonUtil Signed-off-by: srikanth716 * [INJIMOB-900]: sample unit test for settingsScreen Signed-off-by: srikanth716 * [INJIMOB-900] add SettingScreen test Signed-off-by: Harsh Vardhan * [INJIMOB-900] update sample tests for commonUtil Signed-off-by: Harsh Vardhan * [INJIMOB-900]: refactoring the settingsScreen test for Android and IOS Signed-off-by: srikanth716 * [INJIMOB-900] update test snapshots and add kludge in auth for testing kludge: auth state machine now exports a selector with optional fields as state machine isn't running in a test environment Co-authored-by: srikanth716 Signed-off-by: Harsh Vardhan * [INJIMOB-900]: snapshot test to settings screen Signed-off-by: srikanth716 * [INJIMOB-900] update mocks for testing and ACK reviews Signed-off-by: Harsh Vardhan * [INJIMOB-900] downgrade expo to match compatibility matrix Signed-off-by: Harsh Vardhan * [INJIMOB-900] upgrade expo to 49 to build the iOS app(kludge) Signed-off-by: Harsh Vardhan * [INJIMOB-900] configure react-native-vector-icons as per README Signed-off-by: Harsh Vardhan --------- Signed-off-by: Sri Kanth Kola Signed-off-by: Harsh Vardhan Signed-off-by: srikanth716 Co-authored-by: Sri Kanth Kola * update the pom to unblock devops (#1352) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe * INJIMOB-924 MOSIP-31927 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31874 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conlifcts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * updating to unblock deveops Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [INJIMOB-878]: moved Vc types file to Verifiable Credential folder and renamd VC state machine to VCMetaMachine (#1354) Signed-off-by: Alka Prasad * [INJIMOB-878]: replace all references of VC to VCMeta (#1355) * [INJIMOB-878]: replace all references of VC to VCMeta Signed-off-by: Alka Prasad * [INJIMOB-878]: remove credential logging Signed-off-by: Alka Prasad --------- Signed-off-by: Alka Prasad * Injimob 878 bug fix (#1359) * [INJIMOB-878]: replace all references of VC to VCMeta * [INJIMOB-878]: remove credential logging * [INJIMOB-878]: fix status display on VC details page Signed-off-by: Alka Prasad * [DSD-4749] updated ui-automation worflow (#1358) * [DSD-4749] Signed-off-by: bhumi46 * [DSD-4749] Signed-off-by: bhumi46 * [DSD-4749] Signed-off-by: bhumi46 --------- Signed-off-by: bhumi46 * [INJIMOB-995]: Add testIDs for automation (#1361) * [INJIMOB-995]: Add testIDs for automation Signed-off-by: srikanth716 * [INJIMOB-995] send testId to this kebabIcon and reverting the verification testID Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 * Release issues (#1362) * [INJIMOB-986]: fix arabic language rendering issue Signed-off-by: Alka Prasad * [INJIMOB-986]: add temporary fix to close download vc banner after successful VC download Signed-off-by: Alka Prasad --------- Signed-off-by: Alka Prasad * Inji mob 995 add test id for automation (#1366) * [INJIMOB-995]: Add testIDs for automation Signed-off-by: srikanth716 * [INJIMOB-995] send testId to this kebabIcon and reverting the verification testID Signed-off-by: srikanth716 * [INJIMOB-995] add testID to fullNameValue in home screen card Signed-off-by: srikanth716 * [INJIMOB-995]: Add testIDs for automation Signed-off-by: srikanth716 * [INJIMOB-995] send testId to this kebabIcon and reverting the verification testID Signed-off-by: srikanth716 * [INJIMOB-995] add testID to fullNameValue in home screen card Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 * MOSIP-32267 updating automation script according to ui changes And adding testcases (#1364) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe * INJIMOB-924 MOSIP-31927 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31874 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conlifcts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * updating to unblock deveops Signed-off-by: Anup Nehe * MOSIP-32267 MOSIP-32204 Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [INJIMOB-967]: selection of credential types (#1367) * [INJIMOB-967]: selection of credential types Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-967]: selection of credential types Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-967]: selection of credential types Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-967]: selection of credential types Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-967] change literal and typeof param Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [INJIMOB-967] change literal in all languages Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --------- Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> * [Injimob-999] fix the issues of kebab menu and pin feature (#1368) * [INJIMOB-1075] close the kebab menu when user clicks on view activity and remove kebab menu options to properly show activity modal and confirmation popup Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-999] fix the logic of setting the credentials after getting the VC data from storage Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-999] fix the MainBottomTabParamList import path in scan screen controller Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-990] add a job to set the client id and pass to reusable workflow (#1348) * [INJIMOB-990] add a job to set the client id and pass to reusable workflow Signed-off-by: adityankannan-tw * [INJIMOB-990] refactor output github env variable Signed-off-by: adityankannan-tw --------- Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-780]: Implemented Pop up for downloading VC failure scenario (#1365) * [INJIMOB-780]: Implemented Pop up for downloading VC failure scenario Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> * [INJIMOB-780] remove unused imports and constants Signed-off-by: srikanth716 --------- Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Signed-off-by: srikanth716 Co-authored-by: srikanth716 * [INJIMOB-854] [Data backup]: iCloud settings section in the Backup & Restore screen (#1369) * [INJIMOB-854]: Refactor package-lock and typegen Signed-off-by: Abhishek Paul [INJIMOB-854]: Refactor package-lock and typegen * [INJIMOB-854]: Changes for ios setup Signed-off-by: Abhishek Paul [INJIMOB-854]: Changes for ios setup Signed-off-by: Abhishek Paul [INJIMOB-854]: Changes for ios setup INJIMOB-854]: Changes for ios setup * [INJIMOB-854]: Refactor back up and restore Ios changes Signed-off-by: Abhishek Paul [INJIMOB-854]: Refactor back up and restore Ios changes * [INJIMOB-854]: Refactor package-lock and typegen Signed-off-by: Abhishek Paul * [INJIMOB-854]: Refactor typegen Signed-off-by: Abhishek Paul * [INJIMOB-854]: Refactor Backup and restore screen Signed-off-by: Abhishek Paul * [INJIMOB-854]: Refactor Backup and restore screen Signed-off-by: Abhishek Paul * [INJIMOB-854]: Refactor Backup and restore screen Signed-off-by: Abhishek Paul --------- Signed-off-by: Abhishek Paul Co-authored-by: Abhishek Paul * [INJIMOB-1158] modify text for remove wallet warning popup (#1371) Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1151] fix otp modal closing when resend otp is clicked (#1370) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * MOSIP-32204 stabilizing script for ios (#1374) * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * resolve conflict Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * incorprated changes Signed-off-by: Anup Nehe * INJIMOB-924 MOSIP-31927 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31874 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * MOSIP-31384 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * resolve conlifcts Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * updating to unblock deveops Signed-off-by: Anup Nehe * MOSIP-32267 MOSIP-32204 Signed-off-by: Anup Nehe * MOSIP-32204 Signed-off-by: Anup Nehe --------- Signed-off-by: Anup Nehe * [INJIMOB-932] - PixelPass implementation (#1373) * [INJIMOB-932] - pixelpass integration Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - add navigation to home and notification banner Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - update pixelpass version Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - revert testing changes Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - remove unsused imports Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - refactoring Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * added sepearte urls for mimoto and esignet (#1377) * [DSD-4749] Signed-off-by: bhumi46 * [DSD-4749] Signed-off-by: bhumi46 * [DSD-4749] Signed-off-by: bhumi46 * added seperate urls Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com> * Update ui-automation.yml Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com> --------- Signed-off-by: bhumi46 Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com> * [INJIMOB-842]: add Vc in the stacktrace of error event (#1378) * [INJIMOB-842]: add complete Vc in the stacktrace of error event occuring during credential verification Signed-off-by: Alka Prasad * [INJIMOB-842]: add complete Vc in the stacktrace only for debug build Signed-off-by: Alka Prasad --------- Signed-off-by: Alka Prasad * [INJIMOB-932] - revert quickshare implemantation (#1379) * [INJIMOB-932] - pixelpass integration Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - add navigation to home and notification banner Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - update pixelpass version Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - revert testing changes Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - remove unsused imports Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - revert quick share feature Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-932] - revert scan screen changes Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --------- Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-1168] - handle qr generation error of large VC (#1382) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [Injimob-1067] fix the search bar issues (#1380) * [INJIMOB-1067]: delete vc from VCS context when deleted from kebab popup Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-1067]: rename myVcs to myVcsMetadata and receievedVcs to receievedVcsMetadata Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067]: add seperate context variable to store myVcs and receivedVcs data Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067]: add check for tampered vcs and reeceived cards Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067] move tamperedVcs state into ready state in vcMetaMachine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067]: fix selector for tampered VCs Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-1067] pass myvcs and received vcs metadata to store to fetch their data from the file storage Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067] store tampered vcs list in vcMeta machine to check if it is downloaded or tampered vc Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067] remove unused actions in vcItem and vcMeta machines Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067] reset search bar input every time we come into myvcs tab screen and refresh the filtered list if one of the filtered vc is removed Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067] remove unnecessary remove vc from myvcs action in vcItemMachine as we are already refreshing the vcs when delete it Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1067] remoe unused context variable in vcMeta machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> * [INJIMOB-1162] fix bottom tab not showing in history screen (#1383) Signed-off-by: adityankannan-tw Co-authored-by: adityankannan-tw * [INJIMOB-925]: fix proper error messages for invalid id entered (#1385) * [INJIMOB-925]: fix proper error messages for invalid id entered Signed-off-by: srikanth716 * [INJIMOB-948]: fix introslider title for data backup restore Signed-off-by: srikanth716 * [INJIMOB-948]: update introslider title for Backup & Restore Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 * [INJIMOB-1163]: Fix log messages in history screen for VC sharing. (#1386) * [INJIMOB-1154]-text changes in en.json file related to activity log. Signed-off-by: Abhishek Paul * [INJIMOB-1154]-text changes in en.json file related to activity log. Signed-off-by: Abhishek Paul * [INJIMOB-1154]-text changes in .json files related to activity log. Signed-off-by: Abhishek Paul * [INJIMOB 1163] Refactor Scan Machine Signed-off-by: Abhishek Paul * [INJIMOB-1163] Fix Issue regarding the vclogs Signed-off-by: Abhishek Paul * [INJIMOB-1163] Refactor Utils.ts Signed-off-by: Abhishek Paul * [INJIMOB-1163] Resolve Conflicts Signed-off-by: Abhishek Paul --------- Signed-off-by: Abhishek Paul * [Injimob-946] fix download error issue which is coming when restoring the backed up VCs (#1388) * [INJIMOB-946] fetch vcs data first before fetching the metadata to avoid downloading errors Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-946] refactor the way of fetching the vcs metadata and data to reduce number of calls to storage Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOPB-946] fix the vcs selectors state values Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-946] show refresh loader in home screen when vcs are restored Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-785]: add location permission rational (#1376) * [INJIMOB-785]: add location permission rational Signed-off-by: srikanth716 * [INJIMOB-785]: Change naming convention of events and create a component for rational Signed-off-by: srikanth716 * [INJIMOB-785]: refactor location service rational Signed-off-by: srikanth716 --------- Signed-off-by: srikanth716 * [INJIMOB-1190] Change text for Qr Login Popup and translation files (#1389) Signed-off-by: Abhishek Paul * [INJIMOB-885] fix back button not being responsive (#1390) * [INJIMOB-885] fix back button not being responsive The modal's backbutton was overlapped by the header title which hinders the listening of press event in that area, for this reason to x-index is added to keep the back button on top Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-885] modify esignet host url Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1241] - use only vc to create QR (#1391) Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> * [INJIMOB-1247] When filtering the vcs data list filter and remove downloading vc's from this list to avoid the crash (#1392) * [INJIMOB-1247] filter and remove downloading vc's from vc data list when filtering the data based on search input Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * [INJIMOB-1247] remove target for download expired event in meta machine Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Signed-off-by: adityankannan-tw Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Signed-off-by: Swati Goel Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Signed-off-by: Harsh Vardhan Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Signed-off-by: srikanth716 Signed-off-by: Anup Nehe Signed-off-by: BalachandarG Signed-off-by: kamalsingh Signed-off-by: Alka Prasad Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Signed-off-by: Alka Signed-off-by: Alka Prasad Signed-off-by: Sri Kanth Kola Signed-off-by: bhumi46 Signed-off-by: Abhishek Paul Signed-off-by: bhumi46 <111699703+bhumi46@users.noreply.github.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com> Co-authored-by: adityankannan-tw Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com> Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com> Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: Harsh Vardhan Co-authored-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com> Co-authored-by: srikanth716 Co-authored-by: anup-nehe <117707464+anup-nehe@users.noreply.github.com> Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com> Co-authored-by: Srikanth Kola <97477121+srikanth716@users.noreply.github.com> Co-authored-by: kamalsinghthoughtworks <120381388+kamalsinghthoughtworks@users.noreply.github.com> Co-authored-by: Alka Prasad Co-authored-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com> Co-authored-by: bhumi46 <111699703+bhumi46@users.noreply.github.com> Co-authored-by: abhip2565 <74866247+abhip2565@users.noreply.github.com> Co-authored-by: Abhishek Paul --- .env | 2 +- .talismanrc | 46 +- components/MessageOverlay.tsx | 5 - components/QrCodeOverlay.tsx | 6 +- components/WalletBindingSuccessController.tsx | 6 +- components/ui/Header.tsx | 30 +- components/ui/Modal.tsx | 15 +- components/ui/backButton/BackButton.test.tsx | 11 + components/ui/backButton/BackButton.tsx | 33 ++ .../__snapshots__/BackButton.test.tsx.snap | 40 ++ ios/Inji/Info.plist | 25 +- ios/Inji/Inji.entitlements | 11 +- locales/ara.json | 20 +- locales/en.json | 20 +- locales/fil.json | 20 +- locales/hin.json | 22 +- locales/kan.json | 22 +- locales/tam.json | 22 +- .../VCMetaMachine/VCMetaActions.ts | 220 +++++++++ .../VCMetaMachine/VCMetaEvents.ts | 36 ++ .../VCMetaMachine/VCMetaGuards.ts | 11 + .../VCMetaMachine/VCMetaMachine.ts | 420 +----------------- .../VCMetaMachine/VCMetaMachine.typegen.ts | 47 +- .../VCMetaMachine/VCMetaModel.ts | 24 + .../VCMetaMachine/VCMetaSelectors.ts | 75 ++++ .../VCMetaMachine/VCMetaServices.ts | 9 + machines/bleShare/commonSelectors.ts | 4 + machines/bleShare/scan/scanMachine.ts | 46 +- machines/store.ts | 23 +- screens/Home/MyVcsTab.tsx | 43 +- screens/Home/MyVcsTabController.ts | 4 +- screens/Home/ReceivedVcsTabController.ts | 2 +- screens/Issuers/IssuersScreen.tsx | 19 - screens/QrLogin/QrLogin.tsx | 1 + screens/QrLogin/QrLoginController.ts | 2 +- screens/Scan/FaceVerificationAlertOverlay.tsx | 9 +- screens/Scan/LocationPermissionRational.tsx | 59 +++ screens/Scan/ScanScreen.tsx | 9 + screens/Scan/ScanScreenController.ts | 12 +- screens/Scan/SendVcScreenController.ts | 8 +- shared/location.ts | 25 -- shared/openId4VCI/Utils.ts | 2 +- 42 files changed, 811 insertions(+), 655 deletions(-) create mode 100644 components/ui/backButton/BackButton.test.tsx create mode 100644 components/ui/backButton/BackButton.tsx create mode 100644 components/ui/backButton/__snapshots__/BackButton.test.tsx.snap create mode 100644 machines/VerifiableCredential/VCMetaMachine/VCMetaActions.ts create mode 100644 machines/VerifiableCredential/VCMetaMachine/VCMetaEvents.ts create mode 100644 machines/VerifiableCredential/VCMetaMachine/VCMetaGuards.ts create mode 100644 machines/VerifiableCredential/VCMetaMachine/VCMetaModel.ts create mode 100644 machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors.ts create mode 100644 machines/VerifiableCredential/VCMetaMachine/VCMetaServices.ts create mode 100644 screens/Scan/LocationPermissionRational.tsx diff --git a/.env b/.env index c6eb448fb8..81d2e08330 100644 --- a/.env +++ b/.env @@ -4,7 +4,7 @@ #MIMOTO_HOST=http://mock.mimoto.newlogic.dev MIMOTO_HOST=https://api.qa-inji.mosip.net -ESIGNET_HOST=https://api.qa-inji.mosip.net +ESIGNET_HOST=https://esignet.qa-inji.mosip.net OBSRV_HOST = https://dataset-api.obsrv.mosip.net diff --git a/.talismanrc b/.talismanrc index 4f9758010e..75e4fd07cf 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,8 +1,8 @@ fileignoreconfig: - filename: package.json - checksum: 1fae2f064dd575e85fe18ff2cfdb07dd08fbda4e2e10b2ebba9532031e737942 + checksum: 730263252adbe53cde58fb0b6988e519e766fe0f89a7b8cd261a1e5e5e598328 - filename: package-lock.json - checksum: 38b89f9830e609a3db573ff7ba26ebd770bc18f87b0a0fbe411bc60fd40888df + checksum: 8e91542dfeba34460b4700c5b640fe6802cb1b38e1dbafd2ebcaac2fd9dbed36 - filename: lib/jsonld-signatures/suites/ed255192018/ed25519.ts checksum: 493b6e31144116cb612c24d98b97d8adcad5609c0a52c865a6847ced0a0ddc3a - filename: components/PasscodeVerify.tsx @@ -48,7 +48,7 @@ fileignoreconfig: - filename: ios/fastlane/Fastfile checksum: a4e3772dc67a07ecbcfc58be0d6d4f7fa799cec7ac25bd269ac29459c8669ca4 - filename: machines/bleShare/scan/scanMachine.ts - checksum: 5f4a183db610fe0ffe36e3e1129d67221535335e4a866341a5b8759228ddee15 + checksum: a514c958ca3da3c5b22a1a95ad680af8f05fb22638fab79b3842aa8fcc1b4a17 - filename: screens/PasscodeScreen.tsx checksum: 5d3003027b245234f8c00bfc98836f1fb90a5d9525ffacf61c53f3d50954aa6a - filename: screens/PasscodeScreen.tsx @@ -104,7 +104,7 @@ fileignoreconfig: - filename: injitest/src/test/java/androidTestCases/PinVcTest.java checksum: 6ec2787bee662ff158cbd7489d09ab131ab74484e42d7c5eba342e54898c891d - filename: injitest/src/test/java/androidTestCases/NoNetworkAndroidTest.java - checksum: 9d987a7422418f331960f897c1c10ca7e8209680b948eb8d7b48b0fe655e8659 + checksum: c300122d39af06f68ecd0b6dc287daa0370fc6b744072944ddcc7fe4ded79fb3 - filename: injitest/src/test/java/androidTestCases/CredentialRegistryTest.java checksum: 126ad4f513d5e417fdc3ccbace187315b8aae4399806d3259421f8bca7d41254 - filename: injitest/src/test/java/iosTestCases/NoNetworkIosTest.java @@ -138,7 +138,7 @@ fileignoreconfig: - filename: .github/workflows/ui-automation.yml checksum: 0b26a5dcb7524ba15d6aaeaf04f2ef94be9d25ef702d9072d6628bcd58e50f36 - filename: components/BannerNotificationContainer.tsx - checksum: dae3691fe5d7efffd592f9d79917cca5e699e5ddd1dc7a42b6ab0d69de594363 + checksum: a98ff1a0dd96d3ead4b8191320be8b0c7a558cda6b0de39f1c62aaa8efef9fb8 - filename: components/HelpScreen.tsx checksum: bbc69143bd37d065bba3800396301db5a0318e8b7ba51ecd49142dda68783a01 - filename: injitest/README.md @@ -146,7 +146,7 @@ fileignoreconfig: - filename: shared/VCMetadata.ts checksum: e93f988415bf91064e2cf5fbc09ff6c7226798baa5da721fa0715d5d0d6afddf - filename: ios/Podfile.lock - checksum: 406f220cd0fd4526951b3792d1403ec0fb701fbbd22a4d887b62e90b69b1e6d0 + checksum: c8f330a55ad911e59921215bf7d086db3dbdb5eab28202b3b450d780498ea880 - filename: components/BackupAndRestoreBannerNotification.tsx checksum: e465a9947727687d784d0cb9d8db1e28f765b0659bf4a3aa6d75643aa7b14102 - filename: components/ActivityLogEvent.ts @@ -160,7 +160,7 @@ fileignoreconfig: - filename: machines/backupAndRestore/backup.typegen.ts checksum: 65e671fb5a64611f00a8ca4ea0811fa0be145e8c7cc8b4fcfabbd8d882c29a96 - filename: machines/backupAndRestore/backupAndRestoreSetup.ts - checksum: 03767f9922526a765d62f8ac82a0ece12fcf7028400f64f492be6ee5daca72cd + checksum: 5fc57c926cf1b97bf3226ef30149d59ab3c5b437aad3315306b505dc6207d37d - filename: machines/backupAndRestore/backupAndRestoreSetup.typegen.ts checksum: b55be87b377515af3533c66ca23670c05032c3737adaaad2901f7c6d639b9519 - filename: injitest/src/main/resources/AidData.json @@ -174,7 +174,7 @@ fileignoreconfig: - filename: injitest/src/test/java/androidTestCases/ChangeLanguageTest.java checksum: c0234ddd85035f6c2cd62ba96a8a2b85da71f0752e9888130b9675bb6194bebe - filename: ios/Inji/Inji.entitlements - checksum: c8fe11447ecb82eb456686522f816487c2fa7428bc71eb7e86330317f409ba15 + checksum: b2d643f91a929933747b539b9d6a87fcac17317716dbb9ccfb399e7c53d8cd52 - filename: injitest/src/test/java/iosTestCases/ChangeLanguageTest.java checksum: d94cbf47726c3650b4b623e6aa76e113edf553616319450d01f05294163572e9 - filename: screens/Home/MyVcs/IdInputModal.tsx @@ -188,7 +188,7 @@ fileignoreconfig: - filename: screens/Home/IntroSlidersScreen.tsx checksum: 9880724461b194db7651737576ad2fd2db9cf3b4e732747f59be422a7ff4e4a1 - filename: .env - checksum: 9386b7d2d9bba27d8f15e6cb482451dc45b785b4caa31bc29718ef16967e6ed1 + checksum: e4254ca79a1269161ac3e9d4870680a8650ac7dbdf61c39c084722a9e8925669 - filename: machines/VCItemMachine/VCItemMachine.typegen.ts checksum: 850b5d02636bef9e286fc0fbc4ffffbd38068f332c319302a906496f4bc1c8a1 - filename: machines/VCItemMachine/VCItemEvents.ts @@ -224,7 +224,7 @@ fileignoreconfig: - filename: ios/Inji.xcodeproj/project.pbxproj checksum: 766e3dcb299f52ea75e87a1e6e7ce106872bb2f2481d54700995ca02b742b60f - filename: ios/Inji/Info.plist - checksum: 57705369faf52801876baf0d25a3cee690de2fd87927454689b13963408a8e92 + checksum: 9237e54ac8bbc0a4ad4c5d82ffe5b1ae4ccadfce6745f59cee1260c469212701 - filename: machines/backupAndRestore/backupRestore.ts checksum: 60a55a1d0ef6e79f7b9fa1e61ed31b933364afb429bff03cebbc56339c764499 - filename: machines/backupAndRestore/backupRestore.typegen.ts @@ -236,27 +236,15 @@ fileignoreconfig: - filename: machines/IssuersMachine.typegen.ts checksum: 959fef1e51f0f3d5b12933f7b362e96401fb776ab12f0d13c6e542918b2ff255 - filename: screens/Home/MyVcsTab.tsx - checksum: 2dd6ce0466bf3a371e4a3fcc5a7f35e6c71f1668ce1e0572e5aa7a2b1f00fd72 + checksum: 2b40abfa481b73834ec423242e77b20d725579e7323011f27cfd571ba013fe96 - filename: machines/store.ts - checksum: 1796f1f6ada745f7ae504beddfa4de95e3a87fdcc39364827aaf9feb80d93b62 + checksum: 12defe49a865358a5212d03de75d13877e7c5cb75f5038c96abd3726b36c18dc - filename: machines/store.typegen.ts checksum: 46f3a7c2d15ed03fc70e27ecae5a12c128011c49913b35cdb8edba12b1a999db - filename: machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.ts - checksum: 37428fb5be8a8ed9e49e69dcc62e8f029b3c7923b02a51549af36ca16b3050cc - - filename: machines/Issuers/IssuersMachine.ts - checksum: 1eb1e912ea76c88a8d477cce9742da59b5bb41a2a39cc1dc67c5bca240c1553b - - filename: machines/Issuers/IssuersEvents.ts - checksum: fd8c30e0cf43a784be883c9d79a3bff0d2bcd9075e937d225939040542998b10 - - filename: machines/Issuers/IssuersGuards.ts - checksum: d87b6f4277c4be68f1884efa5c73e1b1d02a1afaefb276417b95a312f599578a - - filename: machines/Issuers/IssuersActions.ts - checksum: 63cbedfbedbe3ef7d5553e44df04d105a8b171d23bf46d1d85daff45e54bcf78 - - filename: machines/Issuers/IssuersService.ts - checksum: ee7622a03c23705b4c4dea218ccbe6504a51a5a68170a9059a2cde3b4c6a9984 - - filename: .github/scripts/set-google-clientid.sh - checksum: 013ef3b43f50ba05e18c9c83e89cc366c3f0d8ed4d931ce7daa19a757880419b - - filename: components/QrCodeOverlay.tsx - checksum: b49a3f53dd4a522f8ce47f2af72ade33e337ddbd40068911458bb3ad54197b63 - - filename: screens/Issuers/CredentialTypeSelectionScreen.tsx - checksum: 144bbf59e86a89bf580ac7931645ca3eaed69a9409de36f6ce9f88a14091a9d3 + checksum: c80ba680932ae3af7d1238f4db0b3f5e12c343c79335f0cd235f40068bbc03cb + - filename: machines/VerifiableCredential/VCMetaMachine/VCMetaActions.ts + checksum: 528b2eb9640765896b25c3ac054d5b4015d9c1c255fb744308a766108d361c1d + - filename: machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors.ts + checksum: fdc3d7685b7a3ad764ef5259814e921887f4c4941b952a9c169ef030905ea956 version: "" diff --git a/components/MessageOverlay.tsx b/components/MessageOverlay.tsx index df43bdc3cd..706e8fa4b1 100644 --- a/components/MessageOverlay.tsx +++ b/components/MessageOverlay.tsx @@ -132,8 +132,3 @@ export interface VCSharingErrorStatusProps { title: string; message: string; } - -export interface VCSharingErrorStatusProps { - title: string; - message: string; -} diff --git a/components/QrCodeOverlay.tsx b/components/QrCodeOverlay.tsx index dd03b7a4ad..9bbd3a80c6 100644 --- a/components/QrCodeOverlay.tsx +++ b/components/QrCodeOverlay.tsx @@ -24,11 +24,7 @@ export const QrCodeOverlay: React.FC = props => { try { qrData = await RNSecureKeyStore.get(props.meta.id); } catch { - let qrDataJSON = { - verifiableCredential: props.verifiableCredential, - meta: props.meta, - }; - qrData = generateQRData(JSON.stringify(qrDataJSON)); + qrData = generateQRData(JSON.stringify(props.verifiableCredential)); await RNSecureKeyStore.set(props.meta.id, qrData, { accessible: ACCESSIBLE.ALWAYS_THIS_DEVICE_ONLY, }); diff --git a/components/WalletBindingSuccessController.tsx b/components/WalletBindingSuccessController.tsx index 318cf830f3..32dc335053 100644 --- a/components/WalletBindingSuccessController.tsx +++ b/components/WalletBindingSuccessController.tsx @@ -1,10 +1,8 @@ import {useContext} from 'react'; import {GlobalContext} from '../shared/GlobalContext'; import {useSelector} from '@xstate/react'; -import { - VcMetaEvents, - selectWalletBindingSuccess, -} from '../machines/VerifiableCredential/VCMetaMachine/VCMetaMachine'; +import {selectWalletBindingSuccess} from '../machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors'; +import {VcMetaEvents} from '../machines/VerifiableCredential/VCMetaMachine/VCMetaMachine'; export const UseWalletBindingSuccess = () => { const {appService} = useContext(GlobalContext); diff --git a/components/ui/Header.tsx b/components/ui/Header.tsx index b4a5a87a1b..d8814f46c1 100644 --- a/components/ui/Header.tsx +++ b/components/ui/Header.tsx @@ -1,9 +1,9 @@ import React from 'react'; -import {Text, TouchableOpacity, View, I18nManager} from 'react-native'; -import {Icon} from 'react-native-elements'; +import {Text, View} from 'react-native'; import {Column, Row} from './Layout'; import {Theme} from './styleUtils'; import testIDProps from '../../shared/commonUtil'; +import {BackButton} from './backButton/BackButton'; export const Header: React.FC = ({goBack, title, testID}) => { return ( @@ -18,31 +18,7 @@ export const Header: React.FC = ({goBack, title, testID}) => { marginBottom: 22, marginVertical: 16, }}> - - {I18nManager.isRTL ? ( - - ) : ( - - )} - + diff --git a/components/ui/Modal.tsx b/components/ui/Modal.tsx index 6a346b1119..3db17213b1 100644 --- a/components/ui/Modal.tsx +++ b/components/ui/Modal.tsx @@ -1,11 +1,12 @@ import React from 'react'; -import {I18nManager, Modal as RNModal, Pressable, View} from 'react-native'; +import {I18nManager, Modal as RNModal, View} from 'react-native'; import {Icon} from 'react-native-elements'; import {Column, Row, Text} from '.'; import {useSendVcScreen} from '../../screens/Scan/SendVcScreenController'; import {DeviceInfoList} from '../DeviceInfoList'; import {ElevationLevel, Theme} from './styleUtils'; import testIDProps from '../../shared/commonUtil'; +import {BackButton} from './backButton/BackButton'; export const Modal: React.FC = props => { const controller = useSendVcScreen(); @@ -29,16 +30,8 @@ export const Modal: React.FC = props => { color={Theme.Colors.Icon} /> ) : null} - {props.arrowLeft ? ( - - - + {props.arrowLeft && props.onDismiss ? ( + ) : null} { + it('should render the back button ', () => { + const backButtonTree = renderer.create(); + + expect(backButtonTree).toMatchSnapshot(); + }); +}); diff --git a/components/ui/backButton/BackButton.tsx b/components/ui/backButton/BackButton.tsx new file mode 100644 index 0000000000..87fc7c5739 --- /dev/null +++ b/components/ui/backButton/BackButton.tsx @@ -0,0 +1,33 @@ +import React from 'react'; +import {I18nManager, TouchableOpacity} from 'react-native'; +import {Icon} from 'react-native-elements'; +import testIDProps from '../../../shared/commonUtil'; +import {Theme} from '../styleUtils'; + +export const BackButton: React.FC = ( + props: BackButtonProps, +) => { + let containerStyle: object = Theme.Styles.backArrowContainer; + if (props.customIconStyle) + containerStyle = {...containerStyle, ...props.customIconStyle}; + return ( + + + + ); +}; + +interface BackButtonProps { + onPress: () => void; + customIconStyle?: object; +} diff --git a/components/ui/backButton/__snapshots__/BackButton.test.tsx.snap b/components/ui/backButton/__snapshots__/BackButton.test.tsx.snap new file mode 100644 index 0000000000..86a8f98809 --- /dev/null +++ b/components/ui/backButton/__snapshots__/BackButton.test.tsx.snap @@ -0,0 +1,40 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Back button test should render the back button 1`] = ` + +`; diff --git a/ios/Inji/Info.plist b/ios/Inji/Info.plist index ff3abcf808..86db36c1e0 100644 --- a/ios/Inji/Info.plist +++ b/ios/Inji/Info.plist @@ -56,14 +56,6 @@ NSAllowsArbitraryLoads - NSExceptionDomains - - localhost - - NSExceptionAllowsInsecureHTTPLoads - - - NSBluetoothAlwaysUsageDescription Bluetooth is used to allow sharing VCs with another device @@ -79,6 +71,23 @@ Allow $(PRODUCT_NAME) to access your location NSMicrophoneUsageDescription Allow $(PRODUCT_NAME) to access your microphone + UIAppFonts + + MaterialIcons.ttf + MaterialCommunityIcons.ttf + FontAwesome.ttf + FontAwesome.ttf + FontAwesome5_Regular.ttf + FontAwesome6_Brands.ttf + FontAwesome6_Solid.ttf + FontAwesome5_Brands.ttf + FontAwesome5_Solid.ttf + FontAwesome6_Regular.ttf + SimpleLineIcons.ttf + Entypo.ttf + Feather.ttf + AntDesign.ttf + UILaunchStoryboardName SplashScreen UIRequiredDeviceCapabilities diff --git a/ios/Inji/Inji.entitlements b/ios/Inji/Inji.entitlements index dadd59929c..9054d32d2f 100644 --- a/ios/Inji/Inji.entitlements +++ b/ios/Inji/Inji.entitlements @@ -9,16 +9,15 @@ Default com.apple.developer.icloud-container-identifiers - - iCloud.io.mosip.inji.wallet.mobileid - + com.apple.developer.icloud-services CloudDocuments + CloudKit com.apple.developer.ubiquity-container-identifiers - - iCloud.io.mosip.inji.wallet.mobileid - + + com.apple.developer.ubiquity-kvstore-identifier + $(TeamIdentifierPrefix)$(CFBundleIdentifier) diff --git a/locales/ara.json b/locales/ara.json index 6b75046f6a..d0982aae16 100644 --- a/locales/ara.json +++ b/locales/ara.json @@ -8,7 +8,7 @@ "VC_SHARED_WITH_VERIFICATION_CONSENT": "تم مشاركة {{idType}} {{id}} بالموافقة للتحقق من الحضور.", "VC_RECEIVED_WITH_PRESENCE_VERIFIED": "تم استلام {{idType}} {{id}} ونجح التحقق من الحضور.", "VC_RECEIVED_BUT_PRESENCE_VERIFICATION_FAILED": "تم استلام {{idType}} {{id}} ولكن فشل التحقق من الحضور.", - "PRESENCE_VERIFIED_AND_VC_SHARED": "نجح التحقق من الوجه وتم مشاركة {{idType}} {{id}}.", + "PRESENCE_VERIFIED_AND_VC_SHARED": "تم التحقق من الوجه بنجاح وتمت مشاركة {{idType}} {{id}}.", "PRESENCE_VERIFICATION_FAILED": "فشل التحقق من الوجه أثناء محاولة مشاركة {{idType}} {{id}}.", "QRLOGIN_SUCCESFULL": "نجح تسجيل الدخول باستخدام QR باستخدام {{idType}} {{id}}.", "WALLET_BINDING_SUCCESSFULL": "تم تفعيل {{idType}} {{id}} بنجاح.", @@ -57,7 +57,7 @@ "idType": "نوع الهوية", "id": "بطاقة تعريف", "qrCodeHeader": "رمز الاستجابة السريعة", - "nationalCard": "البطاقة الوطنية", + "nationalCard": "الهوية الوطنية", "insuranceCard": "بطاقة التأمين", "beneficiaryCard": "بطاقة المستفيد", "socialRegistryCard": "بطاقة السجل الاجتماعي", @@ -272,8 +272,8 @@ "backend": { "invalidOtp": "OTP غير صالح", "expiredOtp": "انتهت صلاحية كلمة المرور لمرة واحدة", - "invalidUin": "UIN غير صالح", - "invalidVid": "VID غير صالح", + "invalidUin": "الرجاء إدخال UIN صالح", + "invalidVid": "الرجاء إدخال VID صالح", "missingUin": "تم إلغاء تنشيط / حظر UIN الذي تم إدخاله. الرجاء إدخال UIN صالح للمتابعة", "missingVid": "VID غير متوفر في قاعدة البيانات", "noMessageAvailable": "حاول بعد فترةe", @@ -296,7 +296,7 @@ "applicationProcessing": "غير جاهز AID", "noMessageAvailable": "حاول بعد فترة", "networkRequestFailed": "فشل طلب الشبكة", - "invalidAid": "AID الذي تم إدخاله غير متوفر. يرجى التحقق من AID الخاص بك قبل الدخول", + "invalidAid": "الرجاء إدخال معرف صالح", "timeout": "نفذ الوقت" } } @@ -394,7 +394,7 @@ "stepThreeText": "قم بتخزين وحمل جميع بطاقاتك المهمة في محفظة واحدة موثوقة.", "stepFourTitle": "الوصول السريع", "stepFourText": "قم بالمصادقة على نفسك بسهولة باستخدام بيانات الاعتماد الرقمية المخزنة.", - "stepFiveTitle": "نسخ إحتياطي للبيانات", + "stepFiveTitle": "دعم & يعيد", "stepFiveText": "قم بحماية بياناتك بسهولة باستخدام النسخة الاحتياطية لدينا", "getStarted": "البدء", "goBack": "عُد", @@ -576,7 +576,9 @@ }, "ScanScreen": { "shareWithSelfie": "شارك مع صورة شخصية", + "shareWithSelfieQrLogin":"ريال قطري رمز الدخول", "shareWithSelfieMessage": "لمشاركة بيانات الاعتماد التي يمكن التحقق منها، سنتحقق من هويتك بشكل آمن باستخدام التحقق من الوجه. من خلال المتابعة، فإنك توافق على استخدام INJI للكاميرا الخاصة بك لهذا الغرض. \n\n سيتم استخدام بيانات وجهك فقط للتحقق ولن تتم مشاركتها مع أي طرف ثالث.", + "shareWithSelfieMessageQrLogin":"من أجل الوصول إلى البوابة، ستحتاج إلى مشاركة بيانات الاعتماد التي يمكن التحقق منها والتحقق من هويتك بشكل آمن باستخدام التحقق من الوجه. من خلال المتابعة، فإنك توافق على استخدام Inji للكاميرا الخاصة بك لهذا الغرض. \n\n سيتم استخدام بيانات وجهك فقط للتحقق ولن تتم مشاركتها. بعد التحقق بنجاح، يمكنك اختيار التفاصيل التي تريد مشاركتها.", "ConfirmButton": "أفهم", "doNotAskMessage": "لا تسألني مرة أخرى", "noShareableVcs": "لا تتوفر بطاقات قابلة للمشاركة", @@ -701,6 +703,12 @@ "captureSuccessMessage": "تم التحقق من الوجه بنجاح! يتم بدء مشاركة بيانات الاعتماد.", "captureFailureTitle": "فشل التحقق من الوجه!", "captureFailureMessage": "يرجى التأكد من أن وجهك مرئي بوضوح وحاول التقاط صورة شخصية مرة أخرى." + }, + "rational": { + "title": "قم بتشغيل موقعك", + "message": "يحتاج هذا التطبيق إلى موقعك للبحث عن الأنظمة القريبة لتلقي بياناتك.", + "accept": "نعم", + "cancel": "يلغي" } }, "SelectVcOverlay": { diff --git a/locales/en.json b/locales/en.json index 54fec1a752..a5a7c6d484 100644 --- a/locales/en.json +++ b/locales/en.json @@ -8,7 +8,7 @@ "VC_SHARED_WITH_VERIFICATION_CONSENT": "Shared {{idType}} {{id}} with consent for presence verification.", "VC_RECEIVED_WITH_PRESENCE_VERIFIED": "Received {{idType}} {{id}} and presence verification is successful.", "VC_RECEIVED_BUT_PRESENCE_VERIFICATION_FAILED": "Received {{idType}} {{id}} and presence verification failed.", - "PRESENCE_VERIFIED_AND_VC_SHARED": "Face verification is successful and {{idType}} {{id}} and shared.", + "PRESENCE_VERIFIED_AND_VC_SHARED": "Face verification is successful and {{idType}} {{id}} is shared.", "PRESENCE_VERIFICATION_FAILED": "Face verification has failed while trying to share {{idType}} {{id}}.", "QRLOGIN_SUCCESFULL": "QRLogin using {{idType}} {{id}} is successful.", "WALLET_BINDING_SUCCESSFULL": "Activation of {{idType}} {{id}} is successful.", @@ -57,7 +57,7 @@ "idType": "ID Type", "id": "ID", "qrCodeHeader": "QR Code", - "nationalCard": "National Card", + "nationalCard": "National ID", "insuranceCard": "Insurance Card", "beneficiaryCard": "Beneficiary Card", "socialRegistryCard": "Social Registry Card", @@ -273,8 +273,8 @@ "backend": { "invalidOtp": "OTP is invalid", "expiredOtp": "OTP has expired", - "invalidUin": "UIN invalid", - "invalidVid": "VID invalid", + "invalidUin": "Please enter valid UIN", + "invalidVid": "Please enter valid VID", "missingUin": "The entered UIN is deactivated/blocked. Please enter a valid UIN to proceed", "missingVid": "VID not available in database", "noMessageAvailable": "Try after sometime", @@ -297,7 +297,7 @@ "applicationProcessing": "AID is not ready yet", "noMessageAvailable": "Try after sometime", "networkRequestFailed": "Network request failed", - "invalidAid": "AID entered is not available. Please check your AID before entering", + "invalidAid": "Please enter valid AID", "timeout": "Timeout" } } @@ -395,7 +395,7 @@ "stepThreeText": "Store and carry all your important cards in a single trusted wallet.", "stepFourTitle": "Quick Access", "stepFourText": "Authenticate yourself with ease using the stored digital credential.", - "stepFiveTitle": "Backup Data", + "stepFiveTitle": "Backup & Restore", "stepFiveText": "Protect your data with ease using our Backup & Restore feature. Safely store your VCs against loss or accidents by creating regular backups and recover it effortlessly whenever needed for seamless continuity.", "getStarted": "Get Started", "goBack": "Go Back", @@ -580,7 +580,9 @@ }, "ScanScreen": { "shareWithSelfie": "Share with Selfie", + "shareWithSelfieQrLogin":"QR Code Login", "shareWithSelfieMessage": "To share your Verifiable Credentials, we’ll securely verify your identity using face verification. By continuing, you consent to INJI using your camera for this purpose. \n\n Your facial data will only be used for verification and will not be shared with any third parties.", + "shareWithSelfieMessageQrLogin":"In order to access the portal, you’ll need to share your Verifiable Credentials and verify your identity securely using face verification. By continuing, you consent to Inji using your camera for this purpose. \n\n Your facial data will only be used for verification and will not be shared. After successful verification, you can choose which details to share.", "ConfirmButton": "I Understand", "doNotAskMessage": "Don't ask me again", "noShareableVcs": "No shareable cards are available.", @@ -709,6 +711,12 @@ "captureSuccessMessage": "Face Verification is successful! Credential sharing is initiated.", "captureFailureTitle": "Face verification failed!", "captureFailureMessage": "Please ensure that your face is clearly visible and try taking selfie again." + }, + "rational": { + "title": "Turn on your location", + "message": "This app needs your location to search for nearby systems to receive your data.", + "accept": "OK", + "cancel": "Cancel" } }, "SelectVcOverlay": { diff --git a/locales/fil.json b/locales/fil.json index 3471c58960..c3da463b73 100644 --- a/locales/fil.json +++ b/locales/fil.json @@ -8,7 +8,7 @@ "VC_SHARED_WITH_VERIFICATION_CONSENT": "Ibinahagi ang {{idType}} {{id}} na may pahintulot para sa pag-verify ng presensya.", "VC_RECEIVED_WITH_PRESENCE_VERIFIED": "Natanggap ang {{idType}} {{id}} at matagumpay ang pag-verify ng presensya.", "VC_RECEIVED_BUT_PRESENCE_VERIFICATION_FAILED": "Natanggap ang {{idType}} {{id}} at nabigo ang pag-verify ng presensya.", - "PRESENCE_VERIFIED_AND_VC_SHARED": "Ang pag-verify ng mukha ay matagumpay at {{idType}} {{id}} at ibinahagi.", + "PRESENCE_VERIFIED_AND_VC_SHARED": "Matagumpay ang pag-verify ng mukha at ibinahagi ang {{idType}} {{id}}.", "PRESENCE_VERIFICATION_FAILED": "Nabigo ang pag-verify ng mukha habang sinusubukang ibahagi ang {{idType}} {{id}}.", "QRLOGIN_SUCCESFULL": "Ang QRlogin gamit ang {{idType}} {{id}} ay matagumpay.", "WALLET_BINDING_SUCCESSFULL": "Ang pag-activate ng {{idType}} {{id}} ay matagumpay.", @@ -57,7 +57,7 @@ "idType": "Uri ng ID", "id": "Id", "qrCodeHeader": "QR Code", - "nationalCard": "Pambansang Kard", + "nationalCard": "Pambansang ID", "insuranceCard": "Insurance Card", "beneficiaryCard": "Benepisyaryo Card", "socialRegistryCard": "Social Registry Card", @@ -272,8 +272,8 @@ "backend": { "invalidOtp": "Di-wasto ang OTP", "expiredOtp": "Nag-expire na ang OTP", - "invalidUin": "Di-wastong UIN", - "invalidVid": "Di-wastong VID", + "invalidUin": "Mangyaring magpasok ng wastong UIN", + "invalidVid": "Mangyaring maglagay ng wastong VID", "missingUin": "Ang ipinasok na UIN ay na-deactivate/na-block. Mangyaring magpasok ng wastong UIN upang magpatuloy", "missingVid": "Hindi mahanap ang iyong VID", "noMessageAvailable": "Subukan pagkatapos ng ilang oras", @@ -296,7 +296,7 @@ "applicationProcessing": "Hindi pa handa ang AID", "noMessageAvailable": "Subukan pagkatapos ng ilang oras", "networkRequestFailed": "Nabigo ang kahilingan sa network", - "invalidAid": "Hindi available ang ipinasok na AID. Pakisuri ang iyong AID bago pumasok", + "invalidAid": "Mangyaring maglagay ng wastong AID", "timeout": "timeout" } } @@ -394,7 +394,7 @@ "stepThreeText": "Itabi at dalhin ang lahat ng iyong mahahalagang card sa isang pinagkakatiwalaang wallet.", "stepFourTitle": "Mabilis na pagpasok", "stepFourText": "I-authenticate ang iyong sarili nang madali gamit ang nakaimbak na digital na kredensyal.", - "stepFiveTitle": "Backup na Data", + "stepFiveTitle": "Backup & Ibalik", "stepFiveText": "Protektahan ang iyong data nang madali gamit ang aming Backup", "getStarted": "Magsimula", "goBack": "Bumalik ka", @@ -575,7 +575,9 @@ }, "ScanScreen": { "shareWithSelfie": "Ibahagi sa Selfie", + "shareWithSelfieQrLogin":"Pag-login sa QR Code", "shareWithSelfieMessage": "Para ibahagi ang iyong Mga Nabe-verify na Kredensyal, secure naming ive-verify ang iyong pagkakakilanlan gamit ang pag-verify sa mukha. Sa pagpapatuloy, pumapayag ka sa INJI na gamitin ang iyong camera para sa layuning ito. \n\n Gagamitin lang ang iyong facial data para sa pag-verify at hindi ibabahagi sa anumang third party.", + "shareWithSelfieMessageQrLogin":"Upang ma-access ang portal, kakailanganin mong ibahagi ang iyong Mga Na-verify na Kredensyal at secure na i-verify ang iyong pagkakakilanlan gamit ang pag-verify sa mukha. Sa pagpapatuloy, pumapayag ka sa Inji na gamitin ang iyong camera para sa layuning ito. \n\n Gagamitin lang ang iyong facial data para sa pag-verify at hindi ibabahagi. Pagkatapos ng matagumpay na pag-verify, maaari mong piliin kung aling mga detalye ang ibabahagi.", "ConfirmButton": "Naiintindihan ko", "doNotAskMessage": "Huwag mo na akong tanungin", "noShareableVcs": "Walang magagamit na mga card na maibabahagi.", @@ -700,6 +702,12 @@ "captureSuccessMessage": "Matagumpay ang Face Verification! Sinisimulan ang pagbabahagi ng kredensyal.", "captureFailureTitle": "Nabigo ang pag-verify ng mukha!", "captureFailureMessage": "Pakitiyak na malinaw na nakikita ang iyong mukha at subukang mag-selfie muli." + }, + "rational": { + "title": "I-on ang iyong lokasyon", + "message": "Kailangan ng app na ito ang iyong lokasyon upang maghanap ng mga kalapit na system upang matanggap ang iyong data.", + "accept": "OK", + "cancel": "Kanselahin" } }, "SelectVcOverlay": { diff --git a/locales/hin.json b/locales/hin.json index f8722b61ea..b069d67e2f 100644 --- a/locales/hin.json +++ b/locales/hin.json @@ -8,8 +8,8 @@ "VC_SHARED_WITH_VERIFICATION_CONSENT": "उपस्थिति सत्यापन के लिए सहमति के साथ {{idType}} {{id}} साझा किया गया।", "VC_RECEIVED_WITH_PRESENCE_VERIFIED": "{{idType}} {{id}} प्राप्त किया गया और उपस्थिति सत्यापन सफल रहा।", "VC_RECEIVED_BUT_PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} प्राप्त हुआ लेकिन उपस्थिति सत्यापन विफल रहा।", - "PRESENCE_VERIFIED_AND_VC_SHARED": "चेहरा सत्यापन सफल रहा और {{idType}} {{id}} साझा कर दिया गया।", - "PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} को साझा करने का प्रयास करते समय चेहरा सत्यापन विफल हो गया।", + "PRESENCE_VERIFIED_AND_VC_SHARED": "चेहरे का सत्यापन सफल है और {{idType}} {{id}} साझा किया गया है।", + "PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} साझा करने का प्रयास करते समय चेहरे का सत्यापन विफल हो गया है।", "QRLOGIN_SUCCESFULL": "{{idType}} {{id}} का उपयोग करके QRLogin सफल रहा।", "WALLET_BINDING_SUCCESSFULL": "{{idType}} {{id}} का सक्रियण सफल रहा।", "WALLET_BINDING_FAILURE": "{{idType}} {{id}} का सक्रियण विफल हो गया।", @@ -57,7 +57,7 @@ "idType": "पहचान का प्रकार", "id": "पहचान", "qrCodeHeader": "क्यू आर संहिता", - "nationalCard": "राष्ट्रीय कार्ड", + "nationalCard": "राष्ट्रीय पहचान पत्र", "insuranceCard": "बीमा कार्ड", "beneficiaryCard": "लाभार्थी कार्ड", "socialRegistryCard": "सामाजिक रजिस्ट्री कार्ड", @@ -273,8 +273,8 @@ "backend": { "invalidOtp": "OTP अमान्य है", "expiredOtp": "ओटीपी समाप्त हो गया है", - "invalidUin": "UIN अमान्य", - "invalidVid": "VID अमान्य", + "invalidUin": "कृपया वैध यूआईएन दर्ज करें", + "invalidVid": "कृपया वैध वीआईडी ​​दर्ज करें", "missingUin": "दर्ज किया गया UIN निष्क्रिय/अवरुद्ध है। आगे बढ़ने के लिए कृपया एक वैध UIN दर्ज करें", "missingVid": "VID वीआईडी ​​डेटाबेस में उपलब्ध नहीं है", "noMessageAvailable": "कुछ देर बाद कोशिश करें", @@ -297,7 +297,7 @@ "applicationProcessing": "AID तैयार नहीं है", "noMessageAvailable": "कुछ देर बाद कोशिश करें", "networkRequestFailed": "नेटवर्क अनुरोध विफल रहा", - "invalidAid": "दर्ज सहायता उपलब्ध नहीं है। प्रवेश करने से पहले कृपया अपने सहायता की जाँच करें", + "invalidAid": "कृपया वैध सहायता दर्ज करें", "timeOut": "समय समाप्त" } } @@ -396,7 +396,7 @@ "stepThreeText": "अपने सभी महत्वपूर्ण कार्डों को एक ही विश्वसनीय वॉलेट में रखें और रखें।", "stepFourTitle": "त्वरित ऐक्सेस", "stepFourText": "संग्रहीत डिजिटल क्रेडेंशियल का उपयोग करके आसानी से स्वयं को प्रमाणित करें।", - "stepFiveTitle": "बैकअप डेटा", + "stepFiveTitle": "बैकअप & पुनर्स्थापित करना", "stepFiveText": "हमारे बैकअप का उपयोग करके आसानी से अपने डेटा को सुरक्षित रखें", "getStarted": "शुरू हो जाओ", "goBack": "वापस जाओ", @@ -578,7 +578,9 @@ }, "ScanScreen": { "shareWithSelfie": "सेल्फी के साथ साझा करें", + "shareWithSelfieQrLogin":"क्यूआर कोड लॉगिन", "shareWithSelfieMessage": "आपके सत्यापन योग्य क्रेडेंशियल साझा करने के लिए, हम चेहरे के सत्यापन का उपयोग करके आपकी पहचान को सुरक्षित रूप से सत्यापित करेंगे। जारी रखकर, आप इस उद्देश्य के लिए INJI को अपने कैमरे का उपयोग करने की सहमति देते हैं। \n\n आपके चेहरे का डेटा केवल सत्यापन के लिए उपयोग किया जाएगा और किसी तीसरे पक्ष के साथ साझा नहीं किया जाएगा।", + "shareWithSelfieMessageQrLogin":"Iपोर्टल तक पहुंचने के लिए, आपको अपने सत्यापन योग्य क्रेडेंशियल साझा करने और चेहरे के सत्यापन का उपयोग करके अपनी पहचान को सुरक्षित रूप से सत्यापित करने की आवश्यकता होगी। जारी रखकर, आप इंजी को इस उद्देश्य के लिए अपने कैमरे का उपयोग करने के लिए सहमति देते हैं। \n\n आपके चेहरे का डेटा केवल सत्यापन के लिए उपयोग किया जाएगा और साझा नहीं किया जाएगा। सफल सत्यापन के बाद, आप चुन सकते हैं कि कौन सा विवरण साझा करना है।", "ConfirmButton": "मैं समझता हूँ", "doNotAskMessage": "मुझसे दोबारा मत पूछना", "noShareableVcs": "कोई साझा करने योग्य कार्ड उपलब्ध नहीं हैं।", @@ -703,6 +705,12 @@ "captureSuccessMessage": "चेहरा सत्यापन सफल है! क्रेडेंशियल शेयरिंग शुरू की गई है.", "captureFailureTitle": "चेहरे का सत्यापन विफल!", "captureFailureMessage": "कृपया सुनिश्चित करें कि आपका चेहरा स्पष्ट रूप से दिखाई दे रहा है और फिर से सेल्फी लेने का प्रयास करें।" + }, + "rational": { + "title": "अपना स्थान चालू करें", + "message": "इस ऐप को आपका डेटा प्राप्त करने के लिए आस-पास के सिस्टम की खोज करने के लिए आपके स्थान की आवश्यकता है।", + "accept": "ठीक है", + "cancel": "रद्द करना" } }, "SelectVcOverlay": { diff --git a/locales/kan.json b/locales/kan.json index 4f9a710b99..682e280d04 100644 --- a/locales/kan.json +++ b/locales/kan.json @@ -8,8 +8,8 @@ "VC_SHARED_WITH_VERIFICATION_CONSENT": "ಹಾಜರಿ ಪರಿಶೀಲನೆಗಾಗಿ {{idType}} {{id}} ಅನುಮತಿಯೊಂದಿಗೆ ಹಂಚಲಾಗಿದೆ.", "VC_RECEIVED_WITH_PRESENCE_VERIFIED": "{{idType}} {{id}} ಸ್ವೀಕರಿಸಲಾಗಿದೆ ಮತ್ತು ಹಾಜರಿ ಪರಿಶೀಲನೆ ಯಶಸ್ವಿಯಾಗಿದೆ.", "VC_RECEIVED_BUT_PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} ಸ್ವೀಕರಿಸಲಾಗಿದೆ ಆದರೆ ಹಾಜರಿ ಪರಿಶೀಲನೆ ವಿಫಲವಾಗಿದೆ.", - "PRESENCE_VERIFIED_AND_VC_SHARED": "ಮುಖ ಪರಿಶೀಲನೆ ಯಶಸ್ವಿಯಾಗಿದೆ ಮತ್ತು {{idType}} {{id}} ಹಂಚಲಾಗಿದೆ.", - "PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} ಹಂಚಿಕೊಳ್ಳಲು ಪ್ರಯತ್ನಿಸುವಾಗ ಮುಖ ಪರಿಶೀಲನೆ ವಿಫಲವಾಗಿದೆ.", + "PRESENCE_VERIFIED_AND_VC_SHARED": "ಮುಖ ಪರಿಶೀಲನೆ ಯಶಸ್ವಿಯಾಗಿದೆ ಮತ್ತು {{idType}} {{id}} ಅನ್ನು ಹಂಚಿಕೊಳ್ಳಲಾಗಿದೆ.", + "PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} ಅನ್ನು ಹಂಚಿಕೊಳ್ಳಲು ಪ್ರಯತ್ನಿಸುವಾಗ ಮುಖ ಪರಿಶೀಲನೆ ವಿಫಲವಾಗಿದೆ.", "QRLOGIN_SUCCESFULL": "{{idType}} {{id}} ಬಳಸಿ QRಲಾಗಿನ್ ಯಶಸ್ವಿಯಾಗಿದೆ.", "WALLET_BINDING_SUCCESSFULL": "{{idType}} {{id}} ಸಕ್ರಿಯಗೊಳಿಸುವಿಕೆ ಯಶಸ್ವಿಯಾಗಿದೆ.", "WALLET_BINDING_FAILURE": "{{idType}} {{id}} ಸಕ್ರಿಯಗೊಳಿಸುವಿಕೆ ವಿಫಲವಾಗಿದೆ.", @@ -57,7 +57,7 @@ "idType": "ಐಡಿಟೈಪ್", "id": "ಐಡಿ", "qrCodeHeader": "QR ಕೋಡ್", - "nationalCard": "ರಾಷ್ಟ್ರೀಯ ಕಾರ್ಡ್", + "nationalCard": "ರಾಷ್ಟ್ರೀಯ ಗುರುತು", "insuranceCard": "ವಿಮಾ ಕಾರ್ಡ್", "beneficiaryCard": "ಫಲಾನುಭವಿ ಕಾರ್ಡ್", "socialRegistryCard": "ಸಾಮಾಜಿಕ ನೋಂದಣಿ ಕಾರ್ಡ್", @@ -272,8 +272,8 @@ "backend": { "invalidOtp": "OTP ಅಮಾನ್ಯವಾಗಿದೆ", "expiredOtp": "OTP ಅವಧಿ ಮುಗಿದಿದೆ", - "invalidUin": "UIN ಅಮಾನ್ಯವಾಗಿದೆ", - "invalidVid": "VIDಅಮಾನ್ಯವಾಗಿದೆ", + "invalidUin": "ದಯವಿಟ್ಟು ಮಾನ್ಯ UIN ನಮೂದಿಸಿ", + "invalidVid": "ದಯವಿಟ್ಟು ಮಾನ್ಯವಾದ VID ಅನ್ನು ನಮೂದಿಸಿ", "missingUin": "ನಮೂದಿಸಿದ UIN ಅನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ/ನಿರ್ಬಂಧಿಸಲಾಗಿದೆ. ಮುಂದುವರಿಯಲು ದಯವಿಟ್ಟು ಮಾನ್ಯವಾದ UIN ಅನ್ನು ನಮೂದಿಸಿ", "missingVid": "VIDಡೇಟಾಬೇಸ್‌ನಲ್ಲಿ ಲಭ್ಯವಿಲ್ಲ", "noMessageAvailable": "ಸ್ವಲ್ಪ ಸಮಯದ ನಂತರ ಪ್ರಯತ್ನಿಸಿ", @@ -296,7 +296,7 @@ "applicationProcessing": "AID ಸಿದ್ಧವಾಗಿಲ್ಲ", "noMessageAvailable": "ಸ್ವಲ್ಪ ಸಮಯದ ನಂತರ ಪ್ರಯತ್ನಿಸಿ", "networkRequestFailed": "ನೆಟ್‌ವರ್ಕ್ ವಿನಂತಿ ವಿಫಲವಾಗಿದೆ", - "invalidAid": "ನಮೂದಿಸಿದ AID ಲಭ್ಯವಿಲ್ಲ. ಪ್ರವೇಶಿಸುವ ಮೊದಲು ದಯವಿಟ್ಟು ನಿಮ್ಮ AID ಅನ್ನು ಪರಿಶೀಲಿಸಿ", + "invalidAid": "ದಯವಿಟ್ಟು ಮಾನ್ಯವಾದ AID ಅನ್ನು ನಮೂದಿಸಿ", "timeout": "ಸಮಯ ಮೀರಿದೆ" } } @@ -394,7 +394,7 @@ "stepThreeText": "ನಿಮ್ಮ ಎಲ್ಲಾ ಪ್ರಮುಖ ಕಾರ್ಡ್‌ಗಳನ್ನು ಒಂದೇ ವಿಶ್ವಾಸಾರ್ಹ ವ್ಯಾಲೆಟ್‌ನಲ್ಲಿ ಸಂಗ್ರಹಿಸಿ ಮತ್ತು ಒಯ್ಯಿರಿ.", "stepFourTitle": "ತ್ವರಿತ ಪ್ರವೇಶ", "stepFourText": "ಸಂಗ್ರಹಿಸಿದ ಡಿಜಿಟಲ್ ರುಜುವಾತುಗಳನ್ನು ಬಳಸಿಕೊಂಡು ಸುಲಭವಾಗಿ ನಿಮ್ಮನ್ನು ದೃಢೀಕರಿಸಿ.", - "stepFiveTitle": "ಬ್ಯಾಕಪ್ ಡೇಟಾ", + "stepFiveTitle": "ಬ್ಯಾಕಪ್ & ಮರುಸ್ಥಾಪಿಸಿ", "stepFiveText": "ನಮ್ಮ ಬ್ಯಾಕಪ್ ಅನ್ನು ಬಳಸಿಕೊಂಡು ನಿಮ್ಮ ಡೇಟಾವನ್ನು ಸುಲಭವಾಗಿ ರಕ್ಷಿಸಿ", "getStarted": "ಪ್ರಾರಂಭಿಸಿ", "goBack": "ಹಿಂದೆ ಹೋಗು", @@ -576,7 +576,9 @@ }, "ScanScreen": { "shareWithSelfie": "ಸೆಲ್ಫಿಯೊಂದಿಗೆ ಹಂಚಿಕೊಳ್ಳಿ", + "shareWithSelfieQrLogin":"QR ಕೋಡ್ ಲಾಗಿನ್", "shareWithSelfieMessage": "ನಿಮ್ಮ ಪರಿಶೀಲಿಸಬಹುದಾದ ರುಜುವಾತುಗಳನ್ನು ಹಂಚಿಕೊಳ್ಳಲು, ಮುಖ ಪರಿಶೀಲನೆಯನ್ನು ಬಳಸಿಕೊಂಡು ನಿಮ್ಮ ಗುರುತನ್ನು ನಾವು ಸುರಕ್ಷಿತವಾಗಿ ಪರಿಶೀಲಿಸುತ್ತೇವೆ. ಮುಂದುವರಿಸುವ ಮೂಲಕ, ಈ ಉದ್ದೇಶಕ್ಕಾಗಿ ನಿಮ್ಮ ಕ್ಯಾಮರಾವನ್ನು ಬಳಸಲು INJI ಗೆ ನೀವು ಸಮ್ಮತಿಸುತ್ತೀರಿ. \n\n ನಿಮ್ಮ ಮುಖದ ಡೇಟಾವನ್ನು ಪರಿಶೀಲನೆಗಾಗಿ ಮಾತ್ರ ಬಳಸಲಾಗುತ್ತದೆ ಮತ್ತು ಯಾವುದೇ ಮೂರನೇ ವ್ಯಕ್ತಿಗಳೊಂದಿಗೆ ಹಂಚಿಕೊಳ್ಳಲಾಗುವುದಿಲ್ಲ.", + "shareWithSelfieMessageQrLogin":"ಪೋರ್ಟಲ್ ಅನ್ನು ಪ್ರವೇಶಿಸಲು, ನೀವು ನಿಮ್ಮ ಪರಿಶೀಲಿಸಬಹುದಾದ ರುಜುವಾತುಗಳನ್ನು ಹಂಚಿಕೊಳ್ಳಬೇಕು ಮತ್ತು ಮುಖ ಪರಿಶೀಲನೆಯನ್ನು ಬಳಸಿಕೊಂಡು ನಿಮ್ಮ ಗುರುತನ್ನು ಸುರಕ್ಷಿತವಾಗಿ ಪರಿಶೀಲಿಸಬೇಕು. ಮುಂದುವರಿಯುವ ಮೂಲಕ, ಈ ಉದ್ದೇಶಕ್ಕಾಗಿ ನಿಮ್ಮ ಕ್ಯಾಮರಾವನ್ನು ಬಳಸಲು ನೀವು ಇಂಜಿಗೆ ಸಮ್ಮತಿಸುತ್ತೀರಿ. \n\n ನಿಮ್ಮ ಮುಖದ ಡೇಟಾವನ್ನು ಪರಿಶೀಲನೆಗಾಗಿ ಮಾತ್ರ ಬಳಸಲಾಗುತ್ತದೆ ಮತ್ತು ಹಂಚಿಕೊಳ್ಳಲಾಗುವುದಿಲ್ಲ. ಯಶಸ್ವಿ ಪರಿಶೀಲನೆಯ ನಂತರ, ಯಾವ ವಿವರಗಳನ್ನು ಹಂಚಿಕೊಳ್ಳಬೇಕೆಂದು ನೀವು ಆಯ್ಕೆ ಮಾಡಬಹುದು.", "ConfirmButton": "ನಾನು ಅರ್ಥಮಾಡಿಕೊಂಡಿದ್ದೇನೆ", "doNotAskMessage": "ಅಂತ ಮತ್ತೆ ಕೇಳಬೇಡ", "noShareableVcs": "ಹಂಚಿಕೊಳ್ಳಬಹುದಾದ ಯಾವುದೇ ಕಾರ್ಡ್‌ಗಳು ಲಭ್ಯವಿಲ್ಲ.", @@ -701,6 +703,12 @@ "captureSuccessMessage": "ಮುಖ ಪರಿಶೀಲನೆ ಯಶಸ್ವಿಯಾಗಿದೆ! ರುಜುವಾತು ಹಂಚಿಕೆಯನ್ನು ಪ್ರಾರಂಭಿಸಲಾಗಿದೆ.", "captureFailureTitle": "ಮುಖ ಪರಿಶೀಲನೆ ವಿಫಲವಾಗಿದೆ!", "captureFailureMessage": "ನಿಮ್ಮ ಮುಖವು ಸ್ಪಷ್ಟವಾಗಿ ಗೋಚರಿಸುತ್ತಿದೆಯೇ ಎಂಬುದನ್ನು ಖಚಿತಪಡಿಸಿಕೊಳ್ಳಿ ಮತ್ತು ಮತ್ತೊಮ್ಮೆ ಸೆಲ್ಫಿ ತೆಗೆದುಕೊಳ್ಳಲು ಪ್ರಯತ್ನಿಸಿ." + }, + "rational": { + "title": "ನಿಮ್ಮ ಸ್ಥಳವನ್ನು ಆನ್ ಮಾಡಿ", + "message": "ನಿಮ್ಮ ಡೇಟಾವನ್ನು ಸ್ವೀಕರಿಸಲು ಹತ್ತಿರದ ಸಿಸ್ಟಂಗಳನ್ನು ಹುಡುಕಲು ಈ ಅಪ್ಲಿಕೇಶನ್‌ಗೆ ನಿಮ್ಮ ಸ್ಥಳದ ಅಗತ್ಯವಿದೆ.", + "accept": "ಸರಿ", + "cancel": "ರದ್ದುಮಾಡು" } }, "SelectVcOverlay": { diff --git a/locales/tam.json b/locales/tam.json index f36b7e4e2c..ca8ec59b37 100644 --- a/locales/tam.json +++ b/locales/tam.json @@ -8,8 +8,8 @@ "VC_SHARED_WITH_VERIFICATION_CONSENT": " {{idType}} {{id}} ஐ சரிபார்ப்புக்காக அனுமதியுடன் பகிரப்பட்டது.", "VC_RECEIVED_WITH_PRESENCE_VERIFIED": "{{idType}} {{id}} பெறப்பட்டது மற்றும் இருப்புச் சரிபார்ப்பு வெற்றிகரமானது.", "VC_RECEIVED_BUT_PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} பெறப்பட்டது, ஆனால் இருப்புச் சரிபார்ப்பு தோல்வியடைந்தது.", - "PRESENCE_VERIFIED_AND_VC_SHARED": "முகச் சரிபார்ப்பு வெற்றிகரமானது மற்றும் {{idType}} {{id}} பகிரப்பட்டது.", - "PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}} ஐ பகிர முயற்சிக்கும் போது முகச் சரிபார்ப்பு தோல்வியடைந்தது.", + "PRESENCE_VERIFIED_AND_VC_SHARED": "முகம் சரிபார்ப்பு வெற்றிகரமாக உள்ளது மற்றும் {{idType}} {{id}} பகிரப்பட்டது.", + "PRESENCE_VERIFICATION_FAILED": "{{idType}} {{id}}ஐப் பகிர முயற்சிக்கும் போது முகம் சரிபார்ப்பு தோல்வியடைந்தது.", "QRLOGIN_SUCCESFULL": "{{idType}} {{id}} ஐப் பயன்படுத்தி QRLogin வெற்றிகரமானது.", "WALLET_BINDING_SUCCESSFULL": "{{idType}} {{id}} செயல்படுத்தல் வெற்றிகரமானது.", "WALLET_BINDING_FAILURE": "{{idType}} {{id}} செயல்படுத்தல் தோல்வியடைந்தது.", @@ -57,7 +57,7 @@ "idType": "ஐடி வகை", "id": "ஐடி", "qrCodeHeader": "க்யு ஆர் குறியீடு", - "nationalCard": "தேசிய அட்டை", + "nationalCard": "தேசிய ஐடி", "insuranceCard": "காப்பீட்டு அட்டை", "beneficiaryCard": "பயனாளி அட்டை", "socialRegistryCard": "சமூக பதிவு அட்டை", @@ -272,8 +272,8 @@ "backend": { "invalidOtp": "OTP தவறானது", "expiredOtp": "OTP காலாவதியானது", - "invalidUin": "UIN தவறானது", - "invalidVid": "VID தவறானது", + "invalidUin": "சரியான UIN ஐ உள்ளிடவும்", + "invalidVid": "சரியான VID ஐ உள்ளிடவும்", "missingUin": "உள்ளிட்ட UIN செயலிழக்கப்பட்டது/தடுக்கப்பட்டது. தொடர சரியான UIN ஐ உள்ளிடவும்", "missingVid": "VID தரவுத்தளத்தில் இல்லை", "noMessageAvailable": "சிறிது நேரம் கழித்து முயற்சிக்கவும்", @@ -296,7 +296,7 @@ "applicationProcessing": "AID தயாராக இல்லை", "noMessageAvailable": "சிறிது நேரம் கழித்து முயற்சிக்கவும்", "networkRequestFailed": "நெட்வொர்க் கோரிக்கை தோல்வியடைந்தது", - "invalidAid": "உள்ளிடப்பட்ட எய்ட் கிடைக்கவில்லை.நுழைவதற்கு முன் உங்கள் உதவியை சரிபார்க்கவும்", + "invalidAid": "சரியான AID ஐ உள்ளிடவும்", "timeout": "நேரம் முடிந்தது" } } @@ -394,7 +394,7 @@ "stepThreeText": "உங்கள் முக்கியமான கார்டுகளை ஒரே நம்பகமான பணப்பையில் சேமித்து எடுத்துச் செல்லுங்கள்.", "stepFourTitle": "விரைவான அணுகல்", "stepFourText": "சேமிக்கப்பட்ட டிஜிட்டல் நற்சான்றிதழைப் பயன்படுத்தி உங்களை எளிதாக அங்கீகரிக்கவும்.", - "stepFiveTitle": "காப்பு தரவு", + "stepFiveTitle": "காப்புப்பிரதி & மீட்டமை", "stepFiveText": "எங்கள் காப்புப்பிரதியைப் பயன்படுத்தி உங்கள் தரவை எளிதாகப் பாதுகாக்கவும்", "getStarted": "தொடங்குங்கள்", "goBack": "திரும்பி செல்", @@ -576,7 +576,9 @@ }, "ScanScreen": { "shareWithSelfie": "செல்ஃபியுடன் பகிரவும்", + "shareWithSelfieQrLogin":"QR குறியீடு உள்நுழைவு", "shareWithSelfieMessage": "உங்களின் சரிபார்க்கக்கூடிய நற்சான்றிதழ்களைப் பகிர, முகச் சரிபார்ப்பைப் பயன்படுத்தி உங்கள் அடையாளத்தைப் பாதுகாப்பாகச் சரிபார்ப்போம். தொடர்வதன் மூலம், இந்த நோக்கத்திற்காக உங்கள் கேமராவைப் பயன்படுத்த INJIஐ ஒப்புக்கொள்கிறீர்கள். \n\n உங்கள் முகத் தரவு சரிபார்ப்புக்கு மட்டுமே பயன்படுத்தப்படும் மற்றும் எந்த மூன்றாம் தரப்பினருடனும் பகிரப்படாது.", + "shareWithSelfieMessageQrLogin":"போர்ட்டலை அணுக, உங்கள் சரிபார்க்கக்கூடிய சான்றுகளைப் பகிர வேண்டும் மற்றும் முகச் சரிபார்ப்பைப் பயன்படுத்தி உங்கள் அடையாளத்தைப் பாதுகாப்பாகச் சரிபார்க்க வேண்டும். தொடர்வதன் மூலம், இந்த நோக்கத்திற்காக உங்கள் கேமராவைப் பயன்படுத்துவதற்கு இன்ஜி ஒப்புக்கொள்கிறீர்கள். \n\n உங்கள் முகத் தரவு சரிபார்ப்புக்கு மட்டுமே பயன்படுத்தப்படும் மற்றும் பகிரப்படாது. வெற்றிகரமான சரிபார்ப்புக்குப் பிறகு, எந்த விவரங்களைப் பகிர வேண்டும் என்பதை நீங்கள் தேர்வு செய்யலாம்.", "ConfirmButton": "எனக்கு புரிகிறது", "doNotAskMessage": "மீண்டும் என்னிடம் கேட்காதே", "noShareableVcs": "பகிரக்கூடிய அட்டைகள் எதுவும் இல்லை.", @@ -701,6 +703,12 @@ "captureSuccessMessage": "முக சரிபார்ப்பு வெற்றிகரமாக உள்ளது! நற்சான்றிதழ் பகிர்வு தொடங்கப்பட்டுள்ளது.", "captureFailureTitle": "முக சரிபார்ப்பு தோல்வியடைந்தது!", "captureFailureMessage": "உங்கள் முகம் தெளிவாகத் தெரியும்படி இருப்பதை உறுதிசெய்து, மீண்டும் செல்ஃபி எடுக்க முயற்சிக்கவும்." + }, + "rational": { + "title": "உங்கள் இருப்பிடத்தை இயக்கவும்", + "message": "உங்கள் தரவைப் பெறுவதற்கு அருகிலுள்ள அமைப்புகளைத் தேட, இந்தப் பயன்பாட்டிற்கு உங்கள் இருப்பிடம் தேவை.", + "accept": "சரி", + "cancel": "ரத்து செய்" } }, "SelectVcOverlay": { diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaActions.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaActions.ts new file mode 100644 index 0000000000..851875bd97 --- /dev/null +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaActions.ts @@ -0,0 +1,220 @@ +import {send} from 'xstate'; +import {respond} from 'xstate/lib/actions'; +import {ActivityLog} from '../../../components/ActivityLogEvent'; +import {VCMetadata, parseMetadatas} from '../../../shared/VCMetadata'; +import { + MY_VCS_STORE_KEY, + RECEIVED_VCS_STORE_KEY, +} from '../../../shared/constants'; +import {ActivityLogEvents} from '../../activityLog'; +import {BackupEvents} from '../../backupAndRestore/backup'; +import {StoreEvents} from '../../store'; + +export const VCMetaActions = (model: any) => { + return { + sendBackupEvent: send(BackupEvents.DATA_BACKUP(true), { + to: context => context.serviceRefs.backup, + }), + + getVcItemResponse: respond((context, event) => { + if (context.tamperedVcs.includes(event.vcMetadata)) { + return { + type: 'TAMPERED_VC', + }; + } + + const isMyVCs = context.myVcsMetadata?.filter( + (vcMetadataObject: Object) => { + return ( + new VCMetadata(vcMetadataObject).getVcKey() === + VCMetadata.fromVC(event.vcMetadata)?.getVcKey() + ); + }, + ).length; + + const vcData = isMyVCs + ? context.myVcs[VCMetadata.fromVC(event.vcMetadata)?.getVcKey()] + : context.receivedVcs[VCMetadata.fromVC(event.vcMetadata)?.getVcKey()]; + + return { + type: 'GET_VC_RESPONSE', + response: vcData, + }; + }), + + loadMyVcs: send(() => StoreEvents.GET_VCS_DATA(MY_VCS_STORE_KEY), { + to: (context: any) => context.serviceRefs.store, + }), + + loadReceivedVcs: send( + () => StoreEvents.GET_VCS_DATA(RECEIVED_VCS_STORE_KEY), + { + to: (context: any) => context.serviceRefs.store, + }, + ), + + setMyVcs: model.assign({ + myVcs: (_context, event) => { + return event.response.vcsData; + }, + tamperedVcs: (context, event) => { + return [...context.tamperedVcs, ...event.response.tamperedVcsList]; + }, + myVcsMetadata: (_context, event) => { + return parseMetadatas((event.response.vcsMetadata || []) as object[]); + }, + }), + + setReceivedVcs: model.assign({ + receivedVcs: (_context, event) => { + return event.response.vcsData; + }, + tamperedVcs: (context, event) => { + return [...context.tamperedVcs, ...event.response.tamperedVcsList]; + }, + receivedVcsMetadata: (_context, event) => { + return parseMetadatas((event.response.vcsMetadata || []) as object[]); + }, + }), + + resetTamperedVcs: model.assign({ + tamperedVcs: () => [], + }), + + setDownloadingFailedVcs: model.assign({ + downloadingFailedVcs: (context, event) => [ + ...context.downloadingFailedVcs, + event.vcMetadata, + ], + }), + + setVerificationErrorMessage: model.assign({ + verificationErrorMessage: (context, event) => event.errorMessage, + }), + + resetVerificationErrorMessage: model.assign({ + verificationErrorMessage: (_context, event) => '', + }), + + resetDownloadFailedVcs: model.assign({ + downloadingFailedVcs: (context, event) => [], + }), + + setDownloadedVc: (context, event) => { + const vcMetaData = event.vcMetadata ? event.vcMetadata : event.vc; + const vcUniqueId = VCMetadata.fromVC(vcMetaData).getVcKey(); + context.myVcs[vcUniqueId] = event.vc; + }, + + addVcToInProgressDownloads: model.assign({ + inProgressVcDownloads: (context, event) => { + let paresedInProgressList: Set = context.inProgressVcDownloads; + const newVcRequestID = event.requestId; + const newInProgressList = paresedInProgressList.add(newVcRequestID); + return newInProgressList; + }, + }), + + removeVcFromInProgressDownlods: model.assign({ + inProgressVcDownloads: (context, event) => { + let updatedInProgressList: Set = context.inProgressVcDownloads; + if (!event.vcMetadata) { + return updatedInProgressList; + } + const removeVcRequestID = event.vcMetadata.requestId; + updatedInProgressList.delete(removeVcRequestID); + + return updatedInProgressList; + }, + areAllVcsDownloaded: context => { + if (context.inProgressVcDownloads.size == 0) { + return true; + } + return false; + }, + }), + + resetInProgressVcsDownloaded: model.assign({ + areAllVcsDownloaded: () => false, + inProgressVcDownloads: new Set(), + }), + + setUpdatedVcMetadatas: send( + _context => { + return StoreEvents.SET(MY_VCS_STORE_KEY, _context.myVcsMetadata); + }, + {to: context => context.serviceRefs.store}, + ), + + prependToMyVcsMetadata: model.assign({ + myVcsMetadata: (context, event) => [ + event.vcMetadata, + ...context.myVcsMetadata, + ], + }), + + removeVcFromMyVcsMetadata: model.assign({ + myVcsMetadata: (context, event) => + context.myVcsMetadata.filter( + (vc: VCMetadata) => !vc.equals(event.vcMetadata), + ), + }), + + removeDownloadingFailedVcsFromMyVcs: model.assign({ + myVcsMetadata: (context, event) => + context.myVcsMetadata.filter( + value => + !context.downloadingFailedVcs.some(item => item?.equals(value)), + ), + }), + + removeDownloadFailedVcsFromStorage: send( + context => { + return StoreEvents.REMOVE_ITEMS( + MY_VCS_STORE_KEY, + context.downloadingFailedVcs.map(m => m.getVcKey()), + ); + }, + { + to: context => context.serviceRefs.store, + }, + ), + + logTamperedVCsremoved: send( + context => ActivityLogEvents.LOG_ACTIVITY(ActivityLog.logTamperedVCs()), + { + to: context => context.serviceRefs.activityLog, + }, + ), + + updateMyVcsMetadata: model.assign({ + myVcsMetadata: (context, event) => [ + ...getUpdatedVCMetadatas(context.myVcsMetadata, event.vcMetadata), + ], + }), + + setWalletBindingSuccess: model.assign({ + walletBindingSuccess: true, + }), + resetWalletBindingSuccess: model.assign({ + walletBindingSuccess: false, + }), + }; +}; + +function getUpdatedVCMetadatas( + existingVCMetadatas: VCMetadata[], + updatedVcMetadata: VCMetadata, +) { + const isPinStatusUpdated = updatedVcMetadata.isPinned; + + return existingVCMetadatas.map(value => { + if (value.equals(updatedVcMetadata)) { + return updatedVcMetadata; + } else if (isPinStatusUpdated) { + return new VCMetadata({...value, isPinned: false}); + } else { + return value; + } + }); +} diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaEvents.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaEvents.ts new file mode 100644 index 0000000000..9ea9ad0117 --- /dev/null +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaEvents.ts @@ -0,0 +1,36 @@ +import {VCMetadata} from '../../../shared/VCMetadata'; +import {VC} from './vc'; + +export const VcMetaEvents = { + VIEW_VC: (vc: VC) => ({vc}), + GET_VC_ITEM: (vcMetadata: VCMetadata) => ({vcMetadata}), + STORE_RESPONSE: (response: unknown) => ({response}), + STORE_ERROR: (error: Error) => ({error}), + VC_ADDED: (vcMetadata: VCMetadata) => ({vcMetadata}), + REMOVE_VC_FROM_CONTEXT: (vcMetadata: VCMetadata) => ({vcMetadata}), + VC_METADATA_UPDATED: (vcMetadata: VCMetadata) => ({vcMetadata}), + VC_DOWNLOADED: (vc: VC, vcMetadata?: VCMetadata) => ({ + vc, + vcMetadata, + }), + REFRESH_MY_VCS: () => ({}), + REFRESH_MY_VCS_TWO: (vc: VC) => ({vc}), + REFRESH_RECEIVED_VCS: () => ({}), + WALLET_BINDING_SUCCESS: () => ({}), + RESET_WALLET_BINDING_SUCCESS: () => ({}), + ADD_VC_TO_IN_PROGRESS_DOWNLOADS: (requestId: string) => ({requestId}), + REMOVE_VC_FROM_IN_PROGRESS_DOWNLOADS: (vcMetadata: VCMetadata) => ({ + vcMetadata, + }), + RESET_IN_PROGRESS_VCS_DOWNLOADED: () => ({}), + REMOVE_TAMPERED_VCS: () => ({}), + DOWNLOAD_LIMIT_EXPIRED: (vcMetadata: VCMetadata) => ({vcMetadata}), + DELETE_VC: () => ({}), + VERIFY_VC_FAILED: (errorMessage: string, vcMetadata?: VCMetadata) => ({ + errorMessage, + vcMetadata, + }), + RESET_VERIFY_ERROR: () => ({}), + REFRESH_VCS_METADATA: () => ({}), + SHOW_TAMPERED_POPUP: () => ({}), +}; diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaGuards.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaGuards.ts new file mode 100644 index 0000000000..c67abeb063 --- /dev/null +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaGuards.ts @@ -0,0 +1,11 @@ +import {isSignedInResult} from '../../../shared/CloudBackupAndRestoreUtils'; + +export const VCMetaGuards = () => { + return { + isSignedIn: (_context, event) => + (event.data as isSignedInResult).isSignedIn, + isAnyVcTampered: context => { + return context.tamperedVcs.length > 0; + }, + }; +}; diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.ts index 1bfb64f738..806f13a627 100644 --- a/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.ts +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.ts @@ -1,72 +1,11 @@ -import {EventFrom, send, sendParent, StateFrom} from 'xstate'; -import {createModel} from 'xstate/lib/model'; -import {StoreEvents} from '../../store'; -import {VC} from './vc'; +import {EventFrom, send, sendParent} from 'xstate'; import {AppServices} from '../../../shared/GlobalContext'; -import {log, respond} from 'xstate/lib/actions'; -import { - MY_VCS_STORE_KEY, - RECEIVED_VCS_STORE_KEY, -} from '../../../shared/constants'; -import {parseMetadatas, VCMetadata} from '../../../shared/VCMetadata'; -import {ActivityLogEvents} from '../../activityLog'; -import {ActivityLog} from '../../../components/ActivityLogEvent'; -import Cloud, { - isSignedInResult, -} from '../../../shared/CloudBackupAndRestoreUtils'; -import {BackupEvents} from '../../backupAndRestore/backup'; - -const model = createModel( - { - serviceRefs: {} as AppServices, - myVcsMetadata: [] as VCMetadata[], - receivedVcsMetadata: [] as VCMetadata[], - myVcs: {} as Record, - receivedVcs: {} as Record, - inProgressVcDownloads: new Set(), //VCDownloadInProgress - areAllVcsDownloaded: false as boolean, - walletBindingSuccess: false, - tamperedVcs: [] as VCMetadata[], - downloadingFailedVcs: [] as VCMetadata[], //VCDownloadFailed - verificationErrorMessage: '' as string, - }, - { - events: { - VIEW_VC: (vc: VC) => ({vc}), - GET_VC_ITEM: (vcMetadata: VCMetadata) => ({vcMetadata}), - STORE_RESPONSE: (response: unknown) => ({response}), - STORE_ERROR: (error: Error) => ({error}), - VC_ADDED: (vcMetadata: VCMetadata) => ({vcMetadata}), - REMOVE_VC_FROM_CONTEXT: (vcMetadata: VCMetadata) => ({vcMetadata}), - VC_METADATA_UPDATED: (vcMetadata: VCMetadata) => ({vcMetadata}), - VC_DOWNLOADED: (vc: VC, vcMetadata?: VCMetadata) => ({ - vc, - vcMetadata, - }), - REFRESH_MY_VCS: () => ({}), - REFRESH_MY_VCS_TWO: (vc: VC) => ({vc}), - REFRESH_RECEIVED_VCS: () => ({}), - WALLET_BINDING_SUCCESS: () => ({}), - RESET_WALLET_BINDING_SUCCESS: () => ({}), - ADD_VC_TO_IN_PROGRESS_DOWNLOADS: (requestId: string) => ({requestId}), - REMOVE_VC_FROM_IN_PROGRESS_DOWNLOADS: (vcMetadata: VCMetadata) => ({ - vcMetadata, - }), - RESET_IN_PROGRESS_VCS_DOWNLOADED: () => ({}), - REMOVE_TAMPERED_VCS: () => ({}), - DOWNLOAD_LIMIT_EXPIRED: (vcMetadata: VCMetadata) => ({vcMetadata}), - DELETE_VC: () => ({}), - VERIFY_VC_FAILED: (errorMessage: string, vcMetadata?: VCMetadata) => ({ - errorMessage, - vcMetadata, - }), - RESET_VERIFY_ERROR: () => ({}), - REFRESH_VCS_METADATA: () => ({}), - SHOW_TAMPERED_POPUP: () => ({}), - }, - }, -); +import {VCMetamodel} from './VCMetaModel'; +import {VCMetaActions} from './VCMetaActions'; +import {VCMetaGuards} from './VCMetaGuards'; +import {VCMetaServices} from './VCMetaServices'; +const model = VCMetamodel; export const VcMetaEvents = model.events; export const vcMetaMachine = @@ -85,31 +24,13 @@ export const vcMetaMachine = states: { ready: { entry: sendParent('READY'), - initial: 'myVcsMetadata', + initial: 'myVcs', states: { - myVcsMetadata: { - entry: ['loadMyVcsMetadata'], - on: { - STORE_RESPONSE: { - actions: 'setMyVcsMetadata', - target: 'myVcsData', - }, - }, - }, - myVcsData: { + myVcs: { entry: 'loadMyVcs', on: { STORE_RESPONSE: { actions: 'setMyVcs', - target: 'receivedVcsMetadata', - }, - }, - }, - receivedVcsMetadata: { - entry: 'loadReceivedVcsMetadata', - on: { - STORE_RESPONSE: { - actions: 'setReceivedVcsMetadata', target: 'receivedVcs', }, }, @@ -198,14 +119,13 @@ export const vcMetaMachine = actions: 'resetWalletBindingSuccess', }, REFRESH_RECEIVED_VCS: { - target: '#vcMeta.ready.receivedVcsMetadata', + target: '#vcMeta.ready.receivedVcs', }, DOWNLOAD_LIMIT_EXPIRED: { actions: [ 'removeVcFromInProgressDownlods', 'setDownloadingFailedVcs', ], - target: '#vcMeta.ready', }, DELETE_VC: { target: 'deletingFailedVcs', @@ -237,231 +157,9 @@ export const vcMetaMachine = }, }, { - actions: { - sendBackupEvent: send(BackupEvents.DATA_BACKUP(true), { - to: context => context.serviceRefs.backup, - }), - - getVcItemResponse: respond((context, event) => { - if (context.tamperedVcs.includes(event.vcMetadata)) { - return { - type: 'TAMPERED_VC', - }; - } - - const isMyVCs = context.myVcsMetadata?.filter( - (vcMetadataObject: Object) => { - return ( - new VCMetadata(vcMetadataObject).getVcKey() === - VCMetadata.fromVC(event.vcMetadata)?.getVcKey() - ); - }, - ).length; - - const vcData = isMyVCs - ? context.myVcs[VCMetadata.fromVC(event.vcMetadata)?.getVcKey()] - : context.receivedVcs[ - VCMetadata.fromVC(event.vcMetadata)?.getVcKey() - ]; - - return { - type: 'GET_VC_RESPONSE', - response: vcData, - }; - }), - - loadMyVcsMetadata: send(StoreEvents.GET(MY_VCS_STORE_KEY), { - to: context => context.serviceRefs.store, - }), - - loadReceivedVcsMetadata: send(StoreEvents.GET(RECEIVED_VCS_STORE_KEY), { - to: context => context.serviceRefs.store, - }), - - setMyVcsMetadata: model.assign({ - myVcsMetadata: (_context, event) => { - return parseMetadatas((event.response || []) as object[]); - }, - }), - - setReceivedVcsMetadata: model.assign({ - receivedVcsMetadata: (_context, event) => { - return parseMetadatas((event.response || []) as object[]); - }, - }), - - loadMyVcs: send( - context => StoreEvents.GET_VCS_DATA(context.myVcsMetadata), - { - to: context => context.serviceRefs.store, - }, - ), - - loadReceivedVcs: send( - context => StoreEvents.GET_VCS_DATA(context.receivedVcsMetadata), - { - to: context => context.serviceRefs.store, - }, - ), - - setMyVcs: model.assign({ - myVcs: (_context, event) => { - return event.response.vcsData; - }, - tamperedVcs: (context, event) => { - return [...context.tamperedVcs, ...event.response.tamperedVcsList]; - }, - }), - - setReceivedVcs: model.assign({ - receivedVcs: (_context, event) => { - return event.response.vcsData; - }, - tamperedVcs: (context, event) => { - return [...context.tamperedVcs, ...event.response.tamperedVcsList]; - }, - }), - - resetTamperedVcs: model.assign({ - tamperedVcs: () => [], - }), - - setDownloadingFailedVcs: model.assign({ - downloadingFailedVcs: (context, event) => [ - ...context.downloadingFailedVcs, - event.vcMetadata, - ], - }), - - setVerificationErrorMessage: model.assign({ - verificationErrorMessage: (context, event) => event.errorMessage, - }), - - resetVerificationErrorMessage: model.assign({ - verificationErrorMessage: (_context, event) => '', - }), - - resetDownloadFailedVcs: model.assign({ - downloadingFailedVcs: (context, event) => [], - }), - - setDownloadedVc: (context, event) => { - const vcMetaData = event.vcMetadata ? event.vcMetadata : event.vc; - const vcUniqueId = VCMetadata.fromVC(vcMetaData).getVcKey(); - context.myVcs[vcUniqueId] = event.vc; - }, - - addVcToInProgressDownloads: model.assign({ - inProgressVcDownloads: (context, event) => { - let paresedInProgressList: Set = - context.inProgressVcDownloads; - const newVcRequestID = event.requestId; - const newInProgressList = paresedInProgressList.add(newVcRequestID); - return newInProgressList; - }, - }), - - removeVcFromInProgressDownlods: model.assign({ - inProgressVcDownloads: (context, event) => { - let updatedInProgressList: Set = - context.inProgressVcDownloads; - if (!event.vcMetadata) { - return updatedInProgressList; - } - const removeVcRequestID = event.vcMetadata.requestId; - updatedInProgressList.delete(removeVcRequestID); - - return updatedInProgressList; - }, - areAllVcsDownloaded: context => { - if (context.inProgressVcDownloads.size == 0) { - return true; - } - return false; - }, - }), - - resetInProgressVcsDownloaded: model.assign({ - areAllVcsDownloaded: () => false, - inProgressVcDownloads: new Set(), - }), - - setUpdatedVcMetadatas: send( - _context => { - return StoreEvents.SET(MY_VCS_STORE_KEY, _context.myVcsMetadata); - }, - {to: context => context.serviceRefs.store}, - ), - - prependToMyVcsMetadata: model.assign({ - myVcsMetadata: (context, event) => [ - event.vcMetadata, - ...context.myVcsMetadata, - ], - }), - - removeVcFromMyVcsMetadata: model.assign({ - myVcsMetadata: (context, event) => - context.myVcsMetadata.filter( - (vc: VCMetadata) => !vc.equals(event.vcMetadata), - ), - }), - - removeDownloadingFailedVcsFromMyVcs: model.assign({ - myVcsMetadata: (context, event) => - context.myVcsMetadata.filter( - value => - !context.downloadingFailedVcs.some(item => item?.equals(value)), - ), - }), - - removeDownloadFailedVcsFromStorage: send( - context => { - return StoreEvents.REMOVE_ITEMS( - MY_VCS_STORE_KEY, - context.downloadingFailedVcs.map(m => m.getVcKey()), - ); - }, - { - to: context => context.serviceRefs.store, - }, - ), - - logTamperedVCsremoved: send( - context => - ActivityLogEvents.LOG_ACTIVITY(ActivityLog.logTamperedVCs()), - { - to: context => context.serviceRefs.activityLog, - }, - ), - - updateMyVcsMetadata: model.assign({ - myVcsMetadata: (context, event) => [ - ...getUpdatedVCMetadatas(context.myVcsMetadata, event.vcMetadata), - ], - }), - - setWalletBindingSuccess: model.assign({ - walletBindingSuccess: true, - }), - resetWalletBindingSuccess: model.assign({ - walletBindingSuccess: false, - }), - }, - - guards: { - isSignedIn: (_context, event) => - (event.data as isSignedInResult).isSignedIn, - isAnyVcTampered: context => { - return context.tamperedVcs.length > 0; - }, - }, - - services: { - isUserSignedAlready: () => async () => { - return await Cloud.isSignedInAlready(); - }, - }, + actions: VCMetaActions(model), + guards: VCMetaGuards(), + services: VCMetaServices(), }, ); @@ -471,97 +169,3 @@ export function createVcMetaMachine(serviceRefs: AppServices) { serviceRefs, }); } - -type State = StateFrom; - -export function selectMyVcsMetadata(state: State): VCMetadata[] { - return state.context.myVcsMetadata; -} - -export function selectShareableVcsMetadata(state: State): VCMetadata[] { - return state.context.myVcsMetadata.filter( - vcMetadata => - state.context.myVcs[vcMetadata.getVcKey()]?.credential != null || - state.context.myVcs[vcMetadata.getVcKey()]?.verifiableCredential != null, - ); -} - -export function selectReceivedVcsMetadata(state: State): VCMetadata[] { - return state.context.receivedVcsMetadata; -} - -export function selectIsRefreshingMyVcs(state: State) { - return ( - state.matches('ready.myVcsMetadata') || state.matches('ready.myVcsData') - ); -} - -export function selectIsRefreshingReceivedVcs(state: State) { - return ( - state.matches('ready.receivedVcsMetadata') || - state.matches('ready.receivedVcs') - ); -} - -export function selectAreAllVcsDownloaded(state: State) { - return state.context.areAllVcsDownloaded; -} - -/* - this methods returns all the binded vc's in the wallet. - */ -export function selectBindedVcsMetadata(state: State): VCMetadata[] { - return state.context.myVcsMetadata.filter(vcMetadata => { - const walletBindingResponse = - state.context.myVcs[vcMetadata.getVcKey()]?.walletBindingResponse; - return ( - !isEmpty(walletBindingResponse) && - !isEmpty(walletBindingResponse?.walletBindingId) - ); - }); -} - -export function selectInProgressVcDownloads(state: State) { - return state.context.inProgressVcDownloads; -} - -function getUpdatedVCMetadatas( - existingVCMetadatas: VCMetadata[], - updatedVcMetadata: VCMetadata, -) { - const isPinStatusUpdated = updatedVcMetadata.isPinned; - - return existingVCMetadatas.map(value => { - if (value.equals(updatedVcMetadata)) { - return updatedVcMetadata; - } else if (isPinStatusUpdated) { - return new VCMetadata({...value, isPinned: false}); - } else { - return value; - } - }); -} - -function isEmpty(object) { - return object == null || object == '' || object == undefined; -} - -export function selectWalletBindingSuccess(state: State) { - return state.context.walletBindingSuccess; -} - -export function selectIsTampered(state: State) { - return state.matches('ready.tamperedVCs'); -} - -export function selectDownloadingFailedVcs(state: State) { - return state.context.downloadingFailedVcs; -} - -export function selectMyVcs(state: State) { - return state.context.myVcs; -} - -export function selectVerificationErrorMessage(state: State) { - return state.context.verificationErrorMessage; -} diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.typegen.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.typegen.ts index da916ffb5f..4b1d7b9d52 100644 --- a/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.typegen.ts +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.typegen.ts @@ -14,24 +14,45 @@ export interface Typegen0 { isUserSignedAlready: 'done.invoke.vcMeta.ready.tamperedVCs.triggerAutoBackupForTamperedVcDeletion:invocation[0]'; }; missingImplementations: { - actions: never; + actions: + | 'addVcToInProgressDownloads' + | 'getVcItemResponse' + | 'loadMyVcs' + | 'loadReceivedVcs' + | 'logTamperedVCsremoved' + | 'prependToMyVcsMetadata' + | 'removeDownloadFailedVcsFromStorage' + | 'removeDownloadingFailedVcsFromMyVcs' + | 'removeVcFromInProgressDownlods' + | 'removeVcFromMyVcsMetadata' + | 'resetDownloadFailedVcs' + | 'resetInProgressVcsDownloaded' + | 'resetTamperedVcs' + | 'resetVerificationErrorMessage' + | 'resetWalletBindingSuccess' + | 'sendBackupEvent' + | 'setDownloadedVc' + | 'setDownloadingFailedVcs' + | 'setMyVcs' + | 'setReceivedVcs' + | 'setUpdatedVcMetadatas' + | 'setVerificationErrorMessage' + | 'setWalletBindingSuccess' + | 'updateMyVcsMetadata'; delays: never; - guards: never; - services: never; + guards: 'isAnyVcTampered' | 'isSignedIn'; + services: 'isUserSignedAlready'; }; eventsCausingActions: { addVcToInProgressDownloads: 'ADD_VC_TO_IN_PROGRESS_DOWNLOADS'; getVcItemResponse: 'GET_VC_ITEM'; - loadMyVcs: 'STORE_RESPONSE'; - loadMyVcsMetadata: - | 'DOWNLOAD_LIMIT_EXPIRED' + loadMyVcs: | 'REFRESH_MY_VCS' | 'REFRESH_RECEIVED_VCS' | 'STORE_RESPONSE' | 'VERIFY_VC_FAILED' | 'xstate.init'; - loadReceivedVcs: 'STORE_RESPONSE'; - loadReceivedVcsMetadata: 'REFRESH_RECEIVED_VCS' | 'STORE_RESPONSE'; + loadReceivedVcs: 'REFRESH_RECEIVED_VCS' | 'STORE_RESPONSE'; logTamperedVCsremoved: 'done.invoke.vcMeta.ready.tamperedVCs.triggerAutoBackupForTamperedVcDeletion:invocation[0]'; prependToMyVcsMetadata: 'VC_ADDED'; removeDownloadFailedVcsFromStorage: 'DELETE_VC'; @@ -50,9 +71,7 @@ export interface Typegen0 { setDownloadedVc: 'VC_DOWNLOADED'; setDownloadingFailedVcs: 'DOWNLOAD_LIMIT_EXPIRED'; setMyVcs: 'STORE_RESPONSE'; - setMyVcsMetadata: 'STORE_RESPONSE'; setReceivedVcs: 'STORE_RESPONSE'; - setReceivedVcsMetadata: 'STORE_RESPONSE'; setUpdatedVcMetadatas: 'VC_METADATA_UPDATED'; setVerificationErrorMessage: 'VERIFY_VC_FAILED'; setWalletBindingSuccess: 'WALLET_BINDING_SUCCESS'; @@ -69,20 +88,16 @@ export interface Typegen0 { matchesStates: | 'deletingFailedVcs' | 'ready' - | 'ready.myVcsData' - | 'ready.myVcsMetadata' + | 'ready.myVcs' | 'ready.receivedVcs' - | 'ready.receivedVcsMetadata' | 'ready.showTamperedPopup' | 'ready.tamperedVCs' | 'ready.tamperedVCs.idle' | 'ready.tamperedVCs.triggerAutoBackupForTamperedVcDeletion' | { ready?: - | 'myVcsData' - | 'myVcsMetadata' + | 'myVcs' | 'receivedVcs' - | 'receivedVcsMetadata' | 'showTamperedPopup' | 'tamperedVCs' | {tamperedVCs?: 'idle' | 'triggerAutoBackupForTamperedVcDeletion'}; diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaModel.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaModel.ts new file mode 100644 index 0000000000..d174797f00 --- /dev/null +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaModel.ts @@ -0,0 +1,24 @@ +import {createModel} from 'xstate/lib/model'; +import {AppServices} from '../../../shared/GlobalContext'; +import {VCMetadata} from '../../../shared/VCMetadata'; +import {VC} from './vc'; +import {VcMetaEvents} from './VCMetaEvents'; + +export const VCMetamodel = createModel( + { + serviceRefs: {} as AppServices, + myVcsMetadata: [] as VCMetadata[], + receivedVcsMetadata: [] as VCMetadata[], + myVcs: {} as Record, + receivedVcs: {} as Record, + inProgressVcDownloads: new Set(), //VCDownloadInProgress + areAllVcsDownloaded: false as boolean, + walletBindingSuccess: false, + tamperedVcs: [] as VCMetadata[], + downloadingFailedVcs: [] as VCMetadata[], //VCDownloadFailed + verificationErrorMessage: '' as string, + }, + { + events: VcMetaEvents, + }, +); diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors.ts new file mode 100644 index 0000000000..5205437873 --- /dev/null +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors.ts @@ -0,0 +1,75 @@ +import {StateFrom} from 'xstate'; +import {VCMetadata} from '../../../shared/VCMetadata'; +import {vcMetaMachine} from './VCMetaMachine'; + +type State = StateFrom; + +export function selectMyVcsMetadata(state: State): VCMetadata[] { + return state.context.myVcsMetadata; +} + +export function selectShareableVcsMetadata(state: State): VCMetadata[] { + return state.context.myVcsMetadata.filter( + vcMetadata => + state.context.myVcs[vcMetadata.getVcKey()]?.credential != null || + state.context.myVcs[vcMetadata.getVcKey()]?.verifiableCredential != null, + ); +} + +export function selectReceivedVcsMetadata(state: State): VCMetadata[] { + return state.context.receivedVcsMetadata; +} + +export function selectIsRefreshingMyVcs(state: State) { + return state.matches('ready.myVcs'); +} + +export function selectIsRefreshingReceivedVcs(state: State) { + return state.matches('ready.receivedVcs'); +} + +export function selectAreAllVcsDownloaded(state: State) { + return state.context.areAllVcsDownloaded; +} + +/* + this methods returns all the binded vc's in the wallet. + */ +export function selectBindedVcsMetadata(state: State): VCMetadata[] { + return state.context.myVcsMetadata.filter(vcMetadata => { + const walletBindingResponse = + state.context.myVcs[vcMetadata.getVcKey()]?.walletBindingResponse; + return ( + !isEmpty(walletBindingResponse) && + !isEmpty(walletBindingResponse?.walletBindingId) + ); + }); +} + +export function selectInProgressVcDownloads(state: State) { + return state.context.inProgressVcDownloads; +} + +function isEmpty(object) { + return object == null || object == '' || object == undefined; +} + +export function selectWalletBindingSuccess(state: State) { + return state.context.walletBindingSuccess; +} + +export function selectIsTampered(state: State) { + return state.matches('ready.tamperedVCs'); +} + +export function selectDownloadingFailedVcs(state: State) { + return state.context.downloadingFailedVcs; +} + +export function selectMyVcs(state: State) { + return state.context.myVcs; +} + +export function selectVerificationErrorMessage(state: State) { + return state.context.verificationErrorMessage; +} diff --git a/machines/VerifiableCredential/VCMetaMachine/VCMetaServices.ts b/machines/VerifiableCredential/VCMetaMachine/VCMetaServices.ts new file mode 100644 index 0000000000..ada48ef498 --- /dev/null +++ b/machines/VerifiableCredential/VCMetaMachine/VCMetaServices.ts @@ -0,0 +1,9 @@ +import Cloud from '../../../shared/CloudBackupAndRestoreUtils'; + +export const VCMetaServices = () => { + return { + isUserSignedAlready: () => async () => { + return await Cloud.isSignedInAlready(); + }, + }; +}; diff --git a/machines/bleShare/commonSelectors.ts b/machines/bleShare/commonSelectors.ts index 8502f5d26a..8e0fc639fb 100644 --- a/machines/bleShare/commonSelectors.ts +++ b/machines/bleShare/commonSelectors.ts @@ -72,3 +72,7 @@ export function selectIsBluetoothPermissionDenied(state: State) { export function selectIsStartPermissionCheck(state: State) { return state.matches('startPermissionCheck'); } + +export function selectIsLocationPermissionRationale(state: State) { + return state.matches('checkingLocationState.LocationPermissionRationale'); +} diff --git a/machines/bleShare/scan/scanMachine.ts b/machines/bleShare/scan/scanMachine.ts index 8f31a269c9..7008db1b27 100644 --- a/machines/bleShare/scan/scanMachine.ts +++ b/machines/bleShare/scan/scanMachine.ts @@ -13,7 +13,7 @@ import { import {createModel} from 'xstate/lib/model'; import {EmitterSubscription, Linking} from 'react-native'; import {DeviceInfo} from '../../../components/DeviceInfoList'; -import {getDeviceNameSync} from 'react-native-device-info'; +import {getDeviceNameSync, isLocationEnabled} from 'react-native-device-info'; import {VC} from '../../VerifiableCredential/VCMetaMachine/vc'; import {AppServices} from '../../../shared/GlobalContext'; import {ActivityLogEvents, ActivityLogType} from '../../activityLog'; @@ -25,7 +25,6 @@ import { isIOS, MY_LOGIN_STORE_KEY, MY_VCS_STORE_KEY, - RECEIVED_VCS_STORE_KEY, } from '../../../shared/constants'; import {subscribe} from '../../../shared/openIdBLE/walletEventHandler'; import { @@ -38,7 +37,6 @@ import { } from 'react-native-permissions'; import { checkLocationPermissionStatus, - checkLocationService, requestLocationPermission, } from '../../../shared/location'; import {CameraCapturedPicture} from 'expo-camera'; @@ -133,6 +131,8 @@ const model = createModel( FACE_VERIFICATION_CONSENT: (isConsentGiven: boolean) => ({ isConsentGiven, }), + ALLOWED: () => ({}), + DENIED: () => ({}), }, }, ); @@ -797,6 +797,19 @@ export const scanMachine = target: 'checkingPermissionStatus', }, LOCATION_DISABLED: { + target: 'LocationPermissionRationale', + }, + }, + }, + LocationPermissionRationale: { + on: { + APP_ACTIVE: { + target: 'checkLocationService', + }, + ALLOWED: { + actions: 'enableLocation', + }, + DENIED: { target: 'disabled', }, }, @@ -829,9 +842,6 @@ export const scanMachine = }, denied: { on: { - APP_ACTIVE: { - target: 'checkingPermissionStatus', - }, LOCATION_REQUEST: { actions: 'openAppPermission', }, @@ -841,6 +851,7 @@ export const scanMachine = on: { LOCATION_REQUEST: { target: 'checkLocationService', + actions: 'enableLocation', }, }, }, @@ -902,6 +913,10 @@ export const scanMachine = openAppPermission: () => Linking.openSettings(), + enableLocation: async () => { + await Linking.sendIntent('android.settings.LOCATION_SOURCE_SETTINGS'); + }, + setUri: model.assign({ openId4VpUri: (_context, event) => event.params, }), @@ -1020,11 +1035,11 @@ export const scanMachine = _vcKey: VCMetadata.fromVC(context.selectedVc).getVcKey(), type: 'PRESENCE_VERIFICATION_FAILED', timestamp: Date.now(), - idType: getIdType(context.selectedVc.issuer), - id: context.selectedVc.id, + idType: getIdType(context.selectedVc.vcMetadata.issuer), + id: context.selectedVc.vcMetadata.id, deviceName: context.receiverInfo.name || context.receiverInfo.deviceName, - vcLabel: context.selectedVc.id, + vcLabel: context.selectedVc.vcMetadata.id, }), {to: context => context.serviceRefs.activityLog}, ), @@ -1268,11 +1283,14 @@ export const scanMachine = () => callback(model.events.LOCATION_DISABLED()), ); }, - checkLocationStatus: () => callback => { - return checkLocationService( - () => callback(model.events.LOCATION_ENABLED()), - () => callback(model.events.LOCATION_DISABLED()), - ); + + checkLocationStatus: () => async callback => { + const isEnabled: boolean = await isLocationEnabled(); + if (isEnabled) { + callback(model.events.LOCATION_ENABLED()); + } else { + callback(model.events.LOCATION_DISABLED()); + } }, startConnection: context => callback => { diff --git a/machines/store.ts b/machines/store.ts index 3a13401296..ccffc37207 100644 --- a/machines/store.ts +++ b/machines/store.ts @@ -56,7 +56,7 @@ const model = createModel( TRY_AGAIN: () => ({}), IGNORE: () => ({}), GET: (key: string) => ({key}), - GET_VCS_DATA: (metadatas: VCMetadata[]) => ({metadatas}), + GET_VCS_DATA: (key: string) => ({key}), EXPORT: () => ({}), RESTORE_BACKUP: (data: {}) => ({data}), DECRYPT_ERROR: () => ({}), @@ -364,10 +364,7 @@ export const storeMachine = break; } case 'GET_VCS_DATA': { - response = await getVCsData( - event.metadatas, - context.encryptionKey, - ); + response = await getVCsData(event.key, context.encryptionKey); break; } case 'RESTORE_BACKUP': { @@ -586,15 +583,15 @@ export async function loadBackupData(data, encryptionKey) { await Storage.loadBackupData(data, encryptionKey); } -export async function getVCsData( - metadatas: VCMetadata[], - encryptionKey: string, -) { +export async function getVCsData(key: string, encryptionKey: string) { try { let vcsData: Record = {}; let tamperedVcsList: VCMetadata[] = []; - for (let ind in metadatas) { - const vcKey = VCMetadata.fromVC(metadatas[ind]).getVcKey(); + + const vcsMetadata: VCMetadata[] = await getItem(key, null, encryptionKey); + + for (let ind in vcsMetadata) { + const vcKey = VCMetadata.fromVC(vcsMetadata[ind]).getVcKey(); try { const vc = await getItem(vcKey, null, encryptionKey); vcsData[vcKey] = vc; @@ -604,13 +601,13 @@ export async function getVCsData( e.message.includes(tamperedErrorMessageString) || e.message.includes(ENOENT) ) { - tamperedVcsList = [...tamperedVcsList, metadatas[ind]]; + tamperedVcsList = [...tamperedVcsList, vcsMetadata[ind]]; } else { throw e; } } } - return {vcsData, tamperedVcsList}; + return {vcsData, vcsMetadata, tamperedVcsList}; } catch (e) { throw e; } diff --git a/screens/Home/MyVcsTab.tsx b/screens/Home/MyVcsTab.tsx index 61348fc4f5..85c7ed8a1c 100644 --- a/screens/Home/MyVcsTab.tsx +++ b/screens/Home/MyVcsTab.tsx @@ -69,22 +69,24 @@ export const MyVcsTab: React.FC = props => { setFilteredSearchData([]); const searchTextLower = searchText.toLowerCase(); const filteredData: Array> = []; - for (const [vcKey, vc] of Object.entries(controller.vcData)) { - let isVcFound = false; - const credentialSubject = - vc.verifiableCredential.credentialSubject || - vc.verifiableCredential.credential.credentialSubject; - - if (credentialSubject) { - isVcFound = searchNestedCredentialFields( - searchTextLower, - credentialSubject, - ); - } - - if (isVcFound) { - filteredData.push({[vcKey]: vc['vcMetadata']}); + const isDownloading = vc === null; + if (!isDownloading) { + let isVcFound = false; + const credentialSubject = + vc.verifiableCredential.credentialSubject || + vc.verifiableCredential.credential.credentialSubject; + + if (credentialSubject) { + isVcFound = searchNestedCredentialFields( + searchTextLower, + credentialSubject, + ); + } + + if (isVcFound) { + filteredData.push({[vcKey]: vc['vcMetadata']}); + } } } @@ -336,7 +338,16 @@ export const MyVcsTab: React.FC = props => { )} {controller.vcMetadatas.length === 0 && ( - + + }> {SvgImage.DigitalIdentity()} ; diff --git a/screens/Home/ReceivedVcsTabController.ts b/screens/Home/ReceivedVcsTabController.ts index b6be160d16..669bb44dbd 100644 --- a/screens/Home/ReceivedVcsTabController.ts +++ b/screens/Home/ReceivedVcsTabController.ts @@ -4,7 +4,7 @@ import {ActorRefFrom} from 'xstate'; import { selectIsRefreshingReceivedVcs, selectReceivedVcsMetadata, -} from '../../machines/VerifiableCredential/VCMetaMachine/VCMetaMachine'; +} from '../../machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors'; import {GlobalContext} from '../../shared/GlobalContext'; import { ReceivedVcsTabEvents, diff --git a/screens/Issuers/IssuersScreen.tsx b/screens/Issuers/IssuersScreen.tsx index 3edbfa0b99..59359ad1af 100644 --- a/screens/Issuers/IssuersScreen.tsx +++ b/screens/Issuers/IssuersScreen.tsx @@ -163,25 +163,6 @@ export const IssuersScreen: React.FC< ); } - if (isVerificationFailed) { - return ( - - ); - } - if (controller.isBiometricsCancelled) { return ( = props => { /> - {t('shareWithSelfie')} + {props.isQrLogin + ? t('shareWithSelfieQrLogin') + : t('shareWithSelfie')} - {t('shareWithSelfieMessage')} + {props.isQrLogin + ? t('shareWithSelfieMessageQrLogin') + : t('shareWithSelfieMessage')} @@ -88,4 +92,5 @@ interface FaceVerificationAlertProps { isVisible: boolean; onConfirm: (isConsentGiven: boolean) => void; close: () => void; + isQrLogin?: boolean; } diff --git a/screens/Scan/LocationPermissionRational.tsx b/screens/Scan/LocationPermissionRational.tsx new file mode 100644 index 0000000000..6d4d68b3fb --- /dev/null +++ b/screens/Scan/LocationPermissionRational.tsx @@ -0,0 +1,59 @@ +import React from 'react'; +import {Overlay} from 'react-native-elements'; +import {Column, Text, Button} from '../../components/ui'; +import {useTranslation} from 'react-i18next'; +import {Dimensions} from 'react-native'; +import {Theme} from '../../components/ui/styleUtils'; + +export const LocationPermissionRational: React.FC< + LocationPermissionRationalProps +> = props => { + const {t} = useTranslation('ScanScreen'); + return ( + + + + {t('rational.title')} + + + + {t('rational.message')} + + +