Files
inji-wallet/screens/AuthScreenController.ts
Alka Prasad 41d231f3ed [Release-02-04-2024] (#1353)
* [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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* INJIMOB - 837 - Update developer team id to match profiles (#1258)

* [INJIMOB-837] update ios version and bundle id

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the developer team to match profiles

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* 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 <meet2swati@gmail.com>

* [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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* Injimob 837 - Update the bundle id for new app (#1263)

* [INJIMOB-837] update ios version and bundle id

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the developer team to match profiles

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the flavor with correct id

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the flavor with correct id (#1265)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <harsh59v@gmail.com>

* [INJIMOB-752] fix label for drive name on backup

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <srikanthsri7447@gmail.com>

* [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 <srikanthsri7447@gmail.com>
Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>

* MOSIP-31468 MOSIP-31384 added sprint 20 testcases for android (#1267)

* MOSIP-31255 MOSIP-31106

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31456

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* added sunbird test case for ios

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31478

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31468 MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* [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 <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
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 <harsh59v@gmail.com>
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 <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJI-611]: New Error screen implemented

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJI-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing bugs post conflict resolve.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [Inji-604]: Simplified condition for result in verify Credential call.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
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 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix receive card navigation issue

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix receive card back icon rendering position

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor the header right and left

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix rendering issue in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix rtl rendering issue in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor screen otion to render in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor HomeScreenOptions to render in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: moving HistoryHeaderTitleStyles to style files

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor the header right and left

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

---------

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* MOSIP-31686 added sprint 21 test cases (#1295)

* MOSIP-31255 MOSIP-31106

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31456

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* added sunbird test case for ios

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31478

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31468 MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31686 MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* [INJIMOB-748] update activity log messages (#1278)

* [INJIMOB-748] update activity log messages

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-748] reuse locale strings of idType

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-748] set policyNumber as id number for insurance card from sunbird

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <balachandar.g@thoughtworks.com>

* [injimob-604]: Updating the messagein error screen.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Injimob-722]: Updating the constants.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Injimob-722]: Changes in event params of scan machine.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <srikanthsri7447@gmail.com>

* [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 <srikanthsri7447@gmail.com>
Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>

* MOSIP-31468 MOSIP-31384 added sprint 20 testcases for android (#1267)

* MOSIP-31255 MOSIP-31106

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31456

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* added sunbird test case for ios

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31478

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31468 MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.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>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.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>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Injimob-722]: Adding Banner type Info

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.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>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.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 <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
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 <harsh59v@gmail.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Injimob-722]: Updating face capture success banner status.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* INJIMOB-604 VC Verification Failure Scenarios (#1228)

* [INJI-604]: Handle Verification VC Error Scenarios

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJI-611]: New Error screen implemented

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJI-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing bugs post conflict resolve.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [Inji-604]: Simplified condition for result in verify Credential call.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
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 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix receive card navigation issue

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix receive card back icon rendering position

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor the header right and left

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix rendering issue in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix rtl rendering issue in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor screen otion to render in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor HomeScreenOptions to render in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: moving HistoryHeaderTitleStyles to style files

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor the header right and left

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

---------

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Injimob-695] : Crash issue on iOS during Home screen navigation is fixed.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Injimob-722]: Reverting the changes from java files of Injitest.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com>
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
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 <harsh59v@gmail.com>
Co-authored-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com>
Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>
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 <harsh59v@gmail.com>
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 <kamal.singh@thoughtworks.com>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | android sanity updated

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

---------

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* [INJIMOB-763] increase threshold of face match config (#1297)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* MOSIP-28901 | Framework restructure for browserstack (#1302)

* MOSIP-31479 Updated read me file for inji automation

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | android sanity updated

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

---------

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* [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 <part1>\x00<part2> 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 <harsh59v@gmail.com>
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 <harsh59v@gmail.com>

* 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 <kamal.singh@thoughtworks.com>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | android sanity updated

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31347 | Sonar issues fixed

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31347 | Sonar issues fixed

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

---------

Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>

* MOSIP-31384 stabilizing code and update ios accessiblity ids (#1323)

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* incorprated changes

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* 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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* INJIMOB - 837 - Update developer team id to match profiles (#1258)

* [INJIMOB-837] update ios version and bundle id

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the developer team to match profiles

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* 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 <meet2swati@gmail.com>

* [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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <adityan410pm@gmail.com>

* [INJIMOB-837] update the developer team to match profiles

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the flavor with correct id

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.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-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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <harsh59v@gmail.com>

* [INJIMOB-752] fix label for drive name on backup

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.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>

* [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 <adityan410pm@gmail.com>
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 <meet2swati@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.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 <adityan410pm@gmail.com>
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 <meet2swati@gmail.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
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 <harsh59v@gmail.com>
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 <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJI-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.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 <balachandar.g@thoughtworks.com>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing bugs post conflict resolve.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>

* [INJIMOB-881] add entitlements file changes for icloud (#1287)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Injimob 881 - Update code signing identity (#1288)

* [INJIMOB-881] add entitlements file changes for icloud

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-881] update code signing identity to iphone distribution

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* 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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [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 <part1>\x00<part2> 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 <harsh59v@gmail.com>
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 <harsh59v@gmail.com>

* 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 <balachandar.g@thoughtworks.com>

* [Inji-604]: Removing unused VERIFY event from Esignet machine.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* 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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
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 <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
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 <srikanthsri7447@gmail.com>

* [INJIMOB-843]: refactor the screenHeight and isSmallscreen into a common function

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

---------

Signed-off-by: srikanth716 <srikanthsri7447@gmail.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>

* Inji mob 737 rtl issue (#1327)

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix receive card navigation issue

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix receive card back icon rendering position

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor the header right and left

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix rendering issue in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix rtl rendering issue in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor screen otion to render in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor HomeScreenOptions to render in ios

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: moving HistoryHeaderTitleStyles to style files

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactor the header right and left

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: fix receive card back icon rendering position

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactoring the HomeScreenOptions

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-737]: refactoring the HomeScreenOptions

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

---------

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>

* [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 <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* incorprated changes

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* 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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* INJIMOB - 837 - Update developer team id to match profiles (#1258)

* [INJIMOB-837] update ios version and bundle id

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the developer team to match profiles

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* 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 <meet2swati@gmail.com>

* [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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <adityan410pm@gmail.com>

* [INJIMOB-837] update the developer team to match profiles

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-837] update the flavor with correct id

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.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-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 633f42f65f.

Signed-off-by: Swati Goel <meet2swati@gmail.com>

* 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 6de62fccb6, reversing
changes made to f63445fc08.

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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJI-787] conditional restore on restart of restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] add vc remove logic for partial restore

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] refactor, ACK reviews, rm dead condition

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* Revert "Inji mob 737 rtl issue (#1238)"

This reverts commit 2665cdeee1.

* [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 <harsh59v@gmail.com>

* [INJIMOB-752] fix label for drive name on backup

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.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>

* [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 <adityan410pm@gmail.com>
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 <meet2swati@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.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 <adityan410pm@gmail.com>
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 <meet2swati@gmail.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
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 <harsh59v@gmail.com>
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 <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJI-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.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 <balachandar.g@thoughtworks.com>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing bugs post conflict resolve.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>

* [INJIMOB-881] add entitlements file changes for icloud (#1287)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* Injimob 881 - Update code signing identity (#1288)

* [INJIMOB-881] add entitlements file changes for icloud

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-881] update code signing identity to iphone distribution

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* 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 <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [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 <part1>\x00<part2> 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 <harsh59v@gmail.com>
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 <harsh59v@gmail.com>

* 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 <balachandar.g@thoughtworks.com>

* [Inji-604]: Removing unused VERIFY event from Esignet machine.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* 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 <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <harsh59v@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
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 <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
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 <srikanthsri7447@gmail.com>

* [INJIMOB-843]: refactor the screenHeight and isSmallscreen into a common function

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

---------

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [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 <anup.nehe@technoforte.co.in>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: srikanth716 <srikanthsri7447@gmail.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: 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 <Alka1703@users.noreply.github.com>
Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.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: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.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: 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 <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* incorprated changes

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* INJIMOB-924 MOSIP-31927

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: handle face auth failure scenario in VC sharing with selfie

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: handle proper closing of kebab menu on VC share option click

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: handle QR login flow for mini view card

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: update kebab menu list icons to outline with black color

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: close kebab popup on selecting sharing option for esignet VCs

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: clear connect for invalid identity and back button click face auth during share with selfie

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: reset the flowType and selectedVC variable in scan machine on any disconnect or success share of VC

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: reset SelectedVc and flow type in scan machine for every kind of disconnect

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: remove redundant check on qr login

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: fix the prop value passed to the face scanner

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <adityan410pm@gmail.com>

* [INJIMOB-784] add dismiss for backdrop press

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add pop up for qrlogin flow also

Signed-off-by: adityankannan-tw <adityan410pm@gmail.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 <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
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 <harsh59v@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJI-611]: New Error screen implemented

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJI-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing bugs post conflict resolve.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [Inji-604]: Simplified condition for result in verify Credential call.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
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 <adityan410pm@gmail.com>

* [INJIMOB-784] add locales changes in all languages

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] send consent data using event to qrlogin machine

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] refactor scan and qr  machines and remove logs

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add testID for icons and buttons

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add translations for help screen contents

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add translations for help screen contents

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] change popup text and alter help screen msg order

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* Update SendVcScreenController.ts

* [INJIMOB-784] refactor actions for show face auth consent screen

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.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 <harsh59v@gmail.com>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.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: Harsh Vardhan <harsh59v@gmail.com>
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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>
Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.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 <harsh59v@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
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 <adityan410pm@gmail.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: Harsh Vardhan <harsh59v@gmail.com>
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 <prasadalka1998@gmail.com>

* xpath updated for esignet & sunbird (#1343)

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* incorprated changes

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* INJIMOB-924 MOSIP-31927

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31874

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* [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 <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* incorprated changes

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* INJIMOB-924 MOSIP-31927

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31874

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conlifcts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* [INJIMOB-783] fix error popup and text in qr scanner (#1346)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: handle face auth failure scenario in VC sharing with selfie

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: handle proper closing of kebab menu on VC share option click

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: handle QR login flow for mini view card

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: update kebab menu list icons to outline with black color

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: close kebab popup on selecting sharing option for esignet VCs

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: clear connect for invalid identity and back button click face auth during share with selfie

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: reset the flowType and selectedVC variable in scan machine on any disconnect or success share of VC

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [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 <prasadalka1998@gmail.com>

* [INJIMOB-631]: reset SelectedVc and flow type in scan machine for every kind of disconnect

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: remove redundant check on qr login

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-631]: fix the prop value passed to the face scanner

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [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 <adityan410pm@gmail.com>

* [INJIMOB-784] add dismiss for backdrop press

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add pop up for qrlogin flow also

Signed-off-by: adityankannan-tw <adityan410pm@gmail.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 <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
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 <harsh59v@gmail.com>
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 <adityan410pm@gmail.com>

* [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 <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJI-611]: New Error screen implemented

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJI-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing the issue of recursive VC deletion during Go Back event in Verification Error screen.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Fixing bugs post conflict resolve.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [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 <balachandar.g@thoughtworks.com>

* [Inji-604]: Simplified condition for result in verify Credential call.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
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 <adityan410pm@gmail.com>

* [INJIMOB-784] add locales changes in all languages

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] send consent data using event to qrlogin machine

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] refactor scan and qr  machines and remove logs

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add testID for icons and buttons

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add translations for help screen contents

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] add translations for help screen contents

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-784] change popup text and alter help screen msg order

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* Update SendVcScreenController.ts

* [INJIMOB-784] refactor actions for show face auth consent screen

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.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 <harsh59v@gmail.com>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.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: Harsh Vardhan <harsh59v@gmail.com>
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 <prasadalka1998@gmail.com>

* [INJIMOB-878]: remove any traces of existing and esignet item state machine from the code base

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: extract out phone number and email id to a wrapper object

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: optimize context variable declaration and usage in vc and vcItemStateMachine

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: move all the selectors to VCItemMachine from a seperate file

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: bring back code lost in code merge from develop

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: remove unused imports and refactor the openId4VCI check from entire code base to a single point

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: remove the entire vc or context sharing from the state machine to the component

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: refactor controller to remove seperate declaration of variables

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: extract events of VCItemMAchine into a seperate file

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: removed some unused imports renamed VCItemSelectors file and refactored KebabPopUpController

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: add issuer in OTP flow VC data as well

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: remove VP implemetation and some unused components

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: split VCItemMachine into multiple logical units

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: correct a test id for activation flow

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: fix issues dueto merge conflict

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-878]: changed the folder structure for VCItemMAchine and related files

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.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 <harsh59v@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
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 <adityan410pm@gmail.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: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-986]: Merge changes of upstream-develop to qa-develop

Signed-off-by: Alka Prasad <prasadalka1998@gmail.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 <srikanthsri7447@gmail.com>

* [INJI-314] add WIP ut stuff

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-314] fix tsconfig for project type

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJIMOB-314]: mocked modules

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-314]: mock react-native-google-signin

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [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 <harsh59v@gmail.com>

* [INJIMOB-314] reorganise global const mocks into jest's setupFiles

Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] write tests for ActivityLogEvent

* init relevant mocks
* remove redundant global mocks from test files

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] fixup mocks of mmkv, zip-archive, rnfs

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900]: write unit test for commonUtil

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900]: write unit test for commonUtil

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900]: sample unit test for settingsScreen

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900] add SettingScreen test

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] update sample tests for commonUtil

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900]: refactoring the settingsScreen test for Android and IOS

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [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 <srikanthsri7447@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900]: snapshot test to settings screen

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJIMOB-900] update mocks for testing and ACK reviews

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] downgrade expo to match compatibility matrix

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] upgrade expo to 49 to build the iOS app(kludge)

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* [INJIMOB-900] configure react-native-vector-icons as per README

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* update the pom to unblock devops (#1352)

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* incorprated changes

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* INJIMOB-924 MOSIP-31927

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31874

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-31384

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conlifcts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* updating to unblock deveops

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* [INJIMOB-878]: moved Vc types file to Verifiable Credential folder and renamd VC state machine to VCMetaMachine (#1354)

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
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 <meet2swati@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com>
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: kamalsingh <kamal.singh@thoughtworks.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
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 <prasadalka1998@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.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 <adityan410pm@gmail.com>
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 <meet2swati@gmail.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 <harsh59v@gmail.com>
Co-authored-by: Anil_Kumar_Majji <106086523+Anil-kumar-Majji@users.noreply.github.com>
Co-authored-by: srikanth716 <srikanthsri7447@gmail.com>
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: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
2024-04-02 14:03:51 +05:30

162 lines
4.9 KiB
TypeScript

import {useMachine, useSelector} from '@xstate/react';
import {useContext, useEffect, useState} from 'react';
import * as LocalAuthentication from 'expo-local-authentication';
import {AuthEvents, selectSettingUp, selectAuthorized} from '../machines/auth';
import {RootRouteProps} from '../routes';
import {GlobalContext} from '../shared/GlobalContext';
import {
biometricsMachine,
selectError,
selectIsEnabled,
selectIsSuccess,
selectIsUnvailable,
selectUnenrolledNotice,
selectErrorResponse,
} from '../machines/biometrics';
import {SettingsEvents} from '../machines/settings';
import {useTranslation} from 'react-i18next';
import {
sendStartEvent,
sendImpressionEvent,
sendInteractEvent,
getStartEventData,
getInteractEventData,
getImpressionEventData,
getEndEventData,
sendEndEvent,
} from '../shared/telemetry/TelemetryUtils';
import {TelemetryConstants} from '../shared/telemetry/TelemetryConstants';
export function useAuthScreen(props: RootRouteProps) {
const {appService} = useContext(GlobalContext);
const authService = appService.children.get('auth');
const settingsService = appService.children.get('settings');
const isSettingUp = useSelector(authService, selectSettingUp);
const isAuthorized = useSelector(authService, selectAuthorized);
const [alertMsg, setHasAlertMsg] = useState('');
const [isBiometricsAvailable, setIsBiometricsAvailable] = useState(false);
const [biometricState, biometricSend, bioService] =
useMachine(biometricsMachine);
const isEnabledBio = useSelector(bioService, selectIsEnabled);
const isUnavailableBio = useSelector(bioService, selectIsUnvailable);
const isSuccessBio = useSelector(bioService, selectIsSuccess);
const errorMsgBio = useSelector(bioService, selectError);
const unEnrolledNoticeBio = useSelector(bioService, selectUnenrolledNotice);
const errorResponse = useSelector(bioService, selectErrorResponse);
const usePasscode = () => {
props.navigation.navigate('Passcode', {setup: isSettingUp});
};
const {t} = useTranslation('AuthScreen');
const fetchIsAvailable = async () => {
const result = await LocalAuthentication.hasHardwareAsync();
setIsBiometricsAvailable(result);
};
fetchIsAvailable();
useEffect(() => {
if (isAuthorized) {
sendEndEvent(
getEndEventData(
TelemetryConstants.FlowType.appOnboarding,
TelemetryConstants.EndEventStatus.success,
),
);
props.navigation.reset({
index: 0,
routes: [{name: 'Main'}],
});
sendImpressionEvent(
getImpressionEventData(
TelemetryConstants.FlowType.appOnboarding,
TelemetryConstants.Screens.home,
),
);
return;
}
// if biometic state is success then lets send auth service BIOMETRICS
if (isSuccessBio) {
authService.send(AuthEvents.SETUP_BIOMETRICS('true'));
settingsService.send(SettingsEvents.TOGGLE_BIOMETRIC_UNLOCK(true, false));
// setup passcode aswell
usePasscode();
// handle biometric failure unknown error
} else if (errorMsgBio) {
sendEndEvent(
getEndEventData(
TelemetryConstants.FlowType.appOnboarding,
TelemetryConstants.EndEventStatus.failure,
{
errorId: errorResponse.res.error,
errorMessage: errorResponse.res.warning,
stackTrace: errorResponse.stacktrace,
},
),
);
// show alert message whenever biometric state gets failure
if (errorResponse.res.error !== 'user_cancel') {
setHasAlertMsg(t(errorMsgBio));
}
// handle any unenrolled notice
} else if (unEnrolledNoticeBio) {
setHasAlertMsg(t(unEnrolledNoticeBio));
// we dont need to see this page to user once biometric is unavailable on its device
} else if (isUnavailableBio) {
sendStartEvent(
getStartEventData(TelemetryConstants.FlowType.appOnboarding),
);
usePasscode();
}
}, [isSuccessBio, isUnavailableBio, errorMsgBio, unEnrolledNoticeBio]);
const useBiometrics = async () => {
const isBiometricsEnrolled = await LocalAuthentication.isEnrolledAsync();
if (isBiometricsEnrolled) {
sendStartEvent(
getStartEventData(TelemetryConstants.FlowType.appOnboarding),
);
sendInteractEvent(
getInteractEventData(
TelemetryConstants.FlowType.appOnboarding,
TelemetryConstants.InteractEventSubtype.click,
'Use Biometrics Button',
),
);
if (biometricState.matches({failure: 'unenrolled'})) {
biometricSend({type: 'RETRY_AUTHENTICATE'});
return;
}
biometricSend({type: 'AUTHENTICATE'});
} else {
setHasAlertMsg(t('errors.unenrolled'));
}
};
const hideAlert = () => {
setHasAlertMsg('');
};
return {
isBiometricsAvailable,
isSettingUp,
alertMsg,
isEnabledBio,
hideAlert,
useBiometrics,
usePasscode,
};
}