Skip to content

Commit

Permalink
[Release-24-04-2024] Sprint 26 (mosip#1394)
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 <[email protected]>

* [INJIMOB-834] remove corrupted VC metaData while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-837] update ios version and bundle id (#1256)

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

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

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

Signed-off-by: adityankannan-tw <[email protected]>

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

Signed-off-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

* Inji 752 backup to iCloud (#1251)

* [INJIMOB-760]: update mosip Logo

Signed-off-by: Vijay <[email protected]>

* [INJIMOB-834] ignore corrupted VC while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] - Added basic backup and restore flow for iCloud

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] show proceed screen based on stored value

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] fetch last backup details of iCloud

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] download any unsynced files during lang setup in iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] show permision required screen when not signed in on iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] - Added sync and open settings

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] - Add missing translations and refactor

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] - refactoring

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-834] remove corrupted VC metaData while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] download any unsynced files during lang setup in iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] remove backup and restore toggle

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] sync style of newLabel in purple and default theme

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] remove debug logs

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] add initail state in downloadingCredential to fix warning

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] - Added delayed visibility for backup screen

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] fix delay in databackup and restore screen

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: Sreenadh S <[email protected]>
Co-authored-by: Vijay <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Swati Goel <[email protected]>

* [Reverse-Sync-14-02-2024] : Sunbird Integration & Data Backup and Restore Implementation (#1261)

* fix cancel download popup not shown

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* fix: show tuvali version

Co-authored-by: vijay151096 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* downgrade tuvali version to 0.4.6 for qa testing (#1149)

Signed-off-by: PuBHARGAVI <[email protected]>

* Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)"

This reverts commit 633f42f65f07612f4ed628c650841a12c034e235.

Signed-off-by: Swati Goel <[email protected]>

* 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 <[email protected]>

* [INJI-766] remove backupAndRestore variable from env file

Signed-off-by: PuBHARGAVI <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>

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

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

Signed-off-by: Vijay <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>

* downgrade cocoapods version (#1231)

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <[email protected]>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

* [INJIMOB-760]: update mosip Logo

Signed-off-by: Vijay <[email protected]>

* [INJIMOB-834] ignore corrupted VC while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-834] remove corrupted VC metaData while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] add backup & restore in iOS (iCloud) (#119)

* [INJIMOB-752] - Added basic backup and restore flow for iCloud

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] show proceed screen based on stored value

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] fetch last backup details of iCloud

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] download any unsynced files during lang setup in iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] show permision required screen when not signed in on iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] - Added sync and open settings

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] - Add missing translations and refactor

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] - refactoring

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-834] ignore corrupted VC while performing backup (#1253)

* [INJIMOB-834] ignore corrupted VC while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-834] remove corrupted VC metaData while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] download any unsynced files during lang setup in iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] remove backup and restore toggle

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] sync style of newLabel in purple and default theme

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] remove debug logs

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] add initail state in downloadingCredential to fix warning

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] - Added delayed visibility for backup screen

Signed-off-by: Sreenadh S <[email protected]>

---------

Signed-off-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Sreenadh S <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <[email protected]>

---------

Signed-off-by: Harsh Vardhan <[email protected]>

* 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 <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: Swati Goel <[email protected]>
Signed-off-by: Vijay <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: Sreenadh S <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Swati Goel <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Co-authored-by: Pooja Babusingh <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: Sreenadh S <[email protected]>
Co-authored-by: Harsh Vardhan <[email protected]>

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

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

Signed-off-by: adityankannan-tw <[email protected]>

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

Signed-off-by: adityankannan-tw <[email protected]>

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

Signed-off-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

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

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

* [INJIMOB-787] refactor backup & restore state machine (#1266)

* fix cancel download popup not shown

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* fix: show tuvali version

Co-authored-by: vijay151096 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* downgrade tuvali version to 0.4.6 for qa testing (#1149)

Signed-off-by: PuBHARGAVI <[email protected]>

* Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)"

This reverts commit 633f42f65f07612f4ed628c650841a12c034e235.

Signed-off-by: Swati Goel <[email protected]>

* 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 <[email protected]>

* [INJI-766] remove backupAndRestore variable from env file

Signed-off-by: PuBHARGAVI <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>

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

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

Signed-off-by: Vijay <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>

* downgrade cocoapods version (#1231)

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

* Use latest cocoapods version (#1236)

* downgrade cocoapods version

Signed-off-by: adityankannan-tw <[email protected]>

* use latest cocoapods version

Signed-off-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

* [INJIMOB-760]: update mosip Logo

Signed-off-by: Vijay <[email protected]>

* [INJIMOB-834] ignore corrupted VC while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-834] remove corrupted VC metaData while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] add backup & restore in iOS (iCloud) (#119)

* [INJIMOB-752] - Added basic backup and restore flow for iCloud

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] show proceed screen based on stored value

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] fetch last backup details of iCloud

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] download any unsynced files during lang setup in iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] show permision required screen when not signed in on iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] retry to sync unsynced file if exists while fetching last backup details

