Skip to content

Commit

Permalink
Inji 986 release issues (#1363)
Browse files Browse the repository at this point in the history
* [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 633f42f65f07612f4ed628c650841a12c034e235.

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 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing
changes made to f63445fc0821311bb005880ab4c5ed8d1179a630.

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [Internal-Release-20+] : Sunbird Changes (#1243)

* [INJIMOB-683]: add testid for missed vc field (#1226)

* [INJIMOB-683]: add testid for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-683]: add testidprops for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-683]: add testidprops for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-770]: parse date received in the vc's (#1225)

* [INJIMOB-770]: parse date received in the vc's

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-770]: parse date received in the vc's

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* downgrade cocoapods version (#1231)

Signed-off-by: adityankannan-tw <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 2665cdeee193d7fb428fc10354f30cc25084b83d.

* [INJIMOB-760]: adjust the mosip logo in the issuer section

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Swati Goel <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 633f42f65f07612f4ed628c650841a12c034e235.

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 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing
changes made to f63445fc0821311bb005880ab4c5ed8d1179a630.

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [Internal-Release-20+] : Sunbird Changes (#1243)

* [INJIMOB-683]: add testid for missed vc field (#1226)

* [INJIMOB-683]: add testid for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-683]: add testidprops for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-683]: add testidprops for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-770]: parse date received in the vc's (#1225)

* [INJIMOB-770]: parse date received in the vc's

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-770]: parse date received in the vc's

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* downgrade cocoapods version (#1231)

Signed-off-by: adityankannan-tw <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 2665cdeee193d7fb428fc10354f30cc25084b83d.

* [INJIMOB-760]: adjust the mosip logo in the issuer section

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-787] refactor backup & restore states machines

Signed-off-by: Harsh Vardhan <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 633f42f65f07612f4ed628c650841a12c034e235.

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 6de62fccb67f7b1da4219ea79edeba6dc56aeb10, reversing
changes made to f63445fc0821311bb005880ab4c5ed8d1179a630.

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [Internal-Release-20+] : Sunbird Changes (#1243)

* [INJIMOB-683]: add testid for missed vc field (#1226)

* [INJIMOB-683]: add testid for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-683]: add testidprops for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-683]: add testidprops for missed vc field

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-770]: parse date received in the vc's (#1225)

* [INJIMOB-770]: parse date received in the vc's

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* [INJIMOB-770]: parse date received in the vc's

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.gith…
  • Loading branch information
18 people authored Apr 3, 2024
1 parent 2124021 commit f7cb8ad
Show file tree
Hide file tree
Showing 14 changed files with 204 additions and 100 deletions.
105 changes: 35 additions & 70 deletions .github/workflows/ui-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,24 @@ on:
workflow_dispatch:
inputs:
runName:
description: 'Name the run for Actions & DeviceFarm'
required: true
description: 'Name the run for Actions'
default: 'Ex: Sanity/Regression[ENV]'
type: string
buildFor:
description: 'Trigger test case run for'
required: true
default: 'Both[Android and IOS]'
type: choice
options:
- Both[Android and IOS]
- Android
- IOS
testType:
description: 'Test type Sanity/Regression'
required: true
default: 'sanity'
default: 'Sanity'
type: choice
options:
- sanity
- regression
- Sanity
- Regression
backendServiceUrl:
description: 'Mimoto and Esignet backend service URL'
required: true
Expand All @@ -34,7 +31,7 @@ on:

jobs:
android-ui-automation:
if: ${{ github.event.inputs.buildFor == 'Both[Android and IOS]' || github.event.inputs.buildFor == 'Android'}}
if: ${{ github.event.inputs.buildFor == 'Android' }}
name: Trigger android run
runs-on: ubuntu-latest

Expand Down Expand Up @@ -75,45 +72,31 @@ jobs:
CREDENTIAL_REGISTRY_EDIT: 'false'
RELEASE_KEYSTORE_ALIAS: 'androidreleasekey'
RELEASE_KEYSTORE_PASSWORD: "${{ secrets.INJI_ANDROID_RELEASE_STOREPASS }}"

