60 Commits

Author SHA1 Message Date
KiruthikaJeyashankar
9457ad0d9f [INJIMOB-3647] refactor: update isRevoked data type (#2149)
* [INJIMOB-3647] refactor: modify data type of isRevoked to EvaluationStatus

Type representing any possible value of EvaluationStatus.

- "TRUE" → Condition was evaluated and is positively true
- "FALSE" → Condition was evaluated and is definitively false
- "UNDETERMINED" → Condition could not be evaluated due to an error

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: modify data type of isRevoked to EvaluationStatus

Type representing any possible value of EvaluationStatus.

- "TRUE" → Condition was evaluated and is positively true
- "FALSE" → Condition was evaluated and is definitively false
- "UNDETERMINED" → Condition could not be evaluated due to an error

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: change statuslistVC type to record from string

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

# Conflicts:
#	shared/vcjs/verifyCredential.ts

* [INJIMOB-3647] refactor: update status revoke check to check for null status

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: VCMetadat constructor isRevoked param

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: rename EvaluationStatus to RevocationStatus

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3647] refactor: modify revocation status logs

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2025-12-01 11:28:11 +05:30
jaswanthkumartw
0e667bd46d Injimob-3651: revert all the branding changes (#2151)
* Revert "[INJIMOB-3622] Fix alignment in history screen  (#2140)"

This reverts commit a0b08914e5.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* Revert "Injimob [3622] [3627] - BANNER ISSUE AND BRANDING CHANGES ISSUES  (#2130)"

This reverts commit 522104811c.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* Revert "[INJIMOB-3633][INJIMOB-3636] fix icon bg color across app (#2134)"

This reverts commit d8d718693d.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* Revert "[INJIMOB-3633] fix search bar clear icon not apperaing (#2133)"

This reverts commit 6a202b11af.

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3651]: revert all the branding changes

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3651]: update all the snapshot

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

---------

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>
2025-11-28 18:59:15 +05:30
jaswanthkumartw
522104811c Injimob [3622] [3627] - BANNER ISSUE AND BRANDING CHANGES ISSUES (#2130)
* [INJIMOB-3622]: cleared the bug related to banner

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: updated .talismanrc file

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: cleared the bug related to banner

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: cleared the bug related to banner

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: updated .talismanrc

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: updated update the snapshots for tests

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: clear the issue according to review comments

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3627]: added icons to the screen

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3627]: added .talismanrc

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3639] fix: modify face permission consent app name

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3628] fix status tooltip content overflow.

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3622]: cleared the header overlaping issue

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622] fix: banner hidden in backup / restore screen

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3622] fix: banner hidden in vc detail view and key management screen

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3622] fix: banner hidden inhelp screen

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3622] refactor: format VC detail view

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3637] fix extra header space across app screens

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3635]: updatd the pin background color to transparent

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3637] fix extra header space across app screens

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3565] fix: modal screen showing bottom tabs

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3565] fix: modal screen showing bottom tabs

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3635]: added the color back

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3565] fix: bottom tab bar overlaying the safe area

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3635]: updated failing snap shots

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3635]: cleared the icon issue

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: cleared the scroll issue which is happening with vc view screen

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622]: cleared the issues rised by code rabbit

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3565] fix: replace initialWindowMetrics padding with safe area insets

 initialWindowMetrics will be getting the data only on iniitial phase

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3635]: cleared the icon issue

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3565] fix: iOS notification bar not showing white bg

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3565] refactor: replace SafeAreaView import from react-native-safe-area-context

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3565] refactor: move SafeAreaProvider to root component

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3565] refactor: extract tab bar visibility setter to hook

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3565] refactor: optimize imports

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3565] refactor: revert fix - bottom tab visible in safe area on backup / restore screen

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3565] refactor: fix failing tests

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3622]: cleared the issues rised by banner bar

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622] refactor: optimize import

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3622]: clear the jitpack issue

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [INJIMOB-3622] refactor: reove unused code

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3622] refactor: optimize import

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3622] refactor: remove jitpack github repo

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Signed-off-by: jaswanthkumartw <jaswanthkumar.p@thoughtworks.com>
Co-authored-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2025-11-19 00:15:46 +05:30
abhip2565
6a202b11af [INJIMOB-3633] fix search bar clear icon not apperaing (#2133)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2025-11-13 18:37:47 +05:30
jaswanthkumartw
a7e9d99076 INJIMOB-3604: changes according to new style guide (#2121)
* [injimob-3604]: changes according to new style guide

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [injimob-3604]: changes according to new style guide

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

# Conflicts:
#	components/KebabPopUp.tsx
#	components/VC/common/VCItemField.tsx
#	components/ui/svg.tsx
#	components/ui/themes/DefaultTheme.ts
#	locales/ara.json
#	locales/en.json
#	locales/fil.json
#	locales/hin.json
#	locales/kan.json
#	locales/tam.json

* [injimob-3604]: changes according to review comments

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [injimob-3604]: changes according to review comments

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [injimob-3604]: changes according to review comments

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [injimob-3604]: changes according to review comments

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

* [injimob-3604]: removed the debug.keystore file

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>

---------

Signed-off-by: jaswanthkumarpolisetty <jaswanthkumar.p@thoughtworks.com>
Signed-off-by: jaswanthkumartw <jaswanthkumar.p@thoughtworks.com>
2025-11-07 11:28:36 +05:30
abhip2565
0713bbb5c4 [INJIMOB-3532] add sd jwt vp support (#2082)
* [INJIMOB-3513] add sd jwt vp support

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3513] add bridge logic and sd-jwt signing for ovp

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3532] add: support of OVP share in iOS

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3532] add sd-jwt ovp ui

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3532] refactor: optimize wallet_metadata creation logic

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3532] refactor: fixed alignement issues and crash bug

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Co-authored-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2025-09-18 18:50:53 +05:30
KiruthikaJeyashankar
798bf1944f [INJIMOB-3390] refactor: update OVP wrapper as per library contract change (#2022)
* [INJIMOB-3390] refactor: update WalletMetadat's vpFormatsSupported - [VPFormatType: VPFormatSupported]

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3390] fix: fallback metadata to support presentation_definition_uri

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3390] refactor: rename fallbackWalletMetadata -> walletMetadata

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3390] add: pass responseTYpesSupported to OVP walletMetadata

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3388]: update the bridge code to add new parameters for walletmetadata

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