Co-authored-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] - Added sync and open settings

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] - Add missing translations and refactor

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-752] - refactoring

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-834] ignore corrupted VC while performing backup (#1253)

* [INJIMOB-834] ignore corrupted VC while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-834] remove corrupted VC metaData while performing backup

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] download any unsynced files during lang setup in iOS

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] remove backup and restore toggle

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] sync style of newLabel in purple and default theme

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] remove debug logs

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] rename file googleCloudUtils to CloudBackupAndRestoreUtils

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] return no backup faile error when backupfiles list from cloud is empty

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] add initail state in downloadingCredential to fix warning

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] - Added delayed visibility for backup screen

Signed-off-by: Sreenadh S <[email protected]>

---------

Signed-off-by: Sreenadh S <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Sreenadh S <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-787] fix recent file finder code

Signed-off-by: Harsh Vardhan <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-787] remove console.logs

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-787] remove irrelevant TODOs

Signed-off-by: Harsh Vardhan <[email protected]>

---------

Signed-off-by: Harsh Vardhan <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-799] fix show restored vcs as shareable

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-752] fix warnings

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: Swati Goel <[email protected]>
Signed-off-by: Vijay <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: Sreenadh S <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Co-authored-by: vijay151096 <[email protected]>
Co-authored-by: Swati Goel <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Co-authored-by: Pooja Babusingh <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: Sreenadh S <[email protected]>
Co-authored-by: Harsh Vardhan <[email protected]>

* [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 <[email protected]>

* [INJIMOB-745]: Implemented Error modal of sharing failure with title, message & CTAs were display based on Error_codes

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Updated respective text in all the locals

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Fixed the error of go to history button in success sharing status

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Resolved PR Merge conflicts

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: remove duplicate import which causes build issue

Signed-off-by: srikanth716 <[email protected]>

* [INJIMOB-745]: Modified SharingStatusModal into dynamic props for buttons, text as per requirement

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Made changes in the rendering of respective button as per requirements

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Adjusted the alignment of bottom buttons & Made header as per wire frame

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [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 <[email protected]>

* [INJIMOB-745]: Added accessible props to Pressable in SharingStatusModal

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Modified success screen icons in to SVG's

Signed-off-by: Anil_Kumar_Majji <[email protected]>

---------

Signed-off-by: Anil_Kumar_Majji <[email protected]>
Signed-off-by: srikanth716 <[email protected]>
Co-authored-by: srikanth716 <[email protected]>

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

* MOSIP-31255 MOSIP-31106

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflicts

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31456

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* added sunbird test case for ios

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31478

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31468 MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

---------

Signed-off-by: Anup Nehe <[email protected]>

* [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 <[email protected]>

* [INJIMOB-685] remove redundant store error in request machine

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-685] remove redundant logic to remove the tampered vc metadata

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-685] fix the logic of checking if tampered vc is myvc or received vc

Signed-off-by: PuBHARGAVI <[email protected]>

* [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 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [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 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-685] remove sharing reason related code

Co-authored-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB_685] remove unused event in vc machine

Signed-off-by: PuBHARGAVI <[email protected]>

---------

Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>

* Fixed receive card header is fully in caps (#1269)

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-856] add testIds (#1272)

testIDs added for - Inji tour guide slides, banner notification, issuer component

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-852] - Grace fully handling scrollToIndex error of flatlist (#1275)

Signed-off-by: Sreenadh S <[email protected]>

* [INJIMOB-632] show backup / restore in progress banner (#1264)

* [INJIMOB-632] show backup in progress banner

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-632] show restore in progress banner

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-632] change info banner's color

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-864] disable backup button when restoring and vice versa (#1279)

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1281)

Signed-off-by: Sreenadh S <[email protected]>

* [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 <[email protected]>

* [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found

Co-authored-by: adityankannan-tw <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-869] remove unused method in store.ts machine

Co-authored-by: adityankannan-tw <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-869] revert removing vc metadata if file not found

Co-authored-by: adityankannan-tw <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [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 <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-865] remove vc metadata when file is not found

Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-869] add code comments & fix minor code issues

Signed-off-by: Harsh Vardhan <[email protected]>

---------

Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Harsh Vardhan <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>

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

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

Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine

Signed-off-by: PuBHARGAVI <[email protected]>

* INJIMOB-604 Replace Error message overlay with new error screen.

