* [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>
[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>
* [INJIMOB-2381] update package.json and resolve dependencies for react 0.73.0
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
* [INJIMOB-2381] setup for 0.73.6
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
* [INJIMOB-2381] fix font & image not loading issue
changes include
- move common image assets to android & iOS folders
- update gradle version to 8.2
- add expo-font asset for Inter regular
- replace useFont with expo-font
- remove flipper (reason: 0.74 react native decoupled flipper)
- npm package updates
- close icon changed to close text in QRScanner.tsx
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
* [INJIMOB-2381] update android:mosip script as per updated react native version
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] fix android build failure issue
Changes include:
- rename android assets folder as per convention
- remove unused biometrics dependency
- use env from react-native-dotenv as per module registered in babel config
- revert conversion of close icon to image in QRScanner component
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] fix iOS build issue
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] rm unused local images linking in adnroid
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] fix splash screen not rendering issue in android
Issue: Local assets were not loaded via React Native Image component in android, to fix this @react-native/assets-registry has been added
Reference: https://github.com/expo/expo/issues/31240#issuecomment-2459049911
Other changes:
- remove usage of expo-image as we dont have any explicit usecase for expo-image and its unused
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] rm unused intro slider image assets
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] revert back using local font assets in android
Reason: Previously expo-font was used for fonts, to bring back the same compatiblity it is bought back
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] use GestureHandlerRootView in root level to handle gestures
ref - https://docs.swmansion.com/react-native-gesture-handler/docs/1.x/#js
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove custom assets and linking for images in iOS
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] use default parameters instead of defaultProps
Reason: React 18 has marked defaultProps as deprecated and it is removed in React 19 version. To avoid the issue of deprated usage, its modified.
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove unused terminal option in android build script
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove font assets in android
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] optimize import
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] fix failing test
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] set package.resolved version to 2
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] fix setting of camera view in face scanner
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] fix setting of camera view in face compare
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove flipper config file
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove unused debug logs
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] refactor use component instead of type
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] refactor use GestureHandlerRootView only on root level
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] refactor remove unused config linking of font assets
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] refactor remove unused image assets
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] fix camera persmission issue in QRScanner
use expo-camera to request and getstatus of camera permission instead of expo-barcode-scanner to avoid multiple re-renders of scan screen in flow of camera permission denial
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove package expo-barcode-scanner
expo-barcode-scanner is deprecated and its suggested to use expo-camera to handle the scanning flows. The existing bar-code-scanner implementations have been replaced with expo-camera.
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] use extracted enums instead of legacy expo-camera
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove patch for react-native-0.71.8
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] revert date-fs version to 2.28.0
date-fns is not supporting filipino langauge, so we are maintaining patch for that. The patch created is for version 2.28.0 and updating the version of date-fns is causing conflicts in patch application if updated as well. To avoid this issue, version is kept as 2.28.0
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] update readme
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] remove usage of legacy expo-camera in getting image type
Other changes
- remove resolutions block from package.json
- sync pbxproj
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2381] add active prop to expo-camera as per suggestions
expo-camera suggests "Only one Camera preview can be active at any given time. If you have multiple screens in your app, you should unmount Camera components whenever a screen is unfocused.". To handle this active prop is used which is set to false on unMount of the component whenever rendering Camera from expo-camera
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
---------
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
* [INJIMOB-2415] show credential type in mini view
Previously, it was showing hardcoded fullName in mini view
Other changes include
- Handling of display property
-> unavailable in wellknown
-> empty array in wellknown
-> expected credential type (name) is not available in display property of wellknown
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] rename getIDType to getCredentialType
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415]: update logic to get credential type
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
* [INJIMOB-2415]: update the translation for mso mdoc fallback for credential type
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
* [INJIMOB-2415] update getCredentialType method comments
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2369] remove commented code
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] get backgroundColor of VC from curr lang's display property
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] get background image of VC from curr lang's display property
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] get text color of VC from curr lang's display property
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] add prop types for VCVerification component
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] introduce fieldColor prop in VCItemField for VC mini & detail view
As of now, for each and every field that is getting rendered we are calling getTextColor with wellknown param, if we start bringing in logic of getDisplayObjectForCurrentLanguage and then get the text_color from it, we will end up in running a filter for each and every field. For reducing this complexity, VCItemField component is accepting fieldColor prop from the caller.
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] move fallback miniview kebab popup color to const
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] move fallback detailview border color to const
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] move fallback verification text color to const
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] remove unnecessary sending of props
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] refactor type error
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] refactor type error
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] refactor - remove unused prop
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] refactor getBackgroundColor to accept display element as per app languange
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] refactor getBackgroundImage to accept display element as per app languange
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] refactor getTextColor to accept display element as per app languange
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] fix credential type to be shown based on app lang
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] extract card's display related functions to class
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
* [INJIMOB-2415] fix build fail for accessing Theme in static block
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>
* [INJIMOB-2135] get the authentication response as instance of Authorization request rather than as map and make necessary changes for the same in js layer
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] in vp sharing flow use json path library to extract the path value from the VC json data
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] add logic in openid4vp actions to filter the credentials based on the format and proof types and if input descriptor doesn't have format but presentation definition has use it for filtering
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] change the postion of checkbox in VC to the right side during the VP sharing flow
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] show verifier name in vp sharing screen header
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] add log event types for different flows in vp sharing and add translations for log messages in all languages
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] create an interface and use it as a blueprint for vc and vp share activity log classes and override necessary methods
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] show all the VCs available in the wallet if none of the input descriptors have format or constraints
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] notify verifier when user declined the consent for sharing VP by calling sendErrorToVerifier method
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] add logs for different flows of VP sharing
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] add translations for some of the vp sharing flows
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] in vp sharing fix the logic of filtering the VCs matching request and add actions to show the logs properly for normal and retry attempts
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] rename vp sharing activity logs header text into camel case
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] add translations for retry attempt failure and technical error scenarios in vp sharing flow
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] update no credential and credential mismatch error & log messages to show the list of claims requested by verifier
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2215]: expose api in openid4vp module to send error to verifier
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
* [INJIMOB-2215]: expose api in openid4vp module to send error to verifier
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
* [INJIMOB-2215]: expose api in openid4vp module to send error to verifier
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
* [INJIMOB-2215]: refactor native modules and styles for header in send vp screen
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
* [INJIMOB-2215]: refactor native modules and styles for header in send vp screen
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
* [INJIMOB-2135] show normal failure message in history screen if sharing is failed because of technical error and before retry attempt
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135] exclude bcpkix-jdk15on module to avoid transitive dependency issues occuring while building the app
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* Revert "[INJIMOB-2135] exclude bcpkix-jdk15on module to avoid transitive dependency issues occuring while building the app"
This reverts commit 8c7e4572c1.
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
* [INJIMOB-2135]: update openid4vp swift package
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
* [INJIMOB-2135] specify the type of t in getActionText method of vc and vp Activity log events file
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
---------
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
To identify matching issuer metadata details exposed by wellknown of the VC, previously credentialDefinition's type was used now it is getting replaced by credentialConfigurationId (this holds the keyValues of credential_configrations_supported object)
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>