100 Commits

Author SHA1 Message Date
KiruthikaJeyashankar
ffd96affff [INJI-625] fix timeout in vc share (#1099)
* [INJI-625] fix vc share timeout scenario

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] extract constant for android version

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] fix cancel button in VC share connecting screen

pressing the cancel button in connection in progress screen cancels VC share

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] handle stay button in VC share timeout screen

pressing "Stay on the screen" button should continue the connection / sending progress and hide the timeout hint shown to user

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] remove redundant context variable

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] optimize import

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] add cancel button while sending VC

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] refactor duplicated constant

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] show cancel only while sending vc

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJI-625] add hint in connecting screen of wallet

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-12-19 21:39:51 +05:30
Alka
05dd5b9d20 [INJI-332]: update logic to clear idType on change the idType from dropdown
Signed-off-by: Alka <prasadalka1998@gmail.com>
2023-12-12 17:08:01 +05:30
KiruthikaJeyashankar
76122977e8 fix(INJI-552): handle biometric reject on vc download (#1003)
* refactor(INJI-552): store and read generated keypair to avoid multiple write

In issuersMachine, when user is downloading VC via issuer for the forst time, the keypair is generated and stored for further usage. Since we were checking for keypair availability in storage before the read keypair action is sending result event, keypair is generated for every download. This issue is fixed here thus making the 2+nth downloads faster than 1st download.

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* fix(INJI-552): show error when user cancel biometric on download via issuer

actions in error screen after biometric cancellation
RETRY -> ask for biometric and resume downloading from there itself if biometric given
BACK -> Go back to add new card screen

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* fix(INJI-552): Handle biometric cancel on vc download via issuer

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* refactor(INJI-552): change let to const

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-11-16 09:51:01 +05:30
Swati Goel
b75802f57e feat(INJI-499) - Remove unused code for google near by and firebase. (#963)
Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-10-23 16:36:45 +05:30
Swati Goel
142228b0db INJI-473) Code clean up and fixing metro errors/warnings (#947)
* feat(INJI-473) - Removed unused injiTourGuide action.

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

* feat(INJI-473) - Removed unused logKey action.

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

* feat(INJI-473) - Removed unused backendInfo api and state.

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

* feat(INJI-473) - simplify isPasscodeSet logic.

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

* feat(INJI-473) - Move logState to commonUtil to remove cyclic dependency.

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

* feat(INJI-473) - Delete unused code.

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

* feat(INJI-473) - Refactor code to use util function for iOS or isAndroid.

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

* feat(INJI-473) - Move Issuers_Key_Ref into utils.

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

* feat(INJI-473) - Remove profile related resource from setting screen

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

* feat(INJI-473) - Remove unused code for locales.

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

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-10-20 12:50:39 +05:30
PuBHARGAVI
0537cf6699 fix(Inji 332): reset UIN field in add vc modal and set AddVcModal dropdown to VID (#864)
* fix(INJI-332): reset the UIN field in AddVcModal after downloading the VC using AID and show VID in dropdown

* refactor(INJI-332): remove unnecessary formatting changes

* fix(INJI-332): change default value of getIndividualId response to UIN in getVcModal

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

* remove project.pbxproj changes

* Revert "remove project.pbxproj changes"

This reverts commit ba7d9ec872.

* fix(INJI-332): reset the project.pbxproj file

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

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2023-10-13 15:13:44 +05:30
Kiruthika Jeyashankar
6192c22292 refactor(INJI-205): move common error const to consts file
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-10-10 16:19:29 +05:30
Tilak Puli
0dc6139449 Inji-409: Add flipper config (#865)
* feat(inji-344): add flipper config for mmkv and xstate

* feat(inji-409): Add flipper config file and enable devtools for all machines

* feat(inji-409): Add react-navigation to flipper config
2023-10-04 16:38:34 +05:30
Tilak Puli
ec9fd9f6d9 Inji-344: Refactoring VC Key (#798)
* feat(inji-344): Use VC Key class instead of separate functions for managing vc key

* feat(inji-344): Use properties from VcKey Class instead of reading from vckey string

* feat(inji-344): Rename vcKey to vcMetadata

* feat(inji-344): Use vc's unique id or vckey instead of joined string of vc metadata

* feat(inji-344): Use vc key instead of unique id to avoid confusion. Fix issues reg parsing vc metadata

* feat(inji-344):fix redownloading issue

Co-authored-by: Tilak <tilakpuli15@gmail.com>

* feat(inji-344): Remove vc getting stored on update of pin status

* feat(inji-344): update other vc's pin status to false when any vc is pinned

* feat(inji-344): remove hash ID for UIN

* feat(inji-344): revert google services json

* feat(inji-344): remove mmkv logs added for debugging

* feat(inji-344): fix received vcs not getting displayed on reopen of app

* feat(inji-344): fix id not shown in revoke component

---------

Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
2023-09-20 16:51:59 +05:30
Swati Goel
4572aeefb0 Add support to change mimoto and esignet host url under credential registry (#837)
* feat(INJI-360): Add esignet host as env variable and use in QR login flow.

* feat(INJI-360): Fix compile error.

* chore(INJI-360): support esignet and mimoto base url in workflows for Android and iOS

* chore(INJI-360): add ESIGNET_HOST in Fastfile for android.

* chore(INJI-360): remove unnecessary env variables from ios build workflow.

* feat(INJI-360): Add setting to change esignet host url under credetntial registry.

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-09-18 14:38:11 +05:30
Swati Goel
27efaf6cdd Inji 360 Support different host for mimoto and esignet (#829)
* feat(INJI-360): Add esignet host as env variable and use in QR login flow.

* feat(INJI-360): Fix compile error.

* chore(INJI-360): support esignet and mimoto base url in workflows for Android and iOS

* chore(INJI-360): add ESIGNET_HOST in Fastfile for android.

* chore(INJI-360): remove unnecessary env variables from ios build workflow.
2023-09-13 11:24:21 +05:30
PuBHARGAVI
fe3f8a56e1 fix(INJI-329): fix received card expand view and redirect the user to history screen after VC transfer (#799)
* fix(INJI-329): remove onboarding related code from MyVcs machine to show the expanded view of received card

Onboarding is used to check whether we need to show the intro sliders or not now it is handled differently in AppLayout

* fix(INJI-329): redirect the user to the history screen after successfull vc share

* fix(INJI-329): show incoming card screen on the verifier after closing the success popup

redirect the user to received cards screen if user clicks on view received card button and QR code screen if clicks on back button

* refactor(INJI-329): extract bottom tab, scan and request screen names into separate file to maintain the consistency

* refactor(INJI-329): remove activeTab from routeConstants as it is not being used

before new UI merge we have 3 different tabs in home screen and activeTab is used for displaying the current active tab
2023-09-12 13:34:21 +05:30
KiruthikaJeyashankar
f9314dc946 Inji 304 update tuvali and secure keystore version (#784)
* chore(INJI-304): bump up secure keystore version to v0.1.1

* chore(INJI-304): bump up tuvali version to v0.4.4

---------

Co-authored-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com>
2023-08-30 15:50:15 +05:30
Sri Kanth Kola
eaaffc2ee5 fix(INJI-262):pinned VC's audit logs are missing 2023-08-30 13:23:22 +05:30
PoojaBabusing
3b9baa0962 feat(INJI-202): hash uin/vid to store in mmkv and file storage (#780)
* feat(INJI-202): hash uin/vid to store in mmkv and file storage

* feat(INJI-202): refactor to store salt in constants

* feat(INJI-202): refactor argon2i salt and add function to get MMKV data

* feat(INJI-202): refactor to get mkkv data method

---------

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-08-29 12:48:18 +05:30
Dhivya
4cf62e07b3 feat(INJI-255): hash the passcode and store in mmkv 2023-08-24 11:42:18 +05:30
Swati Goel
a5cec84d35 Merge pull request #108 from tw-mosip/inji-262-pin-VC-audit-log
fix(INJI-262):pinned VC's audit logs are missing
2023-08-23 17:34:17 +05:30
Sri Kanth Kola
d040758560 fix(INJI-262):pinned VC's audit logs are missing 2023-08-23 17:25:42 +05:30
Sri Kanth Kola
0574bb658a fix(INJI-262):pinned VC's audit logs are missing 2023-08-23 14:47:05 +05:30
Sri Kanth Kola
393cd0f56f fix(INJI-262):pinned VC's audit logs are missing 2023-08-23 14:45:10 +05:30
Dhivya
18caa4c91a feat(inji-214): [Dhivya] modified state machine for generating keypair 2023-07-24 15:03:24 +05:30
Tilak Puli
16dbb19bc3 feat(#162): [Tilak|Pooja] remove unused parameters in settings.ts 2023-07-18 11:18:47 +05:30
Tilak Puli
38cd1409be feat(#162): [Tilak|Pooja] fix merge issue in hindi and format app id dictionary 2023-07-18 10:56:30 +05:30
Tilak Puli
9d15c615b4 feat(#162): [Tilak|Pooja] extract app id constants. 2023-07-14 17:54:32 +05:30
Vijay
55dbd2431a fix(INJI-206): [Vijay] fix mmkv storage issue, environment url change persistance and literal change 2023-07-11 11:13:31 +05:30
anil_majji
ec5bb94e45 Updated with develop branch along with VcItemContent.tsx, VcItemActivation.tsx 2023-06-23 13:55:32 +05:30
Vijay
1a3e39b6ef feat(INJI-94): [Vijay] Environment Agnostics Basic Implementation
Issue Link: https://mosip.atlassian.net/browse/INJI-94
2023-06-07 12:10:14 +05:30
Sri Kanth Kola
ba99917cfd Merge branch 'develop' of https://github.com/mosip/inji into ui-revamp 2023-05-26 11:44:15 +05:30
Alka Prasad
e21cf15c2b refactor(#26879): reformat storage.ts file to export class instead of all method 2023-04-19 15:43:54 +05:30
anil_majji
4e37b224fa Adjusted RTL in scan screens & corrected env. 2023-04-18 22:22:47 +05:30
anil_majji
eca5dbad39 Solved merge conflicts 2023-04-18 22:16:41 +05:30
Vijay
05655c0c6d feat(#26879): [Alka|Vijay] mmkv storage implementation for meta data and store vc data on file system
Issue Link: https://github.com/mosip/inji/issues/618
2023-04-18 19:11:40 +05:30
anil_majji
a9da996314 Adjusted RTL in scan screens & corrected env. 2023-04-18 10:34:34 +05:30
anil_majji
c085fc3e80 Solved merge conflicts 2023-04-18 10:30:17 +05:30
srikanth716
ac7dd03e2b new ui changes 2023-04-17 21:01:01 +05:30
srikanth716
d218098fd6 Added audit page in history tab 2023-01-16 15:43:36 +05:30
srikanth716
4bd8ca7603 Added audit page in history tab 2023-01-16 15:39:03 +05:30
Monobikash Das
103a38e241 merged with latest develop 2022-09-16 17:57:16 +05:30
Paolo Miguel de Leon
c2dd086ce8 build: add dotenv 2022-09-06 14:33:53 +08:00
Paolo Miguel de Leon
6ba62e511c fix: increase reliability with both discovery mode 2022-09-06 14:33:51 +08:00
Paolo Miguel de Leon
930e6c3480 feat: split large VC into chunks 2022-09-06 14:33:51 +08:00
Paolo Miguel de Leon
5b5449020d wip: google nearby messages 2022-09-06 14:33:40 +08:00
srikanth716
7945177c81 Update constants.ts 2022-08-29 11:31:17 +05:30
srikanth716
2cbeaf637f Update constants.ts 2022-08-29 11:27:41 +05:30
Sri Kanth Kola
70559604af Add CSS Themes and Download vc using AID/RID 2022-08-07 16:40:07 +05:30
Sri Kanth Kola
bb290f1d82 revert back file changes 2022-06-24 18:40:28 +05:30
Sri Kanth Kola
cb7ffe8355 Add CSS themes 2022-06-24 17:03:28 +05:30
Danica Erediano
27a7f44b71 updated 2022-03-28 11:37:00 +08:00
pmigueld
b5c0293377 refactor: rename symbols 2022-03-17 14:25:31 +08:00
pmigueld
c43ee1b2f0 add env constants 2022-02-21 00:06:56 +08:00