Signed-off-by: BalachandarG <[email protected]>

* [INJI-611]: New Error screen implemented

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

* [INJI-604] merge develop and resolve conflicts

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJI-604] remove unnecessary log in error screen

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings

Signed-off-by: PuBHARGAVI <[email protected]>

* INJIMOB-604 : Removing logs and renaming functions

Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

---------

Signed-off-by: BalachandarG <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>

* Inji mob 737 rtl issue (#1254)

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

---------

Signed-off-by: srikanth716 <[email protected]>

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

* MOSIP-31255 MOSIP-31106

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflicts

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31456

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* added sunbird test case for ios

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31478

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31468 MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31686 MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflicts

Signed-off-by: Anup Nehe <[email protected]>

---------

Signed-off-by: Anup Nehe <[email protected]>

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

* [INJIMOB-748] update activity log messages

Signed-off-by: Harsh Vardhan <[email protected]>

* [INJIMOB-748] reuse locale strings of idType

Signed-off-by: Harsh Vardhan <[email protected]>

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

Signed-off-by: Harsh Vardhan <[email protected]>

---------

Signed-off-by: Harsh Vardhan <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

* [Injimob-722]: Updating the constants.

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

* [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 <[email protected]>

* [INJIMOB-745]: Implemented Error modal of sharing failure with title, message & CTAs were display based on Error_codes

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Updated respective text in all the locals

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Fixed the error of go to history button in success sharing status

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Resolved PR Merge conflicts

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: remove duplicate import which causes build issue

Signed-off-by: srikanth716 <[email protected]>

* [INJIMOB-745]: Modified SharingStatusModal into dynamic props for buttons, text as per requirement

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Made changes in the rendering of respective button as per requirements

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Adjusted the alignment of bottom buttons & Made header as per wire frame

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [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 <[email protected]>

* [INJIMOB-745]: Added accessible props to Pressable in SharingStatusModal

Signed-off-by: Anil_Kumar_Majji <[email protected]>

* [INJIMOB-745]: Modified success screen icons in to SVG's

Signed-off-by: Anil_Kumar_Majji <[email protected]>

---------

Signed-off-by: Anil_Kumar_Majji <[email protected]>
Signed-off-by: srikanth716 <[email protected]>
Co-authored-by: srikanth716 <[email protected]>

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

* MOSIP-31255 MOSIP-31106

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflicts

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31456

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* added sunbird test case for ios

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31478

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31468 MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

---------

Signed-off-by: Anup Nehe <[email protected]>
Signed-off-by: BalachandarG <[email protected]>

* [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 <[email protected]>

* [INJIMOB-685] remove redundant store error in request machine

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-685] remove redundant logic to remove the tampered vc metadata

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-685] fix the logic of checking if tampered vc is myvc or received vc

Signed-off-by: PuBHARGAVI <[email protected]>

* [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 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [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 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-685] remove sharing reason related code

Co-authored-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB_685] remove unused event in vc machine

Signed-off-by: PuBHARGAVI <[email protected]>

---------

Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>

* Fixed receive card header is fully in caps (#1269)

Signed-off-by: Anil_Kumar_Majji <[email protected]>
Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-856] add testIds (#1272)

testIDs added for - Inji tour guide slides, banner notification, issuer component

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-852] - Grace fully handling scrollToIndex error of flatlist (#1275)

Signed-off-by: Sreenadh S <[email protected]>
Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-632] show backup / restore in progress banner (#1264)

* [INJIMOB-632] show backup in progress banner

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-632] show restore in progress banner

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-632] change info banner's color

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-864] disable backup button when restoring and vice versa (#1279)

Signed-off-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: BalachandarG <[email protected]>

* [Injimob-722]: Adding Banner type Info

Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-867] - remove all files including unsynced files and get latest file based on date (#1281)

Signed-off-by: Sreenadh S <[email protected]>
Signed-off-by: BalachandarG <[email protected]>

* [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 <[email protected]>

* [INJIMOB-865,868] fix duplicate vckey value for restored vcs and remove vc metadata if file not found

Co-authored-by: adityankannan-tw <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-869] remove unused method in store.ts machine

Co-authored-by: adityankannan-tw <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-869] revert removing vc metadata if file not found

Co-authored-by: adityankannan-tw <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [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 <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-865] remove vc metadata when file is not found

Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-869] add code comments & fix minor code issues

Signed-off-by: Harsh Vardhan <[email protected]>

---------

Signed-off-by: Harsh Vardhan <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Harsh Vardhan <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

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

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

Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-604] remove the card from UI when verify credential is failed and show error overlay

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-604] remove unused actions in existingMosipVcItem and issuers machine