- name: Configure AWS CLI
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_DEVICE_FARM_ACCESS_KEY }}
aws configure set aws_secret_access_key ${{ secrets.AWS_DEVICE_FARM_SECRET_KEY }}
aws configure set region us-west-2
- name: Android - Automation
id: android-run
run: |
cd injitest/scripts/ui_automation
./automation_trigger.sh "Android" "$RUN_NAME-Android" "$TEST_TYPE"
env:
RUN_NAME: ${{ github.event.inputs.runName }}
TEST_TYPE: ${{ github.event.inputs.testType }}

- name: Download Android Artifacts
run: |
cd injitest/scripts/ui_automation
./download_artifacts.sh "$RUN_ARN" "Android"
- name: Upload Artifact to Actions
uses: actions/upload-artifact@v3.1.1
with:
name: Android-Artifacts
path: injitest/scripts/ui_automation/artifacts/android_artifacts/
name: residentapp
path: android/app/build/outputs/apk/residentapp/release/Inji_universal.apk
retention-days: 10

# - name: Update slack channel
# if: always()
# uses: 8398a7/action-slack@v3
# with:
# status: ${{ job.status }}
# fields: repo,message,author,commit,workflow,job
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }}

- name: Run UI Automation Tests on BrowserStack
run: |
chmod +x injitest/automation_trigger.sh
./injitest/automation_trigger.sh "$BROWSERSTACK_USERNAME" "$BROWSERSTACK_ACCESS_KEY" "$TEST_TYPE" "$PLATFORM_NAME"
env:
PLATFORM_NAME: ${{ github.event.inputs.buildFor }}
TEST_TYPE: ${{ github.event.inputs.testType }}
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
- name: Save test reports
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-reports
path: injitest/target/surefire-reports

ios-ui-automation:
if: ${{ github.event.inputs.buildFor == 'Both[Android and IOS]' || github.event.inputs.buildFor == 'IOS'}}
if: ${{ github.event.inputs.buildFor == 'IOS' }}
name: Trigger ios run
runs-on: macos-13

Expand Down Expand Up @@ -154,37 +137,19 @@ jobs:
APPLE_KEY_CONTENT: '${{ secrets.APPLE_KEY_CONTENT }}'
MATCH_PASSWORD: '${{ secrets.INJI_IOS_MATCH_PASSWORD }}'

- name: Configure AWS CLI
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_DEVICE_FARM_ACCESS_KEY }}
aws configure set aws_secret_access_key ${{ secrets.AWS_DEVICE_FARM_SECRET_KEY }}
aws configure set region us-west-2
- name: IOS - Automation
run: |
cd injitest/scripts/ui_automation
./automation_trigger.sh "IOS" "$RUN_NAME-IOS" "$TEST_TYPE"
env:
RUN_NAME: ${{ github.event.inputs.runName }}
TEST_TYPE: ${{ github.event.inputs.testType }}

- name: Download IOS Artifacts
run: |
cd injitest/scripts/ui_automation
./download_artifacts.sh "$RUN_ARN" "IOS"
- name: Upload Artifact to Actions
uses: actions/upload-artifact@v3.1.1
with:
name: IOS-Artifacts
path: injitest/scripts/ui_automation/artifacts/ios_artifacts/
name: residentapp
path: ios/fastlane/Inji_artifacts/Inji.ipa
retention-days: 10

