Skip to content

Commit

Permalink
Merge release-0.11.0 to be in sync with latest code (#1311)
Browse files Browse the repository at this point in the history
* 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]>

* downgrade cocoapods version (#1231)

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

* MOSIP-31468  added testcases and stabilizing script  (#1229)

* 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]>

---------

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

* [INJI-709] fix home screen toaster success message (#1219)

* [INJI-709] fix home screen toaster success message

Signed-off-by: Srikanth Kola <[email protected]>

* [INJI-709] create common container for walletbinding and backup banner notification

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

* [INJI-709] reverting the controller changes

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

* [INJI-709] reverting the controller changes

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

* [INJI-709] moving vc machine into VCItemMachine package

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

* [INJI-709] moving vc machine into VCItemMachine package

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

* [INJI-709] add margin between the multiple banners

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

---------

Signed-off-by: Srikanth Kola <[email protected]>
Signed-off-by: srikanth716 <[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]>

* MOSIP-31478 added ios pending testcase (#1235)

* 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]>

---------

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

* [Injimob 751] remove new tag for backup and restore feature in settings screen if the user has explored it (#1233)

* [INJIMOB-751] don't show backup and restore new tag in settings screen once the option is explored

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

* [INJIMOB-751] change the name of isBackupAndRestoreOptionExplored to isBackupAndRestoreExplored in all places

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

* [INJIMOB-751] call setBackupAndRestoreEvent only if the feature is not explored

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

---------

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

* [INJIMOB-788] handle UI issues in backup & restore flow (#1237)

* [INJIMOB-788] increase pressable area of back button in modal

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

* [INJIMOB-788] modify content in backup screen

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

* [INJIMOB-788]: add loader for setting up as a modal

Signed-off-by: Pooja Babusingh <[email protected]>

* [INJIMOB-788]: modify styles of cloud confirmation screen

Signed-off-by: Pooja Babusingh <[email protected]>

* [INJIMOB-788]: modify styles of error component

Signed-off-by: Pooja Babusingh <[email protected]>

* [INJIMOB-788]: add error message toaster when backup file doesnt exist in cloud

Signed-off-by: Pooja Babusingh <[email protected]>

* [INJIMOB-788] show permission denied consent when user did not give required drive permissions

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

* [INJIMOB-788] split download and unzip of backupfile to different states

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

* [INJIMOB-788] remove unused components

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

* [INJI-788] fix BYTES_IN_MEGABYTE value

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

* [INJIMOB-788] add telemetry events for dataBackup & restore setup flow

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

* [INJIMOB-788] Fetch last backup details from cloud if not available in local storage

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

* [INJIMOB-788] change style of backup & restore screen

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

* [INJIMOB-788] modify new label style

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

* [INJIMOB-788] extract common styles to Theme

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

* [INJIMOB-788] modify error styles

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

* [INJIMOB-788] modify banner notification styles

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

* [INJIMOB-788] modify content of backup and restore banner

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

* [INJIMOB-788] extract functions to remove duplication

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

* [INJIMOB-788] add title to permission required screen

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

---------

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

* [INJIMOB-799] append timestamp to the restored vc vckey to make it unique (#1230)

* [INJIMOB-799] append timestamp to the restored vc vckey to make it unique

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

* [INJIMOB-799] set isPinned status to false for all VCs before generating backup file

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

* [INJIMOB-799] add timestamp to the vcMetadata and add it to the restored vc vckey to make it unique

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

* [INJIMOB-799] send error event when exporting data is failed and refactor the way of setting timestamp in metadata

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

* [INJIMOB-799] call getVcKey method on vcMetadata class instance not directly on vc metadata

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

* [INJIMOB-799] update vc item machine typegen files

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

---------

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

* [INJIMOB 841] fix the logic of updating the pin status for e-signet and sunbird VCs (#1239)

* [INJIMOB-841] fix the logic of updating the pin status for esignet and sunbird cards

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

* [INJIMOB-841] remove the occurence of setVcUpdate event in all files

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

---------

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

* [INJI-763] use fixed version for iriscan library (#1220)

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

* MOSIP-31479 Updated read me file for inji automation (#1244)

Signed-off-by: kamalsingh <[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 821] add setTimeout api in the react native cloud storage library to set the timeout of the fetch operation (#1245)

* [INJIMOB-841] fix the logic of updating the pin status for esignet and sunbird cards

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

* [INJIMOB-841] remove the occurence of setVcUpdate event in all files

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

* [INJIMOB-821] update react-native-cloud-storage package and generate patch file for setTimeout api changes

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

* [INJIMOB-821] add setTimeout function type definition in RNCloudStorage.d.ts file and call it in inji

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

---------

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

* Inji mob 737 rtl issue (#1238)

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

---------

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

* Remove error toaster when retrying for backup or restore (#1241)

* [INJIMOB-825]: remove error toaster when retrying for backup or restore

Signed-off-by: Pooja Babusingh <[email protected]>

* [INJIMOB-825]: refactor to check on data availability and storage avilability

Signed-off-by: Pooja Babusingh <[email protected]>

* [INJIMOB-788] add gap between action buttons in Error screen

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

* [INJIMOB-788] add theme colors to backup&restore flow icons

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

* [INJIMOB-788] modify style of gradient button

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

---------

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

* [INJI-766] remove backupAndRestore variable from env file (#1249)

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

* Inji 775-auto backup (#1240)

* [INJIMOB-775]: add autobackup flow for VC downlaod and deletion

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

* [INJIMOB-775]: add logic to autobackup on first time account configuration

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: add logic to autobackup vc on deletion and download only if the account is configured

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: add logic to not show success or failure notification for auto backup

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: add logic to trigger auto backup for tampered VC deletion

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: add account configuration check under data backup feature toggle

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: resolve functional issues related to rebase from develop

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: add gaurd condition at all failure for autobackup

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: remove usage of unnecessary event

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: add missing target

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: add missing bracket

Signed-off-by: Alka Prasad <[email protected]>

---------

Signed-off-by: Alka <[email protected]>
Signed-off-by: Alka Prasad <[email protected]>
Signed-off-by: Alka Prasad <[email protected]>

* Remove patch for boost package (#1248)

* hardcode latest version for cocoapods

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

* remove boost patch package

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

* Update push-triggers.yml

* revert the fixed version changes for cocoapods

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

* use kattu workflow for push trigger file

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

---------

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

* Injimob 572 bug received vc deleted (#1247)

* [INJIMOB-572]: Removing filter method to fix the bug for deleted VCs received.

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

* [INJIMOB-572]: Adding timestamp to recevied VCs for VC key uniqueness.

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

---------

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

* Inji mob 726 invalid id error handling (#1246)

* [INJIMOB-726]: refactor Invalid input ID error handling

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

* [INJIMOB-726]: fix case sensitivity of error message

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

* [INJIMOB-726]: fix case sensitivity of error message

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

* [INJIMOB-726]: make id field optional, while calling trim function

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

* Remove patch for boost package (#1248)

* hardcode latest version for cocoapods

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

* remove boost patch package

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

* Update push-triggers.yml

* revert the fixed version changes for cocoapods

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

* use kattu workflow for push trigger file

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

---------

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

---------

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

* Inji 775 (#1250)

* [INJIMOB-788]: add type success in notification banner

Signed-off-by: Alka Prasad <[email protected]>

* [INJIMOB-775]: update logic to trigger autobackup from backup and restore screen and remove usage of backup feature toggle

Signed-off-by: Alka Prasad <[email protected]>

---------

Signed-off-by: Alka Prasad <[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]>

* Inji 787 Xstate refactor (#1262)

* [INJIMOB-837] update bundle id and team id for ios (#1273)

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

* [Injimob-685] fix download error issue which we are getting when the received vc is tampered or when the vc is not stored properly (#1271)

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

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

Signed-off-by: KiruthikaJeyashankar <[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-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 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-685] remove redundant store error in request machine

Signed-off-by: PuBHARGAVI <[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-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-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-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]>

* [INJIMOB-685] revert ios fastfile and project.pbxproj files changes

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

---------

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

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

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 (#1276)

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

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

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

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

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 (#1284)

* [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: adityankannan-tw <[email protected]>
Co-authored-by: KiruthikaJeyashankar <[email protected]>

* Inji 604 Verify VC error changes to be merged into release branch (#1277)

* [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-604]: Transation added for Verification error messages.

Signed-off-by: BalachandarG <[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]>

---------

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

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

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

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

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

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

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

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

---------

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

* mocked the verification and updated the app name for app releated popups (#1290)

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

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

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

* [INJIMOB-531] send base64 encode data to encrypt to avoid data loss (#1305)

* [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation

When we pass data from a react native app with <part1>\x00<part2> value, any data post the \x00 gets truncated (i.e., part2 is trimmed off). This happens most likely with the react native bridge. To avoid this issue of truncation, we are required to pass the data as base64 encoded string and secure-keystore module will perform decoding before processing for encryption.

Co-authored-by: Harsh Vardhan <[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 (#1306)

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

* OpenG2P Beneficiary Card Rendering Changes. (#1308)

* OpenG2P Beneficiary Card Rendering Changes.

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

* OpenG2P Beneficiary Card Rendering Changes.

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

---------

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: adityankannan-tw <[email protected]>
Signed-off-by: Anup Nehe <[email protected]>
Signed-off-by: Srikanth Kola <[email protected]>
Signed-off-by: srikanth716 <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: Pooja Babusingh <[email protected]>
Signed-off-by: kamalsingh <[email protected]>
Signed-off-by: Vijay <[email protected]>
Signed-off-by: Alka <[email protected]>
Signed-off-by: Alka Prasad <[email protected]>
Signed-off-by: Alka Prasad <[email protected]>
Signed-off-by: BalachandarG <[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: vijay151096 <[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: anup-nehe <[email protected]>
Co-authored-by: Srikanth Kola <[email protected]>
Co-authored-by: kamalsinghthoughtworks <[email protected]>
Co-authored-by: Poo…
  • Loading branch information
15 people authored Feb 29, 2024
1 parent 85c1a68 commit 0d4c439
Show file tree
Hide file tree
Showing 23 changed files with 99 additions and 89 deletions.
18 changes: 10 additions & 8 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
fileignoreconfig:
- filename: package.json
checksum: 4770aabfda162fbc0b9a8c53d7dee483ce29b82c6cd3e17e81e3e628d93dbadc
checksum: 730263252adbe53cde58fb0b6988e519e766fe0f89a7b8cd261a1e5e5e598328
- filename: package-lock.json
checksum: 8f9e6bdd4cc0fcbd979455d97d6313e60dda3da1771bef471e53d4efaac9f24d
checksum: 4e09116d21aa8def35ffe234dabec6abc668f15183e172764df2216adb0d2ca1
- filename: lib/jsonld-signatures/suites/ed255192018/ed25519.ts
checksum: 493b6e31144116cb612c24d98b97d8adcad5609c0a52c865a6847ced0a0ddc3a
- filename: components/PasscodeVerify.tsx
Expand Down Expand Up @@ -39,8 +39,6 @@ fileignoreconfig:
checksum: 2ba2721d9722cd9420ae26762316230f7dab1a0be45820cbda4d0ecae0edf957
- filename: screens/Issuers/IssuersScreen.tsx
checksum: 9c53e3770dbefe26e0de67ee4b7d5cc9c52d9823cbb136a1a5104dcb0a101071
- filename: ios/Podfile.lock
checksum: 0e4fce1a146e882a6cabbc3e78ae2c35fe58f1dee956c7d9d85902504135bc92
- filename: shared/commonUtil.ts
checksum: 4a53bb615f2ea0fbf687bd7027c4c246e819dd88bc273941ed611e763d9d2356
- filename: screens/Home/MyVcs/GetIdInputModal.tsx
Expand Down Expand Up @@ -179,7 +177,13 @@ fileignoreconfig:
- filename: components/HelpScreen.tsx
checksum: bbc69143bd37d065bba3800396301db5a0318e8b7ba51ecd49142dda68783a01
- filename: machines/backupRestore.ts
checksum: 433cecb9295c7052731600d16c601c1b6df9cc5a1b9f435423f81aae54d33d47
checksum: bbc69143bd37d065bba3800396301db5a0318e8b7ba51ecd49142dda68783a01
- filename: machines/backupAndRestore/backupAndRestoreSetup.typegen.ts
checksum: 8203331f1628e01faa5e553e749372be278b477ca2d34a0cdafee1438248fb3c
- filename: injitest/README.md
checksum: 82974a6b9363512472272245e9b433f92e63377e58ba306980876b745181a09c
- filename: machines/backupAndRestore/backup.ts
checksum: 71cba6237f203a4a8df931a1b02669351466657f64fb6690545248fbad62f8b8
- filename: machines/backupAndRestore/backupAndRestoreSetup.ts
checksum: 75b07071aef4278f40f16861232b922e5ee8594efc9467984b072966fa7793b8
- filename: machines/backupAndRestore/backupAndRestoreSetup.typegen.ts
Expand All @@ -199,9 +203,7 @@ fileignoreconfig:
- filename: machines/backupAndRestore/backupAndRestoreSetup.typegen.ts
checksum: dd5dc9c42800328c268f3e6d6c96a16e9686dbfa59735e721250dae3ce37e009
- filename: ios/Podfile.lock
checksum: 235f31beadf3833ac763ed1b79e00f588e56990873806627b5abf8643992336a
- filename: machines/backupAndRestore/backup.typegen.ts
checksum: 8811354a68d23e6deb91b1d43347aa70b3ef4467d36276269bdf34e9be411dce
checksum: 369fecac06b3c087b272e7920aa5ffe6734f261ae0af0c376a92ebf5c11415d4
- filename: machines/backupAndRestore/backupAndRestoreSetup.typegen.ts
checksum: dd5dc9c42800328c268f3e6d6c96a16e9686dbfa59735e721250dae3ce37e009
- filename: screens/Home/MyVcsTab.tsx
Expand Down
9 changes: 6 additions & 3 deletions components/VC/VcDetailsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import {Issuers} from '../../shared/openId4VCI/Utils';
export const VcDetailsContainer: React.FC<
ExistingMosipVCItemDetailsProps | EsignetMosipVCItemDetailsProps
> = props => {
if (props.vc.vcMetadata.issuer === Issuers.Sunbird)
return <VCDetailView {...props} />;
return <MosipVCItemDetails {...props} />;
if (
props.vc.vcMetadata.issuer === Issuers.Mosip ||
props.vc.vcMetadata.issuer === Issuers.ESignet
)
return <MosipVCItemDetails {...props} />;
return <VCDetailView {...props} />;
};
9 changes: 6 additions & 3 deletions components/VC/VcItemContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import {Issuers} from '../../shared/openId4VCI/Utils';
export const VcItemContainer: React.FC<
ExistingMosipVCItemProps | EsignetMosipVCItemProps
> = props => {
if (props.vcMetadata.issuer === Issuers.Sunbird)
return <VCCardView {...props} />;
return <MosipVCItem {...props} />;
if (
props.vcMetadata.issuer === Issuers.Mosip ||
props.vcMetadata.issuer === Issuers.ESignet
)
return <MosipVCItem {...props} />;
return <VCCardView {...props} />;
};
2 changes: 1 addition & 1 deletion ios/Inji.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Apple Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
Expand Down
20 changes: 16 additions & 4 deletions ios/Inji/Inji.entitlements
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.mosip.inji.wallet.mobileid</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudDocuments</string>
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.io.mosip.inji.wallet.mobileid</string>
</array>
</dict>
</plist>
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ PODS:
- RNZipArchive/Core (6.1.0):
- React-Core
- SSZipArchive (~> 2.2)
- secure-keystore (0.1.6):
- secure-keystore (0.1.7):
- React-Core
- SSZipArchive (2.4.3)
- TensorFlowLiteC (2.12.0):
Expand Down Expand Up @@ -928,7 +928,7 @@ SPEC CHECKSUMS:
RNSecureRandom: 07efbdf2cd99efe13497433668e54acd7df49fef
RNSVG: 07dbd870b0dcdecc99b3a202fa37c8ca163caec2
RNZipArchive: ef9451b849c45a29509bf44e65b788829ab07801
secure-keystore: 78bf735f42b9d19418568dadbb92712c19a5812e
secure-keystore: 3bc262bc91c5fbcfea92a8d0fd59c1b8b8ababee
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
TensorFlowLiteC: 20785a69299185a379ba9852b6625f00afd7984a
TensorFlowLiteObjC: 9a46a29a76661c513172cfffd3bf712b11ef25c3
Expand Down
16 changes: 8 additions & 8 deletions ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def generate_app_name()
flavor = APP_FLAVOR
case flavor
when "residentapp"
return "MOSIP INJI AP"
return "MOSIP INJI APP"
when "inji"
return "Inji Wallet"
when "collab"
Expand Down Expand Up @@ -123,7 +123,7 @@ platform :ios do
workspace: "Inji.xcworkspace",
scheme: "Inji",
export_method: "app-store",

export_options: {
provisioningProfiles: {
"#{generate_app_bundle_id}" => "match AppStore #{generate_app_bundle_id}"
Expand All @@ -132,9 +132,9 @@ platform :ios do
)

delete_temp_keychain(keychain_name)

end

lane :beta do
keychain_name = TEMP_KEYCHAIN_USER
keychain_password = TEMP_KEYCHAIN_PASSWORD
Expand Down Expand Up @@ -203,7 +203,7 @@ platform :ios do
workspace: "Inji.xcworkspace",
scheme: "Inji",
export_method: "app-store",

export_options: {
provisioningProfiles: {
"#{generate_app_bundle_id}" => "match AppStore #{generate_app_bundle_id}"
Expand All @@ -226,7 +226,7 @@ platform :ios do
},
skip_waiting_for_build_processing: false,
distribute_external: true,
submit_beta_review: false,
submit_beta_review: false,
groups: ["#{TESTFLIGHT_INTERNAL_TESTERS_GROUP}"],
)

Expand All @@ -245,14 +245,14 @@ platform :ios do
sh("cp -R '#{app_path}' '#{output_directory}'")

slack(
message: "#{generate_app_name} #{version} (#{current_build_number}) is uploaded to testflight.",
message: "#{generate_app_name} #{version} (#{current_build_number}) is uploaded to testflight.",
success: true,
slack_url: "#{SLACK_URL}",
default_payloads: [:git_branch, :last_git_commit]
)

end

lane :ios_app_build do

archive_path = gym(
Expand Down
2 changes: 2 additions & 0 deletions locales/ara.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
"qrCodeHeader": "رمز الاستجابة السريعة",
"nationalCard": "البطاقة الوطنية",
"insuranceCard": "بطاقة التأمين",
"beneficiaryCard": "بطاقة المستفيد",
"socialRegistryCard": "بطاقة السجل الاجتماعي",
"uin": "UIN",
"vid": "VID",
"enableVerification": "تفعيل",
Expand Down
2 changes: 2 additions & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
"qrCodeHeader": "QR Code",
"nationalCard": "National Card",
"insuranceCard": "Insurance Card",
"beneficiaryCard": "Beneficiary Card",
"socialRegistryCard": "Social Registry Card",
"uin": "UIN",
"vid": "VID",
"enableVerification": "Activate",
Expand Down
2 changes: 2 additions & 0 deletions locales/fil.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
"qrCodeHeader": "QR Code",
"nationalCard": "Pambansang Kard",
"insuranceCard": "Insurance Card",
"beneficiaryCard": "Benepisyaryo Card",
"socialRegistryCard": "Social Registry Card",
"uin": "UIN",
"vid": "VID",
"enableVerification": "I-activate",
Expand Down
2 changes: 2 additions & 0 deletions locales/hin.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
"qrCodeHeader": "क्यू आर संहिता",
"nationalCard": "राष्ट्रीय कार्ड",
"insuranceCard": "बीमा कार्ड",
"beneficiaryCard": "लाभार्थी कार्ड",
"socialRegistryCard": "सामाजिक रजिस्ट्री कार्ड",
"uin": "UIN",
"vid": "VID",
"enableVerification": "सक्रिय",
Expand Down
2 changes: 2 additions & 0 deletions locales/kan.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
"qrCodeHeader": "QR ಕೋಡ್",
"nationalCard": "ರಾಷ್ಟ್ರೀಯ ಕಾರ್ಡ್",
"insuranceCard": "ವಿಮಾ ಕಾರ್ಡ್",
"beneficiaryCard": "ಫಲಾನುಭವಿ ಕಾರ್ಡ್",
"socialRegistryCard": "ಸಾಮಾಜಿಕ ನೋಂದಣಿ ಕಾರ್ಡ್",
"uin": "UIN",
"vid": "VID",
"enableVerification": "ಸಕ್ರಿಯಗೊಳಿಸಿ",
Expand Down
2 changes: 2 additions & 0 deletions locales/tam.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
"qrCodeHeader": "க்யு ஆர் குறியீடு",
"nationalCard": "தேசிய அட்டை",
"insuranceCard": "காப்பீட்டு அட்டை",
"beneficiaryCard": "பயனாளி அட்டை",
"socialRegistryCard": "சமூக பதிவு அட்டை",
"uin": "UIN",
"vid": "VID",
"enableVerification": "செயல்படுத்த",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const model = createModel(
generatedOn: new Date() as Date,
credential: null as DecodedCredential,
verifiableCredential: null as VerifiableCredential,
storeVerifiableCredential: null as VerifiableCredential,
requestId: '',
lastVerifiedOn: null,
locked: false,
Expand Down Expand Up @@ -143,7 +142,7 @@ export const ExistingMosipVCItemMachine =
on: {
GET_VC_RESPONSE: [
{
actions: ['setCredential', 'setStoreVerifiableCredential'],
actions: 'setCredential',
cond: 'hasCredential',
target: 'checkingVerificationStatus',
},
Expand All @@ -159,11 +158,7 @@ export const ExistingMosipVCItemMachine =
on: {
STORE_RESPONSE: [
{
actions: [
'setCredential',
'setStoreVerifiableCredential',
'updateVc',
],
actions: ['setCredential', 'updateVc'],
cond: 'hasCredential',
target: 'checkingVerificationStatus',
},
Expand Down Expand Up @@ -243,7 +238,7 @@ export const ExistingMosipVCItemMachine =
},
],
CREDENTIAL_DOWNLOADED: {
actions: ['setStoreVerifiableCredential'],
actions: 'setCredential',
target: '#vc-item.checkingVerificationStatus',
},
},
Expand Down Expand Up @@ -386,7 +381,7 @@ export const ExistingMosipVCItemMachine =
src: 'verifyCredential',
onDone: [
{
actions: ['setVerifiableCredential', 'storeContext'],
actions: ['storeContext'],
},
],
onError: [
Expand Down Expand Up @@ -787,32 +782,6 @@ export const ExistingMosipVCItemMachine =
},
{
actions: {
setVerifiableCredential: assign(context => {
return {
...context,
verifiableCredential: {
...context.storeVerifiableCredential,
},
storeVerifiableCredential: null,
vcMetadata: context.vcMetadata,
};
}),

setStoreVerifiableCredential: model.assign((context, event) => {
// the VC can be set in response key iff STORE_RESPONSE event comes
// and in vc iff CREDENTIAL_DOWNLOADED event
const eventResponse = event?.response ? event.response : event?.vc;
return {
...context,
...eventResponse,
storeVerifiableCredential: {
...eventResponse.verifiableCredential,
},
verifiableCredential: null,
vcMetadata: context.vcMetadata,
};
}),

removeVcMetaDataFromStorage: send(
context => {
return StoreEvents.REMOVE_VC_METADATA(
Expand Down Expand Up @@ -1132,7 +1101,6 @@ export const ExistingMosipVCItemMachine =
return {
...context,
...event.vc,
vcMetadata: context.vcMetadata,
};
}
}),
Expand Down Expand Up @@ -1454,9 +1422,9 @@ export const ExistingMosipVCItemMachine =
},

verifyCredential: async context => {
if (context.storeVerifiableCredential) {
if (context.verifiableCredential) {
const verificationResult = await verifyCredential(
context.storeVerifiableCredential,
context.verifiableCredential,
);
if (!verificationResult.isVerified) {
throw new Error(verificationResult.errorMessage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ export interface Typegen0 {
sendVcUpdated: 'PIN_CARD';
sendVerificationError: 'STORE_RESPONSE';
sendWalletBindingSuccess: 'SHOW_BINDING_STATUS';
setCredential: 'GET_VC_RESPONSE' | 'STORE_RESPONSE';
setCredential:
| 'CREDENTIAL_DOWNLOADED'
| 'GET_VC_RESPONSE'
| 'STORE_RESPONSE';
setDownloadInterval: 'done.invoke.vc-item.checkingServerData.loadDownloadLimitConfig:invocation[0]';
setLock: 'done.invoke.vc-item.requestingLock:invocation[0]';
setMaxDownloadCount: 'done.invoke.vc-item.checkingServerData.loadDownloadLimitConfig:invocation[0]';
Expand All @@ -222,10 +225,6 @@ export interface Typegen0 {
setPrivateKey: 'done.invoke.vc-item.addKeyPair:invocation[0]';
setPublicKey: 'done.invoke.vc-item.addKeyPair:invocation[0]';
setRevoke: 'done.invoke.vc-item.requestingRevoke:invocation[0]';
setStoreVerifiableCredential:
| 'CREDENTIAL_DOWNLOADED'
| 'GET_VC_RESPONSE'
| 'STORE_RESPONSE';
setTempWalletBindingResponse: 'done.invoke.vc-item.addingWalletBindingId:invocation[0]';
setThumbprintForWalletBindingId:
| 'done.invoke.vc-item.addingWalletBindingId:invocation[0]'
Expand All @@ -238,7 +237,6 @@ export interface Typegen0 {
| 'error.platform.vc-item.requestingRevoke:invocation[0]';
setVcKey: 'REMOVE';
setVcMetadata: 'UPDATE_VC_METADATA';
setVerifiableCredential: 'done.invoke.vc-item.verifyingCredential:invocation[0]';
setWalletBindingError:
| 'error.platform.vc-item.acceptingBindingOtp.resendOTP:invocation[0]'
| 'error.platform.vc-item.addKeyPair:invocation[0]'
Expand Down
5 changes: 4 additions & 1 deletion machines/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import {
getErrorEventData,
} from '../shared/telemetry/TelemetryUtils';
import RNSecureKeyStore from 'react-native-secure-key-store';
import {Buffer} from 'buffer';

export const keyinvalidatedString =
'Key Invalidated due to biometric enrollment';
Expand Down Expand Up @@ -298,9 +299,11 @@ export const storeMachine =
const hasSetCredentials = SecureKeystore.hasAlias(ENCRYPTION_ID);
if (hasSetCredentials) {
try {
const base64EncodedString =
Buffer.from('Dummy').toString('base64');
await SecureKeystore.encryptData(
DUMMY_KEY_FOR_BIOMETRIC_ALIAS,
'Dummy',
base64EncodedString,
);
} catch (e) {
sendErrorEvent(getErrorEventData('ENCRYPTION', '', e));
Expand Down
Loading

0 comments on commit 0d4c439

Please sign in to comment.