260 Commits

Author SHA1 Message Date
vijay151096
4e643134d7 Refactor(inji-472): refactoring api usage, fix warnings, and fix fabicon ui issue (#952)
* refactor(inji-472): refactoring api usage, fix warnings, and fix fab icon ui issue

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

* refactor(inji-472): remove masking in vc details page, add the testid for the download FAB icon

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

---------

Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-10-23 13:59:54 +05:30
PuBHARGAVI
0537cf6699 fix(Inji 332): reset UIN field in add vc modal and set AddVcModal dropdown to VID (#864)
* fix(INJI-332): reset the UIN field in AddVcModal after downloading the VC using AID and show VID in dropdown

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

* fix(INJI-332): change default value of getIndividualId response to UIN in getVcModal

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

* remove project.pbxproj changes

* Revert "remove project.pbxproj changes"

This reverts commit ba7d9ec872.

* fix(INJI-332): reset the project.pbxproj file

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

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2023-10-13 15:13:44 +05:30
Vijay
68388ae69c chore(inji-455): update tuvali version to (0.4.6)
Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-10-12 12:00:44 +05:30
adityankannan-tw
54770787c6 Inji 364 fix ios success message popup (#870)
* fix(INJI-364): fix success pop up not showning in ios

* feat(INJI-364): fix iOS success popup

---------

Co-authored-by: Dhivya <dhivya.v@thoughtworks.com>
2023-09-28 12:32:48 +05:30
adityankannan-tw
1b904c668a Inji- 404 - ios automation build (#869)
* feat(INJI-404): Add a new workflow for ios automation build (#862)

* feat(INJI-404): Remove smart share library from package json

* feat(INJI-404): rename the job name
2023-09-27 18:46:35 +05:30
Harsh Vardhan
2adef1a78b feat(INJI-343): Text changes & other UI enhancements (#854)
* feat(INJI-343): update error msg texts

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

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

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

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

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

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

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

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

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

---------

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

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

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

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

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

* refactor(INJI-245): remove debug logs

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

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

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

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

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

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

---------

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Co-authored-by: Vijay <94220135+vijay151096@users.noreply.github.com>
2023-09-22 17:22:59 +05:30
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
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
srikanth716
d9bb51bd2d fix(INJI-134):New mosip logo is updated in the inji app (#801)
* fix(INJI-134):New mosip logo is updated in the inji app

* fix(INJI-134):New mosip logo is updated in the inji ios
2023-09-12 10:31:19 +05:30
Dhivya
4cf62e07b3 feat(INJI-255): hash the passcode and store in mmkv 2023-08-24 11:42:18 +05:30
Dhivya
24002b86ee fix(INJI-214): fixed Podfile.lock merge issue 2023-08-21 15:15:40 +05:30
Dhivya
8843358fcf Merge remote-tracking branch 'upstream/develop' into inji-214 2023-08-17 18:38:43 +05:30
Harsh Vardhan
1f1ffa75b3 Merge remote-tracking branch 'tw-mosip/develop' into internal-release-16-08-2023
ref: https://mosip.atlassian.net/browse/INJI-278
2023-08-16 14:31:52 +05:30
Dhivya
04e5498572 feat(INJI-238): handling errors when invalidate keys of biometric 2023-08-14 11:41:49 +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
vijay151096
37efac58db Merge pull request #92 from tw-mosip/inji-222
feat(INJI-222): show popup when decrypt-error is thrown
2023-08-01 15:06:22 +05:30
Harsh Vardhan
4ce5990c92 feat(INJI-222): propagate event from _store to app state machine
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2023-07-31 16:59:38 +05:30
Alka
71863619ad chore(INJI-216): update podlock file with the correct tuvali version 2023-07-26 15:29:59 +05:30
Harsh Vardhan
ade04397e4 chore: update pod deps' to match development team of 1st project 2023-07-21 11:36:53 +05:30
Harsh Vardhan
ced7fef7b3 chore: add check for Verifiable document store init
other changes:
- add Podfile.lock
- remove debug logs
2023-07-18 12:39:10 +05:30
Harsh Vardhan
becec367ea chore: add missed out Podfile.lock changes 2023-07-18 12:04:00 +05:30
adityankannan-tw
0879cdb754 INJI-31 - [Android] Added a workflow to publish to play store (#747)
* feat(#INJI-31) [Android] Added a workflow to publish to play store and update readme

* Enable proguard and shrink resources

* added spa.json

Signed-off-by: Keshav Mishra <chandrakeshavmishra@gmail.com>

* Refactor the code and update readme

* Remove spanish locale file to avoid conflict

* Update Fastfile with ENV variables

---------

Signed-off-by: Keshav Mishra <chandrakeshavmishra@gmail.com>
Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: Keshav Mishra <chandrakeshavmishra@gmail.com>
2023-06-28 11:54:44 +05:30
PuBHARGAVI
cb125a2de3 Merge pull request #61 from tw-mosip/update-app-logo
feat(INJI-134): Update the app logo with new logo
2023-06-16 13:36:21 +05:30
PuBHARGAVI
53d8c61400 Merge branch 'develop' into update-app-logo 2023-06-13 18:28:15 +05:30
PuBHARGAVI
d465484d5e feat(INJI-134): [Bhargavi] update android & iphone splash screen with new logo
Issue Link https://mosip.atlassian.net/browse/INJI-134
2023-06-13 16:51:57 +05:30
Harsh Vardhan
1c6a1fe79d chore: bump up the tuvali version to v0.4.1 for release 13-06-2023 2023-06-13 12:46:48 +05:30
Harsh Vardhan
51a8336bb3 Merge remote-tracking branch 'tw-mosip/develop' into internal-release-13-06-2023
Conflicts:
	.github/workflows/android-custom-build.yml
	ios/fastlane/Fastfile
2023-06-12 18:24:47 +05:30
Tilak Puli
fb2a01bf68 Merge remote-tracking branch 'origin/develop' into update-API-def-inji 2023-06-12 16:53:54 +05:30
Tilak Puli
d4cfa03fb0 Merge remote-tracking branch 'origin/develop' into update-API-def-inji 2023-06-12 16:41:47 +05:30
Dhivya
eb5f203097 fix(#136): ios target in podfile renamed 2023-06-12 16:11:00 +05:30
Tilak Puli
623feec07a Merge remote-tracking branch 'origin/develop' into update-API-def-inji 2023-06-09 15:24:43 +05:30
Tilak Puli
d1ed3118e6 feat(#83): [Tilak|Pooja] remove unnecessary scan.ts and change in ios project 2023-06-09 15:09:53 +05:30
Tilak Puli
55b8942713 feat(#83): [Tilak|Pooja] update tuvali package name 2023-06-08 16:02:57 +05:30
Dhivya
2d826d57cd chore:(#136): rename app to inji 2023-06-08 12:44:35 +05:30
dhivya0413
9ccb6e0a23 Inji-118 - [Dhivya] Fix for app store connect issues (#54)
* fix(#118): fix for app store connect issue

* fix:(#118) fix for app store connect issue

* fix(#118): formatted plist
2023-06-08 10:00:05 +05:30
Tilak Puli
a11ffb054e feat(#83): [Tilak|Pooja] remove assets that got added automatically 2023-06-06 14:25:31 +05:30
adityankannan-tw
1ba3283486 feat(#INJI-120) [Android][IOS] add PR build verification workflow (#739) 2023-06-05 15:37:53 +05:30
Tilak Puli
8be0f30cb8 Merge remote-tracking branch 'origin/develop' into update-API-def-inji 2023-06-01 14:38:08 +05:30
Vijay
be72719ea6 resolve merge conflicts from upstream develop to internal-release-30-05-23 2023-05-30 14:45:59 +05:30
Dhivya
6498a6ae1d chore: bump up the tuvali version to v0.4.0 for release 30-05-2023 2023-05-30 14:04:27 +05:30
dhivya0413
4fdedb5021 modify from self-hosted runner to github runner (#730) 2023-05-29 17:33:53 +05:30
Keshav Mishra
15ee365ee4 Revert "INJI-29 Modified from self-hosted to mac-runner (#728)" (#729)
This reverts commit b35bfbc8ad.
2023-05-29 16:59:46 +05:30
dhivya0413
b35bfbc8ad INJI-29 Modified from self-hosted to mac-runner (#728)
* Update android-custom-build.yml

* Test update readme for read access

Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>

* iOS workflow added

* iOS slack webhook added

* Add a workflow file to build app for every push

* Add empty debug keystore file to populate it

* Add empty debug keystore file to populate it

* fastlane match file added

* modify api_key duration

* Remove keystore exemption from git ignore

* Check for debug keystore file in app directory

* Give permission for keystore file to access it

* Give permission for keystore file to access it

* Print the env variables for keystore

* Use same password for both store and key and build the app

* Use same password for both and generate in app and build the app

* Print debug keystore path and debug it

* Print debug keystore path and debug it in fastfile

* Export from the current folder and remove sudo

* Generate release keystore and build the app

* Generate release keystore and build the app try 2

* Generate release keystore and build the app try 3

* Add encoded api key

* fastlane match password added

* fastlane match key added

* Match file env modified

* set keystore env for specific tasks and build the app

* set keystore env for specific tasks and build the app try 2

* set keystore env for specific tasks and build the app try 3

* set keystore env for specific tasks and build the app try 4

* set keystore env for specific tasks and build the app try 5

* bumping version

* create a env file to store env variables and build the app

* create a env file in fastlane and load it to build the app

* create a env file in fastlane and load it to build the app try 2

* app id added

* signing identities added

* Pass env from workflow to fastfile and build

* Build app in workflow file only

* Update the version code in build.gradle and build the app

* Update the version code in build.gradle and confirm changes by logging

* Update the version code in build.gradle and confirm changes by logging 2

* Double check the version code changes and build the app

* Add logs to see version code is changes or not

* Add logs to see version code is changes or not try 2

* Add logs to see version code is changes or not try 3

* Add logs to see version code is changes and give execute permission

* Build app without exporting the keystore

* Build app without exporting the keystore and bump version

* Build app by exporting the keystore in a task

* Build the app without fastlane

* unlock keychain key added

* fastfile changes

* config modified

* xcode proj config added

* xcode proj config added

* fastfile config added

* fastfile config added

* modified cert

* Fastfile config added

* updated key to test workflow

* Fastfile config updated

* changed to manual match of provisioning profile

* Check for git tag

* Check for git tag and echo it

* Check for git tag using try catch

* Check for git tag and print it

* Add a tag and try to print it

* Add a tag and try to run the task

* Add a tag and try to run the task try 2

* Change keystore path and build the app

* Change keystore path in build.gradle and build the app

* fastfile configured

* match modified

* match modified

* Clean up the code base

* Clean up the code base

* Clean up the code base and give permission

* testers added

* Internal testers group

* Trigger on workflow push

* fastfile changes for testers

* fastfile changes for testers

* fastfile changes for testers

* fastfile changes for testers

* fastfile changes for testers

* Add a PR trigger for ci-publish

* Add a env for keystore job

* Added actual env for testers

* Add a env for keystore job and export job

* Adjust env variables for jobs

* Make env as global

* Refactor the code base and clear files

* [Dhivya|Adityan] feat(#INJI-29|31)[Android][iOS] PR trigger and automate build using fastlane and push iOS build to test flight

* [Dhivya|Adityan] refactor(#INJI-29|31)[Android][iOS] Change the backend url and add comments and rename apk output

* [Dhivya|Adityan] refactor(#INJI-29|31)[Android][iOS] Change the workflow name

* configure macos runner

* modify command for fastlane

---------

Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: Keshav Mishra <chandrakeshavmishra@gmail.com>
Co-authored-by: Monobikash Das <43202165+MonobikashDas@users.noreply.github.com>
Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: MOSIP <mosip@MOSIPs-MacBook-Air.local>
Co-authored-by: Adityan Kannan <adityankannan@Adityans-MacBook-Pro.local>
Co-authored-by: adityankannan-tw <adityan.kannan@thoughtworks.com>
2023-05-29 16:58:23 +05:30
adityankannan-tw
ca334b8acb INJI-29 | 31 - iOS automation workflow and Android PR workflow (#725)
* Test update readme for read access

Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>

* iOS workflow added

* iOS slack webhook added

* Add a workflow file to build app for every push

* Add empty debug keystore file to populate it

* Add empty debug keystore file to populate it

* fastlane match file added

* modify api_key duration

* Remove keystore exemption from git ignore

* Check for debug keystore file in app directory

* Give permission for keystore file to access it

* Give permission for keystore file to access it

* Print the env variables for keystore

* Use same password for both store and key and build the app

* Use same password for both and generate in app and build the app

* Print debug keystore path and debug it

* Print debug keystore path and debug it in fastfile

* Export from the current folder and remove sudo

* Generate release keystore and build the app

* Generate release keystore and build the app try 2

* Generate release keystore and build the app try 3

* Add encoded api key

* fastlane match password added

* fastlane match key added

* Match file env modified

* set keystore env for specific tasks and build the app

* set keystore env for specific tasks and build the app try 2

* set keystore env for specific tasks and build the app try 3

* set keystore env for specific tasks and build the app try 4

* set keystore env for specific tasks and build the app try 5

* bumping version

* create a env file to store env variables and build the app

* create a env file in fastlane and load it to build the app

* create a env file in fastlane and load it to build the app try 2

* app id added

* signing identities added

* Pass env from workflow to fastfile and build

* Build app in workflow file only

* Update the version code in build.gradle and build the app

* Update the version code in build.gradle and confirm changes by logging

* Update the version code in build.gradle and confirm changes by logging 2

* Double check the version code changes and build the app

* Add logs to see version code is changes or not

* Add logs to see version code is changes or not try 2

* Add logs to see version code is changes or not try 3

* Add logs to see version code is changes and give execute permission

* Build app without exporting the keystore

* Build app without exporting the keystore and bump version

* Build app by exporting the keystore in a task

* Build the app without fastlane

* unlock keychain key added

* fastfile changes

* config modified

* xcode proj config added

* xcode proj config added

* fastfile config added

* fastfile config added

* modified cert

* Fastfile config added

* updated key to test workflow

* Fastfile config updated

* changed to manual match of provisioning profile

* Check for git tag

* Check for git tag and echo it

* Check for git tag using try catch

* Check for git tag and print it

* Add a tag and try to print it

* Add a tag and try to run the task

* Add a tag and try to run the task try 2

* Change keystore path and build the app

* Change keystore path in build.gradle and build the app

* fastfile configured

* match modified

* match modified

* Clean up the code base

* Clean up the code base

* Clean up the code base and give permission

* testers added

* Internal testers group

* Trigger on workflow push

* fastfile changes for testers

* fastfile changes for testers

* fastfile changes for testers

* fastfile changes for testers

* fastfile changes for testers

* Add a PR trigger for ci-publish

* Add a env for keystore job

* Added actual env for testers

* Add a env for keystore job and export job

* Adjust env variables for jobs

* Make env as global

* Refactor the code base and clear files

* [Dhivya|Adityan] feat(#INJI-29|31)[Android][iOS] PR trigger and automate build using fastlane and push iOS build to test flight

* [Dhivya|Adityan] refactor(#INJI-29|31)[Android][iOS] Change the backend url and add comments and rename apk output

* [Dhivya|Adityan] refactor(#INJI-29|31)[Android][iOS] Change the workflow name

---------

Signed-off-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: MOSIP <mosip@MOSIPs-MacBook-Air.local>
Co-authored-by: Adityan Kannan <adityankannan@Adityans-MacBook-Pro.local>
Co-authored-by: Dhivya <dhivya.v@thoughtworks.com>
2023-05-26 18:18:28 +05:30
Harsh Vardhan
8fc3b5f6e4 chore: bump up the tuvali version to v0.3.12 for release 19-05-2023 2023-05-19 13:08:19 +05:30
Tilak Puli
50c0f11f5e feat(#84): [Pooja|Tilak] don't spawn request machine on ios 2023-05-18 16:58:58 +05:30
Harsh Vardhan
86eccf945b chore: bump up faceauth-sdk in Podfile.lock 2023-04-21 10:22:16 +05:30
Harsh Vardhan
9b386c7d8f chore: bump up the tuvali version to v0.3.11 for release 19-04-2023 2023-04-20 09:41:19 +05:30
Alka Prasad
3812bb2829 refactor(#26879): reformat storage.ts file to export class instead of all method 2023-04-19 15:44:46 +05:30