# - name: Update slack channel
# if: always()
# uses: 8398a7/action-slack@v3
# with:
# status: ${{ job.status }}
# fields: repo,message,author,commit,workflow,job
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_INJI_TEAM }}
- name: Run UI Automation Tests on BrowserStack
run: |
chmod +x injitest/automation_trigger.sh
./injitest/automation_trigger.sh "$BROWSERSTACK_USERNAME" "$BROWSERSTACK_ACCESS_KEY" "$TEST_TYPE" "$PLATFORM_NAME"
env:
PLATFORM_NAME: ${{ github.event.inputs.buildFor }}
TEST_TYPE: ${{ github.event.inputs.testType }}
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
14 changes: 6 additions & 8 deletions .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ fileignoreconfig:
- filename: package.json
checksum: 730263252adbe53cde58fb0b6988e519e766fe0f89a7b8cd261a1e5e5e598328
- filename: package-lock.json
checksum: 9a72f2e2a04361f138ca33759326595568195d7255b40f51110bf406e93e2a5d
checksum: 8e91542dfeba34460b4700c5b640fe6802cb1b38e1dbafd2ebcaac2fd9dbed36
- filename: lib/jsonld-signatures/suites/ed255192018/ed25519.ts
checksum: 493b6e31144116cb612c24d98b97d8adcad5609c0a52c865a6847ced0a0ddc3a
- filename: components/PasscodeVerify.tsx
checksum: 14654c0f038979fcd0d260170a45894a072f81e0767ca9a0e66935d33b5cc703
- filename: i18n.ts
checksum: 2760585d5957f3f2ba3971be964f57e2166e3057153cf3196fb579f116842b36
checksum: e80d40f33692c195d034774d024cafdf63d010ac6d4a35f94b2a5d81b78c234b
- filename: components/Passcode.tsx
checksum: db4a18001be8c63bf7ffb389359861401fa1d22261b10ad729a76fd431c019a7
- filename: components/PasscodeVerify.tsx
Expand Down Expand Up @@ -212,21 +212,23 @@ fileignoreconfig:
- filename: __mocks__/react-native-secure-key-store.mock.js
checksum: 249eeeb9f8cf083f8d008882a5aeab194e9e6344f68732a2a8c78a69ff5f2ee8
- filename: __mocks__/jest-init.js
checksum: 388b6e7c7e276d835617402551c5fc17c6e7e735479e62e9952e2b41bd796fd8
checksum: 7cec36ae248f04fe50235f1281be455351002acbb6fdc881ad327a30b86ba5e5
- filename: components/ActivityLogEvent.test.ts
checksum: 5f9bf6d499106863fee65476adcec9253638d093bf0b58f1a11225915e9b0560
- filename: __mocks__/mmkv-db-setup.js
checksum: b94da7e4bc1bd52b5f0131104fcf25163df9cdb9af14425287d17fd56f4f09e3
- filename: __mocks__/react-native-keychain.mock.js
checksum: cc2798f843b776e70d957a4f7cdf47e199a29d9f6547fb9f59753108e8f252fa
- filename: machines/auth.ts
checksum: 12cba950aed9ade70e14d43dca25506458be351033e2a3c8b74c30ae6e12d80b
checksum: 46195ee93f9b7ac6794a06eeef5dee5ea242047a557af8bf95df04e1343d7b9e
- filename: shared/commonUtil.generated.test.ts
checksum: 4ca5983bb133f8f02bfd52fd0cc49ce37b24b164f3ca78a03ad97bb353ed00a4
- filename: __mocks__/en.mock.json
checksum: b34340a3f40c691f06698f7758b8c068a09ed7215098a0d11baed191c0972e04
- filename: ios/Inji.xcodeproj/project.pbxproj
checksum: 766e3dcb299f52ea75e87a1e6e7ce106872bb2f2481d54700995ca02b742b60f
- filename: ios/Inji/Info.plist
checksum: 57705369faf52801876baf0d25a3cee690de2fd87927454689b13963408a8e92
- filename: machines/backupAndRestore/backupRestore.ts
checksum: 60a55a1d0ef6e79f7b9fa1e61ed31b933364afb429bff03cebbc56339c764499
- filename: machines/backupAndRestore/backupRestore.typegen.ts
Expand All @@ -237,8 +239,4 @@ fileignoreconfig:
checksum: 948efb4d61551e4f3cd9eb9913b927158daa5c3d16f49ad297e7cb63190bc023
- filename: machines/issuersMachine.typegen.ts
checksum: 959fef1e51f0f3d5b12933f7b362e96401fb776ab12f0d13c6e542918b2ff255
- filename: shared/commonUtil.test.ts
checksum: fa2e1917d2d16c159947055121774612c60c4b9c569ded06846fef049932ed83
- filename: ios/Inji/Info.plist
checksum: 59c20fd0944ebfcbc55cb66abafe353cb4f58ad4f85d908743a39074941d926e
version: ""
3 changes: 2 additions & 1 deletion components/KebabPopUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const KebabPopUp: React.FC<KebabPopUpProps> = props => {
? Theme.Colors.warningText
: undefined
}
testID={item.testID}
margin="0 0 0 10">
{item.label}
</Text>
Expand All @@ -78,7 +79,7 @@ export const KebabPopUp: React.FC<KebabPopUpProps> = props => {
};