* [INJIMOB-3390]: Resolve latest develop from swift library

Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com>

* [INJIMOB-3388]: remove logging

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

* [INJIMOB-3418]:content update in the TrustScreen of Credential Offer

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

* [INJIMOB-3390]: Update issuerHost in VcMetadata

Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com>

* [INJIMOB-3390]: Update condition in VCMetadata

Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com>

* [INJIMOB-3390]: Update OVP library swift to point release-0.4.x

Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com>
Co-authored-by: Alka <prasadalka1998@gmail.com>
Co-authored-by: balachandarg-tw <balachandar.g@thoughtworks.com>
2025-07-24 16:50:04 +05:30
KiruthikaJeyashankar
5305e7d7ea [INJIMOB-3392] add token request logic in wallet for vci flow (#2014)
* [INJIMOB-3392] add token request logic in wallet for vci flow

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] chore: update integration of VCIClient native module

Changes are updated as per new changes in the library

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3390] refactor: event structure of token request

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3392] fix tokenEndpoint method and refactorings

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] cnonce decode from accesstoken and credential response destructuring fix

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3390] add: getIssuerMetadata in kotlin NativeModule

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3393] fix: auth callback in android

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3390] fix: proofJwt issue in download flow

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-3392] fix credentialofferflow

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392]fix format issues in bridge layer

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392]fix activity log texts on application reopen

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392]cache issuer metadata by key: issuerhost

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] fix error scenarios and cleanup issuermachine

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] refactor request method to handle missing error scenarios

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] fix max lines for txcode description to 2

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] rename credentialissueruri to credentialissuer

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] take cnonce from outside accesstoken

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] declare random-values at entry file

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] set fallback keytype to user priority first

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] add locales for network request failed error

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] remove console log

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-3392] refactor and clean up code

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2025-07-24 11:42:00 +05:30
abhip2565
bd90b342e0 [INJIMOB-3193]add preauth and credential offer support (#1949)
[INJIMOB-3058]temp commit2



[INJIMOB-3058]temp commit2



[INJIMOB-3058] add support for pre-auth flow by credential-offer



[INJIMOB-3187] animo working chcekpoint

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2025-06-04 14:46:07 +05:30
balachandarg-tw
8fc26b963e [INJIMOB-2452] : Well known discovery with attribute name change (#1744)
* [INJIMOB-2452]: Well known discovery from wallet side with credential_issuer attribute name change.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2452]: Add issuer_id for cache key for wellknown call.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2452]: Removing fetchIssuerConfig method

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2452]: Add issuerHost in VcMetadata.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2452]: Update params to pass only issuerHost of vcMetadata

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOb-2452]: Update credential_issuer attribute to credential_issuer_host

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2452]: add temporary fix for react-native-zip-archive error on github action

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

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
2024-12-19 18:59:30 +05:30
KiruthikaJeyashankar
0f8a3d668b [INJIMOB-2462] fix error screen CTAs not working in VC download flow
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-12-02 11:21:01 +05:30
KiruthikaJeyashankar
b68c69151d [INJIMOB-2369] authorization endpoint discovery through auth server wellknown (#1706)
* [INJIMOB-2369] get authorization endpoint from auth server wellknown

Replace hardcoded authorization endpoint (authorization_servers[0] + '/authorize') to fetching from oauth-authorization-server well-known

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2369] handle error scenarios for authz url discovery

