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