export interface KebabPopUpProps {
iconName: string;
iconName?: string;
iconType?: string;
vcMetadata: VCMetadata;
isVisible?: boolean;
Expand Down
8 changes: 4 additions & 4 deletions components/VC/common/VCItemField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import {Column, Text} from '../../ui';
import {Theme} from '../../ui/styleUtils';
import React from 'react';

export const VCItemFieldName = ({fieldName, wellknown}) => {
export const VCItemFieldName = ({fieldName, wellknown, testID}) => {
return (
<>
{fieldName && (
<Text
testID={`${fieldName}Title`}
testID={`${testID}Title`}
{...setTextColor(wellknown)}
style={Theme.Styles.fieldItemTitle}>
{fieldName}
Expand All @@ -17,11 +17,11 @@ export const VCItemFieldName = ({fieldName, wellknown}) => {
);
};

export const VCItemFieldValue = ({fieldName, fieldValue, wellknown}) => {
export const VCItemFieldValue = ({fieldValue, wellknown, testID}) => {
return (
<>
<Text
testID={`${fieldName}Value`}
testID={`${testID}Value`}
{...setTextColor(wellknown)}
style={Theme.Styles.fieldItemValue}>
{fieldValue}
Expand Down
4 changes: 3 additions & 1 deletion components/VC/common/VCUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ function getFullAddress(credential: CredentialSubject) {

function formattedDateTime(timeStamp: any) {
if (timeStamp) {
return new Date(timeStamp).toLocaleDateString();
const options = {year: 'numeric', month: '2-digit', day: '2-digit'};
return new Date(timeStamp).toLocaleDateString('en-US', options);
}
return timeStamp;
}
Expand Down Expand Up @@ -172,6 +173,7 @@ export const fieldItemIterator = (
fieldValue={fieldValue}
verifiableCredential={verifiableCredential}
wellknown={wellknown}
testID={field}
/>
</Row>
);
Expand Down
7 changes: 6 additions & 1 deletion components/VerifiedIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const VerifiedIcon: React.FC = () => {
return (
<View style={Theme.Styles.verifiedIconContainer}>
<View style={Theme.Styles.verifiedIconInner}>
<Icon name="check-circle" color={Theme.Colors.VerifiedIcon} size={12} />
<Icon
testID="statusIcon"
name="check-circle"
color={Theme.Colors.VerifiedIcon}
size={12}
/>
</View>
</View>
);
Expand Down
4 changes: 2 additions & 2 deletions components/ui/svg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export class SvgImage {
return <Logo width={width} height={height} />;
}

static kebabIcon() {
return <KebabIcon />;
static kebabIcon(testId) {
return <KebabIcon {...testIDProps(testId)} />;
}

static walletActivatedIcon() {
Expand Down
9 changes: 5 additions & 4 deletions i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ i18next
})
.then(async () => {
const existingCredentials = await Keychain.getGenericPassword();

const language = existingCredentials
? await getItem('language', null, existingCredentials.password)
: null;
const language = await getItem(
'language',
null,
existingCredentials.password,
);

if (language !== i18next.language) {
i18next.changeLanguage(language);
Expand Down
Loading

0 comments on commit f7cb8ad

Please sign in to comment.