For getting the authorization_endpoint as per Wallet's support, as of now we are getting the first entry of authorization_server and fetching the authorization server metadata. In this metadata if grant type is not authorization_code, its considered as error scenario

In case of error while fetching authorization endpoint from Authorization server,
- Network error -> No internet error screen
- oauth-authorization-server well-known's supported grant types is not supported by Wallet -> Grant type not supported error
- Others -> Generic error screen

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2369] add locales support for grantTypeNotSupperted error

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2369]: remove unused url

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

* [INJIMOB-2369] modify cache key of issuer authorization server metadata

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
2024-11-29 15:42:04 +05:30
balachandarg-tw
6aa6f8ad0a [INJIMOB-2242]: Vc Verifier integration with Inji (#1661)
* [INJIMOB-2242]: Integrating VcVerifier with Vc Validation and support for mutliple format into Inji for Android.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOM-2242]: Handling Error codes for Verification failures.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Passing credential format to VcVerifier.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Refactoring the code and updating the locales

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Updating the locales for verification error codes

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Updating talisman file.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]:Updating package-lock.json and adding comment in verifyCredential.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Reverting package-lock.json to align with develop

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Revert package-lock.json

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Update talismanrc

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
2024-11-06 12:37:58 +05:30
PuBHARGAVI
0abe02a46c [Injimob 2096] add missing flows in ovp flow & fix issues found in issuer screen, ovp & wallet binding flows (#1639)
* [INJIMOB-812] fix the qr login flow issues by returning response in credential and verifiableCredentialData selector methods as array

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

* [INJIMOB-812] show error issuers screen irrespective of whether error is generic or not and check if keys are available or not beforing fetching them

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

* [INJIMOB-812] reset openid4vp machine to initial state in all edge cases and handle confirmation popups backdrop press

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

* [INJIMOB-812] show success banner status if face verification is successful in vp sharing with selfie flow

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

* [INJIMOB-812] remove reset event and add reset error event back in openid4vp machine

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

* [INJIMOB-812] remove unused import in scan actions

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

* [INJIMOB-2096] set link transaction response properly in all the flows

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

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-10-07 10:23:04 +05:30
balachandarg-tw
72726215e2 [INJIMOB-1709]: Integrate VC verifier aar for Vc verification of Mosip VC (#1624)
* [INJIMOB-1709]: integrate VC verifier aar for Vc verification of Mosip VC

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

* [INJIMOB-1709]: Handling Response from Vc Verifier Library

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Removed mavenLocal from build.gradle

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Updated build.gradle

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Removed Certify from isMosipVC Condition.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Adding isAndroid check and verifying using digital bazaar for iOs.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
2024-09-25 19:13:31 +05:30
abhip2565
d0fd1e3853 [INJIMOB-1884] Add UI for Key Managent (#1622)
* [INJIMOB-1884] add ui for key managent feature

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-1884] replace modal with screen for ios co pilot support

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-09-25 16:08:30 +05:30
KiruthikaJeyashankar
7b0e48a3a8 [INJIMOB-1078] Merge remote-tracking branch 'upstream/develop' into injimob-1078-mso-mdoc-vc-support-copy
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-12 14:38:38 +05:30
adityankannan-tw
99e6645a7f INJIMOB-2020 - Fix VC download and Error screen toaster issue. (#1612)
* [INJIMOB-2020]: fix error screen in issuers screen when download fails

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2020]: fix ES256 key type vc download failure issue in android and refactor

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2020]: update secure keystore swift package and refactor

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-09-12 12:49:06 +05:30
adityankannan-tw
3ff03a4282 INJIMOB - 1837 - Fix cross icon pressable issue in search bar. (#1608)
* [INJIMOB-1837]: fix search bar cross icon pressable issue

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-1837]: fix search bar cross icon pressable issue

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-09-10 15:56:15 +05:30
KiruthikaJeyashankar
65824c1e86 [INJIMOB-1078] Merge remote-tracking branch 'upstream/develop' into injimob-1078-mso-mdoc-vc-support
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-02 15:44:09 +05:30
abhip2565
a316ba4851 [INJIMOB-1854] modify error messages for wellknown api call failure (#1588)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-08-30 10:24:29 +05:30
Alka Prasad
1962684340 [INJIMOB-1814]: handle error scenarios on empty credentialType list (#1586)
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
2024-08-27 10:16:32 +05:30
Alka Prasad
ced3afeded [INJIMOB-1816]: update logic to sent all errorMessage of issuer to UI (#1581)
* [INJIMOB-1816]: update logic to sent all errorMessage of issuer to UI

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

* [INJIMOB-1816] update error text for wellknown fetch error

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-08-23 19:03:25 +05:30
Srikanth Kola
2054580516 [INJIMOB-1574]: fix scroll issue in issuers screen (#1571)
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
2024-07-29 16:29:46 +05:30
KiruthikaJeyashankar
003cc156c2 [INJIMOB-1192] onboarding of new issuer is affecting the existing issuers (#1476)
* [INJIMOB-1192] : use wellknown response instead of mimoto issuer config.
-- Remove hardcoding for sunbird issuer in vc activation and verification flow.
-- Render idType from wellknown response
-- Remove UIN/VID from default add-on fields

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

* [INJIMOB-1192] : fix propType and some refactoring

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

* [INJIMOB-1192] : add credentialType in VcMetadata

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

* [INJIMOB-1192] fix vc download via issuer flow due to credentialType mismatch

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

* [INJIMOB-1192] rename supported list of credential type in issuers model

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

* [INJIMOB-1192] display id type in history based on wellknown for issuers VC

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

* [INJIMOB-1192] fix id type not shown for VC activation

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

* [INJIMOB-1192] remove unused credentialType field from VCMetaData

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

* [INJIMOB-1192] set default idType for logging activity

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

* [INJIMOB-1192] move vc item machine events into model

Events should not be exported to other packages for direct use so that Xstate's createModel() can decorate the function appropriately

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

* [INJIMOB-1192] show verify banner id type from wellknown

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

* [INJIMOB-1192] refactor duplication and unused code

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

* [INJIMOB-1192] remove unused displayId in metadata

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

* [INJIMOB-1192] revert the dimensions of camera scanner to old values to support face liveness verification

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

* [INJIMOB-1192] remove unused code & debug logs

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

* [INJIMOB-1192] fix failing test cases

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

* [INJIMOB-1192] remove unused translations

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

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-06-04 16:37:54 +05:30
Vijay Kumar S
13f6730502 [INJIMOB-967]: selection of credential types (#1367)
* [INJIMOB-967]: selection of credential types

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

* [INJIMOB-967]: selection of credential types

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

* [INJIMOB-967]: selection of credential types

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

* [INJIMOB-967]: selection of credential types

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

* [INJIMOB-967] change literal and typeof param

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

* [INJIMOB-967] change literal in all languages

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

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2024-04-08 19:17:05 +05:30
PoojaBabusing
d3b607206c INJIMOB-898 Remove Metro warnings (#1329)
* [INJIMOB-898] remove telemetry dependency from crypto utils

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

* [INJIMOB-898] remove vcMetadata dependency from utils file

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

* [INJIMOB-898] move common props key to constants

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

* [INJIMOB-898] remove vcUtils dependency from vcVerification

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

* [INJIMOB-898] remove profileIcon dependency from svg

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

* [INJIMOB-898] remove vcItemFeild dependecy from vcUtils

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

* [INJIMOB-898] remove vc dependecy from esignetVcItem and existing vcItem

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

* [INJIMOB-898] remove storage dependency from api.ts

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

* [INJIMOB-898] remove store dependency from storage

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

* [INJIMOB-898] remove commom props dependency from api.ts

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

* [INJIMOB-898] remove main.ts dependency from scanLayout

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

* [INJIMOB-898] move VcItemConatinerProfileImage to different component

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

* [INJIMOB-898] throw error when error is ENOENT and spell check

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

* [INJIMOB-898] rename types to routeTypes and edit imports

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

* [INJIMOB-898] move to idle state on tamperedVCs state

Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@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: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-03-07 09:19:30 +05:30
balachandarg-tw
ac541f805c INJIMOB-604 VC Verification Failure Scenarios (#1228)
* [INJI-604]: Handle Verification VC Error Scenarios

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

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

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

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

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

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

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJI-611]: New Error screen implemented

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

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

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJI-604] merge develop and resolve conflicts

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

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

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

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

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

* INJIMOB-604 : Removing logs and renaming functions

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-604]: Removing unused method.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

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

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

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

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [Inji-604]: Removing unused events and adding translations for Go Back button

* [Inji-604]: Removed angle brackets for Technical Error

* [Inji-604]: Added ToDo to handle backup

* [Inji-604]: Removing isVerified flag from the Existing VC Item Machine.

* [Inji-604] iOS crash fixed for Verification error Go Back Button

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

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

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-02-22 17:26:19 +05:30
KiruthikaJeyashankar
43395d179a [INJIMOB-788] handle UI issues in backup & restore flow (#1237)
* [INJIMOB-788] increase pressable area of back button in modal

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

* [INJIMOB-788] modify content in backup screen

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

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

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

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

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

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

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

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

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

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

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

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

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

* [INJIMOB-788] remove unused components

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

* [INJI-788] fix BYTES_IN_MEGABYTE value

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

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

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

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

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

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

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

* [INJIMOB-788] modify new label style

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

* [INJIMOB-788] extract common styles to Theme

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

* [INJIMOB-788] modify error styles

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

* [INJIMOB-788] modify banner notification styles

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

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

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

* [INJIMOB-788] extract functions to remove duplication

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

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

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

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@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>
2024-02-08 23:38:31 +05:30
Srikanth Kola
87f30a5b43 [INJI-709] fix home screen toaster success message (#1219)
* [INJI-709] fix home screen toaster success message

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

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

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJI-709] reverting the controller changes

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

* [INJI-709] reverting the controller changes

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

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

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

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

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

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

Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>

---------

Signed-off-by: Srikanth Kola <srikanthsri7447@gmail.com>
Signed-off-by: srikanth716 <srikanthsri7447@gmail.com>
2024-02-08 10:47:51 +05:30
Pooja Babusingh
e51b165010 [INJI-691]: add banner for backup and restore status
Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2024-01-29 11:51:17 +05:30
vijay151096
8f5eb2f0dd [INJI-606]: Integration of Sunbird Issuer with New UI (#1193)
* [INJI-606]: Integration of Sunbird Issuer with New UI

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

* [INJI-606]: Don't show share with selfie option for sunbird VC

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

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2024-01-24 15:06:41 +05:30
PoojaBabusing
343752de4a testId for components (#1165)
* [MOSIP-31142]: add testId for issuers screen,kebab popup, walletbinding and passcode screen

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

* [MOSIP-31142]: add testId for esignet logo and resend otp

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

* [MOSIP-31142]: rename testId resend otp

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>
2024-01-15 22:09:43 +05:30
srikanth716
224711c327 [INJI-692&694] fix overlay height and background border color in purple (#1147)
* [INJI-692] fix message overlay height

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

* [INJI-692] fix message overlay minHeight usage

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

* [INJI-694] fix TimeoutHint box border color

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

---------

Signed-off-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
2024-01-10 11:57:22 +05:30
Anil kumar M
25c6e6ddaf [INJI-593]: Text search field as per wire frame in Issuer Screen. (#1126)
* [INJI-593]: Text search field as per wire frame in add new card  screen

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

* [INJI-593]: Text search field as per wire frame in add new card  screen

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

* [INJI-593]: Search field in Issuers screen was  modified as per arabic text search

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

* [INJI-593]: Replaced SVG type clearing cross-icon with Icons type from Entypo

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

* [INJI-593]: Replaced SVG type clearing cross-icon with Icons type from Entypo

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

---------

Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
2024-01-02 11:47:24 +05:30
PuBHARGAVI
03b64426ed [Inji 648] add accessibility id to elements in different screens (#1105)
* [INJI-648] add accessibility IDs to the requested elements in different screens

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

* [INJI-648] fix accessibility IDs for some elements to work in ios

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

* [INJI-648] change accessibility IDs for pressable and child elements to work in ios

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

* [INJI-648] remove icon parameter in testId function for plus icon

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

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2023-12-21 10:43:36 +05:30
PoojaBabusing
288d7c1716 [INJI-623]: search issuer based on the title displayed (#1103)
Signed-off-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-12-20 12:12:56 +05:30
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
54fe11fd8f [INJI-156] fix duplicate hint shown in VC share in progress screen (#1094)
* [INJI-156] fix duplicate hint shown in VC share in progress screen

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

* [INJI-577] refactor inline style to theme file

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

* [INJI-156] refactor Loader component props

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

* [INJI-156] remove unused prop

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

* [INJI-156] fix sending vc hint not shown on VCShare

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

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-12-15 17:01:10 +05:30
KiruthikaJeyashankar
e27c6a2a4b feat(INJI-503): add configurable issuer details (#1040)
* feat(INJI-503): add configurable issuer title & description

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

* refactor(INJI-503): extract search bar component

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

* refactor(INJI-503): modify display data type

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

---------

Signed-off-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-11-30 15:49:25 +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
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
Alka Prasad
9b07e63383 [Inji 434 & INJI 441]: Add events in receiver VC sharing flow and cancel button handle (#990)
* refactor(INJI-434): rename some variables and functions to meaning names

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

* feat(INJI-434): add telemetry events in the VC share flow on verifier end

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

* fix(INJI-434): handle cancel button press during vc share

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

* fix(INJI-441): handle cancel button press during vc share

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

* refactor(INJI-434): extracts telemetry constants to a seperate file

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

* refactor(INJI-434): remove unused imports

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

* fix(INJI-441): update the CANCEL event on press of cancel button

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

* refactor(INJI-434): update the method name

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

---------

Signed-off-by: Alka <prasadalka1998@gmail.com>
Signed-off-by: Alka Prasad <Alka1703@users.noreply.github.com>
2023-11-07 10:43:39 +05:30
vijay151096
61ec52a3ad Merge pull request #976 from tw-mosip/inji-502-enable-user-to-search-issuer-from-the-list
Feat(Inji-502): Enable user to search issuer from the list in Add New card
2023-11-01 10:12: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
ff9e33a3e6 Feat(INJI-502): Resolved PR commits
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
2023-10-31 12:16:11 +05:30
anil_majji
f72e495b4b Feat(INJI-502): Adjusted the CSS of the search Icon & search bar
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
2023-10-30 19:04:32 +05:30
anil_majji
0ee1ed1c72 Feat(INJI-502): Implemented search icon
Signed-off-by: anil_majji <majjianilkumar050@gmail.com>
2023-10-30 12:52:23 +05:30
PuBHARGAVI
f41959bc5f feat(Inji-435): add telemetry events for vc activation flow (#949)
* refactor(INJI-435): add enum for flow type,end event status & interact event subtype

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

* fix(INJI-435): change flow type value to camel case in getEventType function

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

* feat(INJI-435): add start,interact & impression events in vc activation and create an object with telemetry constants

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

* feat(INJI-435): add end,error events in vc activation flow

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

* feat(INJI-435): increase the pressable area of kebab icon

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

* feat: generate impression event only after going into otp modal & track binding_auth_failed error

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

* refactor(INJI-435): move sendImpression event from addVc modal to otp modal

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

* fix(INJI-435): add missing impression event in issuer machine

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

* refactor(INJI-435): return bindingAuthFailedError from state machines instead of splitting the error in tsx files

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

* fix(INJI-435): add padding and fix the activation status overflow in all languages

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

* refactor(INJI-435): change the telemetry sdk path in package.json

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

* refactor(INJI-435): extract esignetMosipVcItem and existingMosipVcItem machines common functions into separate file

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

* refactor(INJI-435): remove duplicate assignments of selectors

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

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-10-30 10:09:28 +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