Commit Graph

492 Commits

Author SHA1 Message Date
Tilak Puli
ca83cb8158 Inji-400: Cache api calls and return initial values if network not available (#883)
* feat(inji-400): Use Initial Config for all properties incase cache and network not available.

* feat(inji-400): Create cache apis to fetch and cache issuer api's

* feat(inji-400): Update Initial Config comments and remove qa-inji urls

* feat(inji-400): Rename catchAPIMethod to generateCacheAPIFunction

* feat(inji-400): Rename qa inji url from warningDomainName

* feat(inji-400): Update logs for api calls

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-10-04 15:44:15 +05:30
vijay151096
443d946c38 refactor(inji-416): Refactoring Openid4vci components & fixing issues (#889)
* refactor(inji-416): merged esignetvcitem and existingvcitem

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

---------

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-10-04 15:31:31 +05:30
Tilak Puli
de8cbb80ce feat(inji-344): Fix pin status not updating in vc item context (#871)
* feat(inji-344): Fix pin status not updating in vc item context

* feat(inji-344): Create seperate vc metadata update event for esignet mosip vc item
2023-09-28 16:05:11 +05:30
Sreenadh S
bad21e409c Inji 364 UI update for success messages (#863)
* feat(INJI-364): add new ui for successful activation of VC

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

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

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

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

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

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

* refactor(INJI-364): rename props

* refactor(INJI-364): remove logs

* fix(INJI-372): fix hindi translation

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

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

* refactor(INJI-364): remove unused imports

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

* refactor(INJI-364): add missing testID

* refactor(INJI-364): add missing testID

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

* chore(INJI-364): update package-lock.json
2023-09-26 21:05:22 +05:30
vijay151096
37c65c4be1 refactor(inji-245): fix download VC on android using openid4vc from esignet (#860)
* refactor(inji-245): refactor the esignet vc item template, loader component, changed usage to vcitem containers

* refactor(INJI-245): remove isValidUrl check for issuer

If logoUrl is passed to issuer it will be rendering else Digit icon will be rendered by default

* fix(INJI-245): perform relevant action on pressing the issuer

* refactor(INJI-245): move vc type files to types folder

* refactor(INJI-245): modify style of VC details

* refactor(INJI-245): move VcItemTags to VC/common folder

* refactor(INJI-245): modify loader style

* fix(INJI-245): make issuer component testIDs visible

For a FlatList, the component passed should have a unique testID set to make accessiblity id visible in appium inspector

* fix(inji-245): fix download credential in the android

* refactor(inji-245): modify the credential endpoint and aud from config

* refactor(inji-245): handle UIN display in the esignet  vcitem template

* refactor(inji-245): method naming corrections

---------

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-09-26 17:22:59 +05:30
dhivya0413
07efb42a2b [INJI-372] UI/UX enhancements on sharing flow (#856)
* chore(INJI-372): fix animator for sharing flow

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

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

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

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

* Add support to change mimoto and esignet host url under credential registry (#837)

* feat(INJI-360): Add esignet host as env variable and use in QR login flow.

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

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

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

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

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

---------

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

* chore(INJI-372): update podfile

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* feat(INJI-267): remove unnecessary formattings

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

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

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

---------

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* feat(INJI-267): remove unnecessary formattings

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

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

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

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

---------

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

* style vcDetails page  (#841)

* feat(INJI-351): style vcDetails page

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

---------

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

* Inji-344: Refactoring VC Key (#798)

* feat(inji-344): Use VC Key class instead of separate functions for managing vc key

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

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

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

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

* feat(inji-344):fix redownloading issue

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

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

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

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

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

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

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

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

---------

Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>

* chore(INJI-372): podfile lock changes

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

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

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

* fix(INJI-372): package lock fix

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

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

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

---------

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

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

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

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

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

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

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

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

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

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

---------

Co-authored-by: Kiruthika Jeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2023-09-25 12:42:40 +05:30
PuBHARGAVI
8378cb8fce fix(inji-324): show the download popup until the card is loaded successfully in the UI (#839)
* fix(INJI-324): show the download popup until the vc is downloaded and loaded successfully in the UI

* refactor(INJI-324): remove unnecessary formatting changes in vc and vcitem files

* fix(INJI-324): show download popup until all the VCs are successfully downloaded

Until all the requested VCs are downloaded and also if we close and open the app and the VCs are not downloaded yet the download popup will be shown in the UI

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

* refactor(INJI-324): remove unnecessary format changes
2023-09-25 10:09:57 +05:30
Tilak Puli
a20a01a8b0 Feat(Inji-344): Fix Remove VC failure due to json parsing (#849)
* 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

* feat(inji-344): fix remove VC getting failed due to json parse issue

* Merge branch 'develop' of https://github.com/mosip/inji

---------

Co-authored-by: Sri Kanth Kola <srikanthsri7447@gmail.com>
2023-09-22 18:03:29 +05:30
PoojaBabusing
f38ef74f9f add resend otp to wallet binding in kebabPopUp and ViewVc (#852)
* feat(INJI-327): add resend otp to wallet binding in kebabPopUp and ViewVC

* feat(INJI-327): update resend otp timer to 180 sec

---------

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-09-22 18:01:56 +05:30
KiruthikaJeyashankar
55c666b121 feat: download credentials from Esignet using openId4VCI (#851)
* feat(INJI-245): dowload and view card via issuers

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

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

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

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

* refactor(INJI-245): remove debug logs

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

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

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

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

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

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

---------

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

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

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

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

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

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

* fix(INJI-350): add extraSmall size type to text component
2023-09-21 17:38:15 +05:30
Tilak Puli
ec9fd9f6d9 Inji-344: Refactoring VC Key (#798)
* feat(inji-344): Use VC Key class instead of separate functions for managing vc key

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

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

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

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

* feat(inji-344):fix redownloading issue

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

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

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

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

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

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

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

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

---------

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

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

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

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

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

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

---------

Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-09-18 14:38:11 +05:30
dhivya0413
769ed54bcf [INJI-195] Upgrade React native version to 0.71.8 (#824)
* chore(INJI-195): upgrade react native version and dependencies

* chore(INJI-195): upgrade expo version and dependencies

* chore(INJI-195): modify associated files on version upgrade

* chore(INJI-295): fixed react native flipper and patch packages

* chore(INJI-195): fix for expo prebuild

* chore(INJI-195): expo linked to android/ios projects

* chore(INJI-195): update metro config

* chore(INJI-195): fix ios build with mmkv storage patch

* chore(INJI-195): gradle version modified

* chore(INJI-195): fixed rn version 0.71.8 due to mmkv library issue

* chore(INJI-195): removed files in android

* chore(INJI-195): fix 0.71.8 for iOS project through pods with expo linking

* chore(INJI-195): fix for custom fonts added through pods due to rn linkage

* chore(INJI-195): fix for removing assets.car generated from pods

* Modify Node version in pipeline (#806)

* chore(INJI-195): fix for android splash screen not shown up

* chore(INJI-195): upgraded to node 18 in pipeline

* chore(INJI-195): add the pod install twice to remove duplicates via script workaround (#807)

Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com>

* INJI-195 Set the signing team for iOS  (#810)

* chore(INJI-195): add the pod install twice to remove duplicates via script workaround

* chore(INJI-195): set the signing team for ios build

---------

Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com>

* Modify github runner to self hosted runner (#811)

* chore(INJI-195): add the pod install twice to remove duplicates via script workaround

* chore(INJI-195): set the signing team for ios build

* chore(INJI-195): set the self hosted runner for ios build

---------

Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com>

* Modify self hosted runner to github hosted runner  (#813)

* chore(INJI-195): add the pod install twice to remove duplicates via script workaround

* chore(INJI-195): set the signing team for ios build

* chore(INJI-195): set the self hosted runner for ios build

* chore(INJI-195): modify the self hosted to github hosted runner

---------

Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com>

* chore(INJI-195): modify the self hosted to github hosted runner

* chore(INJI-195): set the code signing identity for ios build

* chore(INJI-195): assigned app icon files to asset

---------

Signed-off-by: dhivya0413 <120356578+dhivya0413@users.noreply.github.com>
Signed-off-by: Swati Goel <meet2swati@gmail.com>
Co-authored-by: Swati Goel <meet2swati@gmail.com>
2023-09-13 11:53:59 +05:30
Swati Goel
27efaf6cdd Inji 360 Support different host for mimoto and esignet (#829)
* feat(INJI-360): Add esignet host as env variable and use in QR login flow.

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

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

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

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

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

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

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

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

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

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

before new UI merge we have 3 different tabs in home screen and activeTab is used for displaying the current active tab
2023-09-12 13:34:21 +05:30
Anil kumar M
0417a2523f fix(Inji-290): Modified share timeout hint as per wireframe (#800)
* fix(INJI-290): modified-share-timeout-hint-as-per-wireframe

* Updated the locals with respective texts in progressing screen
2023-09-11 12:47:05 +05:30
dhivya0413
c7644de546 fix(INJI-253): set thumbprint for custom secure keystore for qr login (#787) 2023-08-31 14:12:47 +05:30
Anil kumar M
98cbfc5142 fix(INJI-282) Cross button of pop-up will navigate to home (#786)
* fix(INJI-282) Cross button of pop-up will navigate to home

* Icon made as pressble part
2023-08-31 14:12:20 +05:30
Dhivya
93b6304039 fix(inji-253): set thumbprint on wallet binding for e-signet login 2023-08-30 13:21:45 +05:30
PoojaBabusing
3b9baa0962 feat(INJI-202): hash uin/vid to store in mmkv and file storage (#780)
* feat(INJI-202): hash uin/vid to store in mmkv and file storage

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

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

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

---------

Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com>
2023-08-29 12:48:18 +05:30
dhivya0413
006c8f417c Merge pull request #114 from tw-mosip/inji-238-invalidate-keys
feat(Inji-238): Use dummy key to request biometric auth on app opening
2023-08-24 13:17:49 +05:30
Tilak Puli
84ee5894ac feat(inji-238): revert tamperedErrorMessageString value 2023-08-24 13:06:04 +05:30
Tilak Puli
d5ca3ecbfe feat(inji-238): use a dummy key to request biometric auth everytime user opens the app 2023-08-24 12:46:02 +05:30
Swati Goel
e6b8a35be5 Merge pull request #113 from tw-mosip/inji-255-passcode-hash
[INJI-255] Hashed Passcode and verify
2023-08-24 12:37:30 +05:30
Dhivya
4cf62e07b3 feat(INJI-255): hash the passcode and store in mmkv 2023-08-24 11:42:18 +05:30
Sri Kanth Kola
115e0f9124 fix(INJI-263):camera is not opening when vc is pinned 2023-08-24 11:23:01 +05:30
Sri Kanth Kola
93de9d14ea Merge branch 'develop' of https://github.com/tw-mosip/inji into inji-263-camera-not-working-pinnedVC 2023-08-23 17:37:20 +05:30
Swati Goel
d41e3413da Merge pull request #97 from tw-mosip/inji-69
[Inji-69]fix:The mobile camera is not opening on the scan page when the flight mode is turned
2023-08-23 17:16:59 +05:30
Tilak Puli
13e7d332f9 feat(inji-238): reinit app machine on dismiss of invalidation popup 2023-08-23 15:22:23 +05:30
Tilak Puli
6d1943b035 feat(inji-238): handle key not found error after key invalidation 2023-08-23 15:17:55 +05:30
Sri Kanth Kola
a760e1a25e fix(INJI-263):camera is not opening when vc is pinned 2023-08-23 13:49:08 +05:30
srikanth716
5895e8ec4b fix(INJI-211[1]): improve isPinned evaluation of (un)pinned VCs (#102)
* fix(INJI-211[1]): Pin/unpin card not working intermittently
2023-08-23 13:06:10 +05:30
Dhivya
2019f2a65b refactor(INJI-214): refactor the code 2023-08-22 11:31:30 +05:30
Dhivya
97529c2f38 fix(INJI-214): secure-keystore version changes 2023-08-21 13:05:01 +05:30
Dhivya
8843358fcf Merge remote-tracking branch 'upstream/develop' into inji-214 2023-08-17 18:38:43 +05:30
Tilak Puli
2caa763cab feat(inji-214): [Dhivya|Tilak] fix generate key pair failing due to wrong count of arguments 2023-08-17 12:54:26 +05:30
Tilak Puli
3e1f55c76f feat(inji-214): [Dhivya|Tilak] fix app events RESET_KEY_INVALIDATE_ERROR_DISMISS not accessible issue 2023-08-17 12:30:18 +05:30
Dhivya
a056ad6f0d feat(inji-238): fetch enabled device biometric from sdk 2023-08-16 12:31:17 +05:30
Harsh Vardhan
2cae52916a fix(INJI-149): skip showing read-error popup on launch 2023-08-16 12:26:23 +05:30
Dhivya
c1515db9de feat(INJI-238): add reset keys action 2023-08-14 18:02:01 +05:30
Dhivya
04e5498572 feat(INJI-238): handling errors when invalidate keys of biometric 2023-08-14 11:41:49 +05:30
vijay151096
c9571e0603 Merge pull request #101 from tw-mosip/INJI-25
As a resident, when I go to the "Inji tour guide" section, I should be taken to the "Intro Slides"
2023-08-11 17:02:20 +05:30
anil_majji
73d2dab45a Resolved the comments 2023-08-11 14:56:47 +05:30
Tilak Puli
4b7b6ecb48 feat(inji-214): [Dhivya|Tilak] Update encryption and decryption to call SecureKeystore sdk with biometric auth enabled 2023-08-09 18:06:01 +05:30
anil_majji
7d6d2c8de0 Inplemented INJI Tour Guide in settings 2023-08-09 15:44:08 +05:30
Sri Kanth Kola
8b3ca6186b fix:naming conventions, removed log and values in locals 2023-08-04 18:30:35 +05:30
Sri Kanth Kola
80a6375ac2 [Inji-248]fix:The audit for deleting the VC is not logged in the history 2023-08-04 12:02:39 +05:30