Commit Graph

331 Commits

Author SHA1 Message Date
srikanth716
832d922282 Inji 569 using svg instead png (#1093)
* refactor(INJI-569): changing png to svg images from setup to home screen

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* Refactor(INJI-569): changing png to svg images settings screen

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* [INJI-569] changing png to svg image

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* [INJI-569]: Adjusted all the alignment in settings screen

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* [INJI-569] fix SuccessLogo size and and alignment

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* [INJI-569] refactor theme files and removing unused QrLoginWarning component

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* [INJI-569] changing the naming convention of svg images

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* [INJI-569] fix Typo mistake and remove unused imports

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* [INJI-569] fix Typo mistake, misssing imports and remove unused elements

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* [INJI-569]: Adjusted all the alignment of icons with tag name in settings screen

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* [INJI-569] renaming the files

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

---------

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
Co-authored-by: anil_majji <majjianilkumar050@gmail.com>
2023-12-20 10:17:46 +05:30
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
PuBHARGAVI
8a2170b236 fix(INJI-282): show correct text messages as per the wireframe
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2023-12-07 23:46:45 +05:30
KiruthikaJeyashankar
95fb0a5ccf feat(INJI-394): show pinned vc on top in QRLogin & VCShare screen (#1048)
* refactor(INJI-503): remove unused locales

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

* refactor(INJI-394): modify prop in VCItemContent

Remove passing iconType & iconName props in VCItemContent which is used to check if pinned or not to isPinned boolean prop

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

* feat(INJI-349): show pinned vc on top in QRLogin screen

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

* feat(INJI-349): show pinned vc on top in VCShare screen

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

* refactor(INJI-349): add type annotation to groupBy method

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

* refactor(INJI-449): create machine based on first selected vc in share screen

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

* refactor(INJI-394): extract method for vcs ordering by pin status

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

---------

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-12-01 16:05:15 +05:30
Alka Prasad
4c6d184997 [Inji 388] : Error message in QR login (#1050)
* feat(INJI-388): update error message of qr login to specific message

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

* fix(INJI-388): add missing error id constants in telemetry

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

---------

Signed-off-by: Alka <prasadalka1998@gmail.com>
2023-12-01 15:38:28 +05:30
adityankannan-tw
2d0b6be4b0 feat(INJI-474): show popup for invalid QR (#999)
* feat(INJI-474): show popup for invalid QR

* at times a scanned QR code is neither online nor offline

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

* refactor(INJI-474): add a dismiss-able popup w buttons

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

* feat(INJI-474): use polyfill for URL searchParams feat

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

* feat(INJI-474): move popup buttons to a single row

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

* refactor(INJI-474): align buttons in popup

Co-authored-by: Anil kumar M <106086523+Anil-kumar-Majji@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

* feat(INJI-474): don't show Loader on invalidQR & fix QR type logic

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

* refactor(INJI-474): propagate btn style changes to Themes

Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>

---------

Signed-off-by: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: Anil kumar M <106086523+Anil-kumar-Majji@users.noreply.github.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-11-20 11:32:47 +05:30
adityankannan-tw
69fc9e2dde Fix sharing screen progress modal in IOS (#1005)
* fix(INJI-558): fix sharing screen progress modal in ios

Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* fix(inji-558): remove isVisible prop from Loader Component.

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

* refactor(INJI-558): refactor selectors to match the state

Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>

* fix(inji-558): remove optional field for title prop.

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

---------

Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-11-16 13:09:36 +05:30
vijay151096
b0ebef0acd fix(inji-522): enable the location service before initiating the vc sharing. (#1004)
* fix(inji-522): enable the location service before initiating the vc sharing.

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

* fix(inji-522): update literals in the location service enabling popup

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

* fix(inji-522): update checkLocation state name

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

* fix(inji-522): removed duplicate namespace

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

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-11-16 10:28:12 +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
PoojaBabusing
d3118e6afa Inji 299 show cancel Popup for ios (#980)
* feat(INJI-299): show cancel download popup for ios

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): move translations from addVCModal to otpVerificationModal

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

---------

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-11-06 15:02:32 +05:30
anil_majji
2fd4cec8a0 Feat(INJI-502): Changed the sub header testId name along with locals key name
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
2023-10-31 18:35:22 +05:30
anil_majji
67166c7728 Feat(INJI-502): Updates all the locals with respective translation text
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
2023-10-27 14:19:09 +05:30
anil_majji
2b616b6585 Feat(INJI-502): Enable user to search issuer from the list
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
2023-10-27 14:08:30 +05:30
KiruthikaJeyashankar
c9afb89b20 refactor(INJI-472): update issuerScreen content (#942)
* refactor(INJI-472): update issuer screen content

modify IssuersScreen page description and issuer description

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

* refactor(INJI-472): move loader component styles to LoaderStyles

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

* fix(INJI-472): hindi text matras getting hidden

IssuersScreen was hiding matras in hindi text displayed, padding is added to resolve this

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

* refactor(INJI-472): disable back action in loader

hardware back button press or gesture back action is disable in loader

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

---------

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-10-23 00:56:05 +05:30
PoojaBabusing
3a8e2cc06a popup to cancel the download card (#944)
* feat(INJI-299): add popup component

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>

* feat(INJI-299): add language translations for the cancel dialog textfeilds

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor confirmation dialog props

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): add cancel confirmation dialog in otp screen

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor confirmation dialog flow

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): remove console logs

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): style confirmation dialog elements

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor the cancel flow

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): refactor to show id modal when in not cancel download state

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

* feat(INJI-299): replace confirmation dialog with message overlay

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

---------

Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Signed-off-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-10-20 12:52:54 +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
srikanth716
2bb82baf97 Inji 408 error popup after maximum retries vc download (#926)
* feat(INJI-408):Display error message after max retries of downloading vcs

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* feat(INJI-408):refactor error message

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* feat(INJI-408):refactor naming convention and remove empty space

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* feat(INJI-408):refactor naming convention

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

---------

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
2023-10-18 14:00:59 +05:30
Anil kumar M
27e2f07cd9 Fix(INJI-431): Resolved that UI would support all screen sizes(folded-devices) & fixed language translation issues. (#920)
* fix(MOSIP-29275): make usesCleartextTraffic to false for more secure communication (#886)

* fix(MOSIP-29275): make usesCleartextTraffic to false for more secure communications

* fix(MOSIP-29275): override usesCleartextTraffic to false in main manifest

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* MOSIP-29698 (#891)

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* Inji-409: debugging setup fix (#893)

* feat(inji-400): update package-lock.json

* feat(inji-400): move flipper config to separate file from app.ts

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* feat(inji-398): enable cleartextTrafficPermitted in debug mode (#895)

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* fix(INJI-397)error message for deleted vcfile (#875)

* fix(INJI-397)error message for deleted vcfile

* fix(INJI-397)refactor:log activity event

* fix(INJI-397)refactor:log activity event

* fix(INJI-397)refactor:comparing VCMetadata

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* fix(MOSIP-29272): remove paste option for pin inputs (#894)

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* Test runner support to run jar MOSIP-29698 (#898)

* MOSIP-29698

* Test runner support to run jar MOSIP-29698

* Update TestData.json

Signed-off-by: neeharikatech <76684248+neeharikatech@users.noreply.github.com>

---------

Signed-off-by: neeharikatech <76684248+neeharikatech@users.noreply.github.com>
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* feat(inji-406): add logs for debugging tampered vc issues (#900)

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* Adjusted bottom tab for different screen sizes

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* Added responsive bottom line for ID input

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* Updated the missing texts with case sensitive

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

* Removed unused button text in Welcome screen

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
Signed-off-by: neeharikatech <76684248+neeharikatech@users.noreply.github.com>
Co-authored-by: Sreenadh S <32409698+sree96@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: neeharikatech <76684248+neeharikatech@users.noreply.github.com>
Co-authored-by: Tilak Puli <34330361+tilak-puli@users.noreply.github.com>
Co-authored-by: srikanth716 <97477121+srikanth716@users.noreply.github.com>
2023-10-13 15:23:50 +05:30
PoojaBabusing
50d937693a On click of Download card, If the internet if Off Display no internet connection page (#903)
* feat(INJI-413): add internet connection off page on click of download card button

* feat(INJI-357): refactor the error component to render modal or view

* feat(INJI-357): add error message translation for all languages

---------

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-10-10 12:53:07 +05:30
srikanth716
9b4cef6ac3 fix(INJI-397)error message for deleted vcfile (#875)
* fix(INJI-397)error message for deleted vcfile

* fix(INJI-397)refactor:log activity event

* fix(INJI-397)refactor:log activity event

* fix(INJI-397)refactor:comparing VCMetadata
2023-10-05 19:44:19 +05:30
vijay151096
443d946c38 refactor(inji-416): Refactoring Openid4vci components & fixing issues (#889)
* refactor(inji-416): merged esignetvcitem and existingvcitem

* refactor(inji-416): remove the vc tag feature

* refactor(inji-416): wallet binding fixes with vc store key modification

* refactor(inji-416): display the vc's in the share vc screen

* fix(INJI-416): display issuer logo in VC downloaded via eSignet

Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* fix(INJI-416): display formatted generatedOn date

Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* refactor(INJI-416): add kebab popup operations events in esignetVcItemMachine

Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* fix(INJI-416): vc activation in secure keystore existient android device

vc unique identifier UIN is passed to generate keypair while wallet binding

* fix(INJI-416): display VC id in removal log

Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* fix(INJI-416): display dateOfBirth in vcDetails in Android

date parsing is causing issue in Android device due to JavaScript VM, thus using date-fns to parse.

* refactor(INJI-416): modify check for isOpenId4VCIEnabled

Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>

* refactor(INJI-416): extract method for face image source

* fix(INJI-416): show wallet binding success toaster appropriately on secure keystore available devices

* refactor(INJI-416): change locale value for download vc description

---------

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-10-04 15:31:31 +05:30
Sreenadh S
bad21e409c Inji 364 UI update for success messages (#863)
* feat(INJI-364): add new ui for successful activation of VC

* feat(INJI-364): update VC receive UI

* feat(INJI-364): extract banner notification component

* feat(INJI-364): re suse banner notification component

* feat(INJI-364): add successfully share popup and translations

* feat(INJI-364): use proper state for showing  the success modal

* fix(INJI-364): show activate popup in respective screens only

* refactor(INJI-364): rename props

* refactor(INJI-364): remove logs

* fix(INJI-372): fix hindi translation

* chore(INJI-364): update package-lock.json

* refactor(INJI-364): add proper testID implementation for BannerNotification

* refactor(INJI-364): remove unused imports

* refactor(INJI-364): remove multiple state set

* refactor(INJI-364): add missing testID

* refactor(INJI-364): add missing testID

* feat(INJI-364): add activated notification to esignet VC also

* chore(INJI-364): update package-lock.json
2023-09-26 21:05:22 +05:30
dhivya0413
07efb42a2b [INJI-372] UI/UX enhancements on sharing flow (#856)
* chore(INJI-372): fix animator for sharing flow

* chore(INJI-372): sharing in progress copy modified

* Add a job to upload apk to Github Actions (#836)

* feat(INJI-333): Add a job to upload apk to Github actions in internal build

* fix(INJI-333): Add a job to upload to Github actions

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

* chore(INJI-372): update podfile

* chore(INJI-372): vc sharing in progress stay on screen and retry added

* chore(INJI-372): vc sharing failed for sender copy changed

* [Inji 267] sunbird telemetry configuration (#838)

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): pass session id value in sunbird config

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): bump up react-native-localize and remove unnecessary code

* feat(INJI-267): remove some unused imports and unnecessary formattings

* feat(INJI-267): remove unnecessary formattings

* feat(INJI-267): extracts obsrv host in an env variable

* feat(INJI-267): add env variable in react-native-dot-env index file

* feat(INJI-267): bump up react-native-localize

---------

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

* [Inji 267] sunbird telemetry configuration (#843)

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* refactor(INJI-267): extracts AppId global variable into a global variable file and renames it to __AppId

* refactor(INJI-267): extracts inji version and tuvali version handling into global variable file

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): generate unique session id for every session of the app

After launching the app until we kill the app we consider it as a single session

* feat(INJI-267): add start and end telemetry events for the QR login success flow

* feat(INJI-267): pass session id value in sunbird config

* feat(INJI-267): add start and end telemetry events for the VC sharing success flow

* feat(INJI-267): add start and end telemetry events for the VC activation success flow

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add and export deviceId constant in constants file

Use react-native-device-info library to get the unique identifier for each and every device

* feat(INJI-267): add telemetry configuration in the application

* feat(INJI-267): pass session id value in sunbird config

* refactor(INJI-267): change QR login, VC share telemetry events type

* refactor(INJI-267): extract generateSessionId function, deviceId into global variables file

* feat(INJI-267): adds device related information in the config value

* feat(INJI-267): add selected language in global variables file to pass it into sunbird config

* feat(INJI-267): updates config structure and add AppInfo event

* feat(INJI-267): create dummy end event data to make the schema and send AppInfo Event on app launch

* feat(INJI-267): bump up react-native-localize and remove unnecessary code

* feat(INJI-267): remove some unused imports and unnecessary formattings

* feat(INJI-267): remove unnecessary formattings

* feat(INJI-267): extracts obsrv host in an env variable

* feat(INJI-267): add env variable in react-native-dot-env index file

* feat(INJI-267): bump up react-native-localize

* feat(INJI-267): add telemetry sdk dependency in package.json

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>

* style vcDetails page  (#841)

* feat(INJI-351): style vcDetails page

* feat(INJI-351): add translations to fil lang and remove QRcode style

---------

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>

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

* chore(INJI-372): podfile lock changes

* chore(INJI-372): vc sharing flow in progress for verifier

* chore(INJI-372): vc sharing flow failed for verifier

* chore(INJI-372): fix close button for vc sharing failed verifier

* fix(INJI-372): package lock fix

* fix(INJI-372): connection failed for sender

* fix(INJI-372): connection failed for verifier

* chore(INJI-372): add style props to modal

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Alka Prasad <Alka1703@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: PoojaBabusing <115976560+PoojaBabusing@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Tilak Puli <34330361+tilak-puli@users.noreply.github.com>
Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
2023-09-25 14:35:22 +05:30
Harsh Vardhan
2adef1a78b feat(INJI-343): Text changes & other UI enhancements (#854)
* feat(INJI-343): update error msg texts

* fix(INJI-343): fix display message on receiveVCScreen

* fix(INJI-343): add custom button option in MessageOverlay

* feat(INJI-343): add customHeight prop in MessageOverlay for long text

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

* feat(INJI-343): update error msg texts

Conflicts:
      locales/ara.json
      locales/fil.json
      locales/hin.json
      locales/kan.json
      locales/spa.json
      locales/tam.json

* feat(INJI-343): remove duplicate button and make custm btn txt configurable

* refactor(INJI-343): rename MessageOverlay customButton prop

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

---------

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-09-25 12:42:40 +05:30
KiruthikaJeyashankar
55c666b121 feat: download credentials from Esignet using openId4VCI (#851)
* feat(INJI-245): dowload and view card via issuers

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* fix(INJI-245): remove vc from wallet

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>

* feat(INJI-245): pin card downloaded via eSignet

* refactor(INJI-245): remove debug logs

* refactor(INJI-245): rename vcItem related component to ExistingVcItem

* refactor(INJI-245): add lock file modifications

* refactor(INJI-245): add styles in purple theme for issuer related components

* refactor(INJI-245): update VID for wallet binding usecase and issuer logo display in vc

* refactor(INJI-245): remove duplicate loader component

* refactor(INJI-245): remove unused props in vc details container

---------

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-09-22 17:22:59 +05:30
adityankannan-tw
d71c34c569 (INJI-350): Sync VC UI with wireframes (#845)
* fix(INJI-350): Sync VC UI with wireframes

* fix(INJI-350): fix minor styling changes

* fix(INJI-350): fix merge conflicts and missed changes

* fix(INJI-350): refactor the icon sizes and id numbers

* fix(INJI-350): refactor the text sizes and labels

* fix(INJI-350): add extrasmall size type to text component

* fix(INJI-350): add extraSmall size type to text component
2023-09-21 17:38:15 +05:30
PoojaBabusing
43efe2a2fc style vcDetails page (#841)
* feat(INJI-351): style vcDetails page

* feat(INJI-351): add translations to fil lang and remove QRcode style

---------

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-09-20 15:23:46 +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
Anil kumar M
d0887bc211 fix(INJI-289): Modified the face authentication layout as per wire-frame (#802)
* fix(INJI-289): Adjusted face authentication layout as per UI/UX

* Replaced capture-icon from theme styles to provides png images
2023-09-11 12:58:24 +05:30
Anil kumar M
0417a2523f fix(Inji-290): Modified share timeout hint as per wireframe (#800)
* fix(INJI-290): modified-share-timeout-hint-as-per-wireframe

* Updated the locals with respective texts in progressing screen
2023-09-11 12:47:05 +05:30
adityankannan-tw
e65946c0a1 fix(INJI-296): label mismatch in language files (#772) 2023-08-30 13:23:08 +05:30
Anil kumar M
dcbe822ef6 Inji 282 disable camera error (#775)
* fix(INJI-282): Correct error message will be displayed when camera is disabled
2023-08-28 13:56:24 +05:30
Dhivya
8de2652029 Merge remote-tracking branch 'origin/develop' into inji-214 2023-08-22 11:01:17 +05:30
Dhivya
8843358fcf Merge remote-tracking branch 'upstream/develop' into inji-214 2023-08-17 18:38:43 +05:30
Tilak Puli
4e05699720 feat(inji-214): [Dhivya|Tilak] Update biometric popup text 2023-08-17 15:07:39 +05:30
Pooja Babusingh
3044bd0d4d fix(INJI-192): add error message translations for HMAC calculation 2023-08-17 14:50:41 +05:30
Dhivya
04e5498572 feat(INJI-238): handling errors when invalidate keys of biometric 2023-08-14 11:41:49 +05:30
vijay151096
c9571e0603 Merge pull request #101 from tw-mosip/INJI-25
As a resident, when I go to the "Inji tour guide" section, I should be taken to the "Intro Slides"
2023-08-11 17:02:20 +05:30
anil_majji
7d6d2c8de0 Inplemented INJI Tour Guide in settings 2023-08-09 15:44:08 +05:30
Sri Kanth Kola
8b3ca6186b fix:naming conventions, removed log and values in locals 2023-08-04 18:30:35 +05:30
Sri Kanth Kola
80a6375ac2 [Inji-248]fix:The audit for deleting the VC is not logged in the history 2023-08-04 12:02:39 +05:30
Dhivya
8ee2bf0ca5 Merge remote-tracking branch 'origin/develop' into inji-214 2023-08-02 14:36:47 +05:30
anil_majji
2148df56ef Fixed all the locals 2023-08-02 12:24:21 +05:30
anil_majji
e76185556c Implemented Receive Card & Received Cards options in Settings 2023-08-01 19:14:43 +05:30
Harsh Vardhan
dedd42169a chore(INJI-222): move error msg text to errors obj 2023-08-01 14:48:33 +05:30
Harsh Vardhan
4ce5990c92 feat(INJI-222): propagate event from _store to app state machine
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2023-07-31 16:59:38 +05:30
Harsh Vardhan
7272e37340 feat(INJI-222): add popup for error in decryption 2023-07-31 16:58:55 +05:30
Dhivya
f6c30faafd feat(inji-175): locales changes for hardware keystore not exists warning text 2023-07-31 15:55:23 +05:30
Harsh Vardhan
999d6a1276 feat(INJI-149): add a popup when keychain fails to get password
Reason: when keychain.getGenericPassword errors due to a false/falsy response,
  the state machine goes ahead and clears the MMKV store and the VC
  directory as without the key the encrypted data is not meaningful,
  it may so happen that the keychain/keystore is not unlocked yet as
  most modern mobile OSes can choose to lock access to it when the phone
  is locked

Fix: earlier the state machine would go and clear the datastores without
  user intervention, this fix will give the user a prompt if encrypted
  VCs exist on app-data and allow user to try reading the keychain once
  again before silently deleting everything

Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Co-authored-by: Alka <prasadalka1998@gmail.com>
2023-07-18 11:37:49 +05:30
KiruthikaJeyashankar
d677c4106f Merge pull request #80 from tw-mosip/HMAC-calculation
feat(INJI-178): calculating HMAC and storing the Encrypted HMAC in the Database.

Issue Link: https://mosip.atlassian.net/browse/INJI-178
2023-07-18 11:29:38 +05:30