Signed-off-by: PuBHARGAVI <[email protected]>

* INJIMOB-604 Replace Error message overlay with new error screen.

Signed-off-by: BalachandarG <[email protected]>

* [INJI-611]: New Error screen implemented

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

* [INJI-604] merge develop and resolve conflicts

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJI-604] remove unnecessary log in error screen

Signed-off-by: PuBHARGAVI <[email protected]>

* [INJIMOB-604] remove removeVcFromMyVcs action from verify vc failed event and fix typegen warnings

Signed-off-by: PuBHARGAVI <[email protected]>

* INJIMOB-604 : Removing logs and renaming functions

Signed-off-by: BalachandarG <[email protected]>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

---------

Signed-off-by: BalachandarG <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>

* Inji mob 737 rtl issue (#1254)

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

* [INJIMOB-737]: fix RTL issue

Signed-off-by: srikanth716 <[email protected]>

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

Signed-off-by: srikanth716 <[email protected]>

---------

Signed-off-by: srikanth716 <[email protected]>
Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

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

Signed-off-by: BalachandarG <[email protected]>

---------

Signed-off-by: BalachandarG <[email protected]>
Signed-off-by: Anil_Kumar_Majji <[email protected]>
Signed-off-by: srikanth716 <[email protected]>
Signed-off-by: Anup Nehe <[email protected]>
Signed-off-by: PuBHARGAVI <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>
Signed-off-by: Sreenadh S <[email protected]>
Signed-off-by: Harsh Vardhan <[email protected]>
Co-authored-by: Anil_Kumar_Majji <[email protected]>
Co-authored-by: srikanth716 <[email protected]>
Co-authored-by: anup-nehe <[email protected]>
Co-authored-by: PuBHARGAVI <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Sreenadh S <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>
Co-authored-by: Harsh Vardhan <[email protected]>
Co-authored-by: Srikanth Kola <[email protected]>

* MOSIP-28901 | BrowserStack integration completed with inji tests (#1299)

* MOSIP-31479 Updated read me file for inji automation

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | android sanity updated

Signed-off-by: kamalsingh <[email protected]>

---------

Signed-off-by: kamalsingh <[email protected]>

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

Signed-off-by: adityankannan-tw <[email protected]>
Co-authored-by: adityankannan-tw <[email protected]>

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

* MOSIP-31479 Updated read me file for inji automation

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | android sanity updated

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <[email protected]>

---------

Signed-off-by: kamalsingh <[email protected]>

* [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 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* [INJIMOB-531] upgrade secure-keystore package version

Signed-off-by: KiruthikaJeyashankar <[email protected]>

---------

Signed-off-by: KiruthikaJeyashankar <[email protected]>
Co-authored-by: Harsh Vardhan <[email protected]>

* replace storeVerifiableCredential context variable with verifiable credential and remove unused actions in vc item machine (#1307)

Signed-off-by: PuBHARGAVI <[email protected]>

* MOSIP-31347 | Fixed sonar issues (#1309)

* MOSIP-31479 Updated read me file for inji automation

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | browserstack integration done

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | android sanity updated

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31479 | framework restructured

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31347 | Sonar issues fixed

Signed-off-by: kamalsingh <[email protected]>

* MOSIP-31347 | Sonar issues fixed

Signed-off-by: kamalsingh <[email protected]>

---------

Signed-off-by: kamalsingh <[email protected]>

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

* MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* resolve conflict

Signed-off-by: Anup Nehe <[email protected]>

* MOSIP-31384

Signed-off-by: Anup Nehe <[email protected]>

* incorprated changes

Signed-off-by: Anup Nehe <[email protected]>

---------

Signed-off-by: Anup Nehe <[email protected]>

* Reverse Sync Release 0.11.0 into develop (#1326)

* fix cancel download popup not shown

Signed-off-by: KiruthikaJeyashankar <[email protected]>

* fix: show tuvali version

Co-authored-by: vijay151096 <[email protected]>
Signed-off-by: KiruthikaJeyashankar <[email protected]>

* downgrade tuvali version to 0.4.6 for qa testing (#1149)

Signed-off-by: PuBHARGAVI <[email protected]>

* Revert "downgrade tuvali version to 0.4.6 for qa testing (#1149)"

This reverts commit 633f42f65f07612f4ed628c650841a12c034e235.

Signed-off-by: Swati Goel <[email protected]>

* 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 <[email protected]>

* [INJI-766] remove backupAndRestore variable from env file

Signed-off-by: PuBHARGAVI <[email protected]>

* 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 <[email protected]>

* [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 <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>

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

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

Signed-off-by: Vijay <[email protected]>

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

Signed-off-by: Vijay <[email protected]>

---------

Signed-off-by: Vijay <[email protected]
  • Loading branch information
20 people authored Apr 24, 2024
1 parent 63fe022 commit 386338b
Show file tree
Hide file tree
Showing 42 changed files with 811 additions and 655 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#MIMOTO_HOST=http://mock.mimoto.newlogic.dev
MIMOTO_HOST=https://api.qa-inji.mosip.net

ESIGNET_HOST=https://api.qa-inji.mosip.net
ESIGNET_HOST=https://esignet.qa-inji.mosip.net

OBSRV_HOST = https://dataset-api.obsrv.mosip.net

Expand Down
46 changes: 17 additions & 29 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
fileignoreconfig:
- filename: package.json
checksum: 1fae2f064dd575e85fe18ff2cfdb07dd08fbda4e2e10b2ebba9532031e737942
checksum: 730263252adbe53cde58fb0b6988e519e766fe0f89a7b8cd261a1e5e5e598328
- filename: package-lock.json
checksum: 38b89f9830e609a3db573ff7ba26ebd770bc18f87b0a0fbe411bc60fd40888df
checksum: 8e91542dfeba34460b4700c5b640fe6802cb1b38e1dbafd2ebcaac2fd9dbed36
- filename: lib/jsonld-signatures/suites/ed255192018/ed25519.ts
checksum: 493b6e31144116cb612c24d98b97d8adcad5609c0a52c865a6847ced0a0ddc3a
- filename: components/PasscodeVerify.tsx
Expand Down Expand Up @@ -48,7 +48,7 @@ fileignoreconfig:
- filename: ios/fastlane/Fastfile
checksum: a4e3772dc67a07ecbcfc58be0d6d4f7fa799cec7ac25bd269ac29459c8669ca4
- filename: machines/bleShare/scan/scanMachine.ts
checksum: 5f4a183db610fe0ffe36e3e1129d67221535335e4a866341a5b8759228ddee15
checksum: a514c958ca3da3c5b22a1a95ad680af8f05fb22638fab79b3842aa8fcc1b4a17
- filename: screens/PasscodeScreen.tsx
checksum: 5d3003027b245234f8c00bfc98836f1fb90a5d9525ffacf61c53f3d50954aa6a
- filename: screens/PasscodeScreen.tsx
Expand Down Expand Up @@ -104,7 +104,7 @@ fileignoreconfig:
- filename: injitest/src/test/java/androidTestCases/PinVcTest.java
checksum: 6ec2787bee662ff158cbd7489d09ab131ab74484e42d7c5eba342e54898c891d
- filename: injitest/src/test/java/androidTestCases/NoNetworkAndroidTest.java
checksum: 9d987a7422418f331960f897c1c10ca7e8209680b948eb8d7b48b0fe655e8659
checksum: c300122d39af06f68ecd0b6dc287daa0370fc6b744072944ddcc7fe4ded79fb3
- filename: injitest/src/test/java/androidTestCases/CredentialRegistryTest.java
checksum: 126ad4f513d5e417fdc3ccbace187315b8aae4399806d3259421f8bca7d41254
- filename: injitest/src/test/java/iosTestCases/NoNetworkIosTest.java
Expand Down Expand Up @@ -138,15 +138,15 @@ fileignoreconfig:
- filename: .github/workflows/ui-automation.yml
checksum: 0b26a5dcb7524ba15d6aaeaf04f2ef94be9d25ef702d9072d6628bcd58e50f36
- filename: components/BannerNotificationContainer.tsx
checksum: dae3691fe5d7efffd592f9d79917cca5e699e5ddd1dc7a42b6ab0d69de594363
checksum: a98ff1a0dd96d3ead4b8191320be8b0c7a558cda6b0de39f1c62aaa8efef9fb8
- filename: components/HelpScreen.tsx
checksum: bbc69143bd37d065bba3800396301db5a0318e8b7ba51ecd49142dda68783a01
- filename: injitest/README.md
checksum: 82974a6b9363512472272245e9b433f92e63377e58ba306980876b745181a09c
- filename: shared/VCMetadata.ts
checksum: e93f988415bf91064e2cf5fbc09ff6c7226798baa5da721fa0715d5d0d6afddf
- filename: ios/Podfile.lock
checksum: 406f220cd0fd4526951b3792d1403ec0fb701fbbd22a4d887b62e90b69b1e6d0
checksum: c8f330a55ad911e59921215bf7d086db3dbdb5eab28202b3b450d780498ea880
- filename: components/BackupAndRestoreBannerNotification.tsx
checksum: e465a9947727687d784d0cb9d8db1e28f765b0659bf4a3aa6d75643aa7b14102
- filename: components/ActivityLogEvent.ts
Expand All @@ -160,7 +160,7 @@ fileignoreconfig:
- filename: machines/backupAndRestore/backup.typegen.ts
checksum: 65e671fb5a64611f00a8ca4ea0811fa0be145e8c7cc8b4fcfabbd8d882c29a96
- filename: machines/backupAndRestore/backupAndRestoreSetup.ts
checksum: 03767f9922526a765d62f8ac82a0ece12fcf7028400f64f492be6ee5daca72cd
checksum: 5fc57c926cf1b97bf3226ef30149d59ab3c5b437aad3315306b505dc6207d37d
- filename: machines/backupAndRestore/backupAndRestoreSetup.typegen.ts
checksum: b55be87b377515af3533c66ca23670c05032c3737adaaad2901f7c6d639b9519
- filename: injitest/src/main/resources/AidData.json
Expand All @@ -174,7 +174,7 @@ fileignoreconfig:
- filename: injitest/src/test/java/androidTestCases/ChangeLanguageTest.java
checksum: c0234ddd85035f6c2cd62ba96a8a2b85da71f0752e9888130b9675bb6194bebe
- filename: ios/Inji/Inji.entitlements
checksum: c8fe11447ecb82eb456686522f816487c2fa7428bc71eb7e86330317f409ba15
checksum: b2d643f91a929933747b539b9d6a87fcac17317716dbb9ccfb399e7c53d8cd52
- filename: injitest/src/test/java/iosTestCases/ChangeLanguageTest.java
checksum: d94cbf47726c3650b4b623e6aa76e113edf553616319450d01f05294163572e9
- filename: screens/Home/MyVcs/IdInputModal.tsx
Expand All @@ -188,7 +188,7 @@ fileignoreconfig:
- filename: screens/Home/IntroSlidersScreen.tsx
checksum: 9880724461b194db7651737576ad2fd2db9cf3b4e732747f59be422a7ff4e4a1
- filename: .env
checksum: 9386b7d2d9bba27d8f15e6cb482451dc45b785b4caa31bc29718ef16967e6ed1
checksum: e4254ca79a1269161ac3e9d4870680a8650ac7dbdf61c39c084722a9e8925669
- filename: machines/VCItemMachine/VCItemMachine.typegen.ts
checksum: 850b5d02636bef9e286fc0fbc4ffffbd38068f332c319302a906496f4bc1c8a1
- filename: machines/VCItemMachine/VCItemEvents.ts
Expand Down Expand Up @@ -224,7 +224,7 @@ fileignoreconfig:
- filename: ios/Inji.xcodeproj/project.pbxproj
checksum: 766e3dcb299f52ea75e87a1e6e7ce106872bb2f2481d54700995ca02b742b60f
- filename: ios/Inji/Info.plist
checksum: 57705369faf52801876baf0d25a3cee690de2fd87927454689b13963408a8e92
checksum: 9237e54ac8bbc0a4ad4c5d82ffe5b1ae4ccadfce6745f59cee1260c469212701
- filename: machines/backupAndRestore/backupRestore.ts
checksum: 60a55a1d0ef6e79f7b9fa1e61ed31b933364afb429bff03cebbc56339c764499
- filename: machines/backupAndRestore/backupRestore.typegen.ts
Expand All @@ -236,27 +236,15 @@ fileignoreconfig:
- filename: machines/IssuersMachine.typegen.ts
checksum: 959fef1e51f0f3d5b12933f7b362e96401fb776ab12f0d13c6e542918b2ff255
- filename: screens/Home/MyVcsTab.tsx
checksum: 2dd6ce0466bf3a371e4a3fcc5a7f35e6c71f1668ce1e0572e5aa7a2b1f00fd72
checksum: 2b40abfa481b73834ec423242e77b20d725579e7323011f27cfd571ba013fe96
- filename: machines/store.ts
checksum: 1796f1f6ada745f7ae504beddfa4de95e3a87fdcc39364827aaf9feb80d93b62
checksum: 12defe49a865358a5212d03de75d13877e7c5cb75f5038c96abd3726b36c18dc
- filename: machines/store.typegen.ts
checksum: 46f3a7c2d15ed03fc70e27ecae5a12c128011c49913b35cdb8edba12b1a999db
- filename: machines/VerifiableCredential/VCMetaMachine/VCMetaMachine.ts
checksum: 37428fb5be8a8ed9e49e69dcc62e8f029b3c7923b02a51549af36ca16b3050cc
- filename: machines/Issuers/IssuersMachine.ts
checksum: 1eb1e912ea76c88a8d477cce9742da59b5bb41a2a39cc1dc67c5bca240c1553b
- filename: machines/Issuers/IssuersEvents.ts
checksum: fd8c30e0cf43a784be883c9d79a3bff0d2bcd9075e937d225939040542998b10
- filename: machines/Issuers/IssuersGuards.ts
checksum: d87b6f4277c4be68f1884efa5c73e1b1d02a1afaefb276417b95a312f599578a
- filename: machines/Issuers/IssuersActions.ts
checksum: 63cbedfbedbe3ef7d5553e44df04d105a8b171d23bf46d1d85daff45e54bcf78
- filename: machines/Issuers/IssuersService.ts
checksum: ee7622a03c23705b4c4dea218ccbe6504a51a5a68170a9059a2cde3b4c6a9984
- filename: .github/scripts/set-google-clientid.sh
checksum: 013ef3b43f50ba05e18c9c83e89cc366c3f0d8ed4d931ce7daa19a757880419b
- filename: components/QrCodeOverlay.tsx
checksum: b49a3f53dd4a522f8ce47f2af72ade33e337ddbd40068911458bb3ad54197b63
- filename: screens/Issuers/CredentialTypeSelectionScreen.tsx
checksum: 144bbf59e86a89bf580ac7931645ca3eaed69a9409de36f6ce9f88a14091a9d3
checksum: c80ba680932ae3af7d1238f4db0b3f5e12c343c79335f0cd235f40068bbc03cb
- filename: machines/VerifiableCredential/VCMetaMachine/VCMetaActions.ts
checksum: 528b2eb9640765896b25c3ac054d5b4015d9c1c255fb744308a766108d361c1d
- filename: machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors.ts
checksum: fdc3d7685b7a3ad764ef5259814e921887f4c4941b952a9c169ef030905ea956
version: ""
5 changes: 0 additions & 5 deletions components/MessageOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,3 @@ export interface VCSharingErrorStatusProps {
title: string;
message: string;
}

export interface VCSharingErrorStatusProps {
title: string;
message: string;
}
6 changes: 1 addition & 5 deletions components/QrCodeOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ export const QrCodeOverlay: React.FC<QrCodeOverlayProps> = props => {
try {
qrData = await RNSecureKeyStore.get(props.meta.id);
} catch {
let qrDataJSON = {
verifiableCredential: props.verifiableCredential,
meta: props.meta,
};
qrData = generateQRData(JSON.stringify(qrDataJSON));
qrData = generateQRData(JSON.stringify(props.verifiableCredential));
await RNSecureKeyStore.set(props.meta.id, qrData, {
accessible: ACCESSIBLE.ALWAYS_THIS_DEVICE_ONLY,
});
Expand Down
6 changes: 2 additions & 4 deletions components/WalletBindingSuccessController.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import {useContext} from 'react';
import {GlobalContext} from '../shared/GlobalContext';
import {useSelector} from '@xstate/react';
import {
VcMetaEvents,
selectWalletBindingSuccess,
} from '../machines/VerifiableCredential/VCMetaMachine/VCMetaMachine';
import {selectWalletBindingSuccess} from '../machines/VerifiableCredential/VCMetaMachine/VCMetaSelectors';
import {VcMetaEvents} from '../machines/VerifiableCredential/VCMetaMachine/VCMetaMachine';

export const UseWalletBindingSuccess = () => {
const {appService} = useContext(GlobalContext);
Expand Down
30 changes: 3 additions & 27 deletions components/ui/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import {Text, TouchableOpacity, View, I18nManager} from 'react-native';
import {Icon} from 'react-native-elements';
import {Text, View} from 'react-native';
import {Column, Row} from './Layout';
import {Theme} from './styleUtils';
import testIDProps from '../../shared/commonUtil';
import {BackButton} from './backButton/BackButton';

export const Header: React.FC<HeaderProps> = ({goBack, title, testID}) => {
return (
Expand All @@ -18,31 +18,7 @@ export const Header: React.FC<HeaderProps> = ({goBack, title, testID}) => {
marginBottom: 22,
marginVertical: 16,
}}>
<TouchableOpacity onPress={goBack} {...testIDProps('goBack')}>
{I18nManager.isRTL ? (
<Icon
name="arrow-right"
type="material-community"
onPress={goBack}
containerStyle={{
...Theme.Styles.backArrowContainer,
marginLeft: 10,
}}
color={Theme.Colors.Icon}
/>
) : (
<Icon
name="arrow-left"
type="material-community"
onPress={goBack}
containerStyle={{
...Theme.Styles.backArrowContainer,
marginLeft: 10,
}}
color={Theme.Colors.Icon}
/>
)}
</TouchableOpacity>
<BackButton onPress={goBack} customIconStyle={{marginLeft: 10}} />
<Row fill align={'center'}>
<Column>
<View style={{alignItems: 'center', marginLeft: -40}}>
Expand Down
15 changes: 4 additions & 11 deletions components/ui/Modal.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import React from 'react';
import {I18nManager, Modal as RNModal, Pressable, View} from 'react-native';
import {I18nManager, Modal as RNModal, View} from 'react-native';
import {Icon} from 'react-native-elements';
import {Column, Row, Text} from '.';
import {useSendVcScreen} from '../../screens/Scan/SendVcScreenController';
import {DeviceInfoList} from '../DeviceInfoList';
import {ElevationLevel, Theme} from './styleUtils';
import testIDProps from '../../shared/commonUtil';
import {BackButton} from './backButton/BackButton';

export const Modal: React.FC<ModalProps> = props => {
const controller = useSendVcScreen();
Expand All @@ -29,16 +30,8 @@ export const Modal: React.FC<ModalProps> = props => {
color={Theme.Colors.Icon}
/>
) : null}
{props.arrowLeft ? (
<Pressable onPress={props.onDismiss} accessible={false}>
<Icon
{...testIDProps('arrowLeft')}
name={I18nManager.isRTL ? 'arrow-right' : 'arrow-left'}
type="material-community"
containerStyle={Theme.Styles.backArrowContainer}
color={Theme.Colors.Icon}
/>
</Pressable>
{props.arrowLeft && props.onDismiss ? (
<BackButton onPress={props.onDismiss} />
) : null}
<Row
fill
Expand Down
11 changes: 11 additions & 0 deletions components/ui/backButton/BackButton.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';
import renderer from 'react-test-renderer';
import {BackButton} from './BackButton';

describe('Back button test', () => {
it('should render the back button ', () => {
const backButtonTree = renderer.create(<BackButton onPress={jest.fn} />);

expect(backButtonTree).toMatchSnapshot();
});
});
33 changes: 33 additions & 0 deletions components/ui/backButton/BackButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import React from 'react';
import {I18nManager, TouchableOpacity} from 'react-native';
import {Icon} from 'react-native-elements';
import testIDProps from '../../../shared/commonUtil';
import {Theme} from '../styleUtils';

export const BackButton: React.FC<BackButtonProps> = (
props: BackButtonProps,
) => {
let containerStyle: object = Theme.Styles.backArrowContainer;
if (props.customIconStyle)
containerStyle = {...containerStyle, ...props.customIconStyle};
return (
<TouchableOpacity
onPress={props.onPress}
{...testIDProps('goBack')}
style={{zIndex: 1}}>
<Icon
{...testIDProps('arrow-left')}
name={I18nManager.isRTL ? 'arrow-right' : 'arrow-left'}
type="material-community"
onPress={props.onPress}
containerStyle={containerStyle}
color={Theme.Colors.Icon}
/>
</TouchableOpacity>
);
};

interface BackButtonProps {
onPress: () => void;
customIconStyle?: object;
}
40 changes: 40 additions & 0 deletions components/ui/backButton/__snapshots__/BackButton.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Back button test should render the back button 1`] = `
<View
accessibilityLabel="goBack"
accessibilityState={
{
"busy": undefined,
"checked": undefined,
"disabled": undefined,
"expanded": undefined,
"selected": undefined,
}
}
accessibilityValue={
{
"max": undefined,
"min": undefined,
"now": undefined,
"text": undefined,
}
}
accessible={true}
collapsable={false}
focusable={true}
onClick={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"opacity": 1,
"zIndex": 1,
}
}
/>
`;
25 changes: 17 additions & 8 deletions ios/Inji/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Bluetooth is used to allow sharing VCs with another device</string>
Expand All @@ -79,6 +71,23 @@
<string>Allow $(PRODUCT_NAME) to access your location</string>
<key>NSMicrophoneUsageDescription</key>
<string>Allow $(PRODUCT_NAME) to access your microphone</string>
<key>UIAppFonts</key>
<array>
<string>MaterialIcons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome6_Brands.ttf</string>
<string>FontAwesome6_Solid.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>FontAwesome6_Regular.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Entypo.ttf</string>
<string>Feather.ttf</string>
<string>AntDesign.ttf</string>
</array>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>
<key>UIRequiredDeviceCapabilities</key>
Expand Down
11 changes: 5 additions & 6 deletions ios/Inji/Inji.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@
<string>Default</string>
</array>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.mosip.inji.wallet.mobileid</string>
</array>
<array/>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudDocuments</string>
<string>CloudKit</string>
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.io.mosip.inji.wallet.mobileid</string>
</array>
<array/>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
</dict>
</plist>
Loading

0 comments on commit 386338b

Please sign in to comment.