185 Commits

Author SHA1 Message Date
Swati Goel
b75802f57e feat(INJI-499) - Remove unused code for google near by and firebase. (#963)
Signed-off-by: Swati Goel <meet2swati@gmail.com>
2023-10-23 16:36:45 +05:30
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
Tilak Puli
2abbca625a feat(Inji-293) Update GitHub actions to test build on PR (#902)
* feat(inji-293): Update Expo to 44.0.6 to fix ios build issues

* feat(inji-293): Run ios verify build on pull requests from feature as well

* feat(inji-293): revert ios build running on pull request to feature

* feat(inji-293): Use dummy values for google services json and password

* feat(inji-293): use dummy google services json variable directly instead of secret in verify workflow

* feat(inji-293): Fix syntax error for using dummy google services json variable directly

* feat(inji-293): remove unnecessary play file setup and update firebase setup to use dummy google service json

* feat(inji-293): update dummy google services json with dummy values

* feat(inji-293): use DUMMY_INJI_ANDROID_DEBUG_STOREPASS env for dummy password

* feat(inji-293): refactor using dummy google service json in firebase

* feat(inji-293): Use GITHUB_ENV to access file level env variables

* feat(inji-293): read dummy google services json from a file

* feat(inji-293): fix bash syntax of accessing env variable

* feat(inji-293): fix bash syntax accessing dummy services json file

* feat(inji-293): fix path to dummy google services json

* feat(inji-293): fix bash syntax of reading dummy json

* feat(inji-293): fix bash syntax of reading dummy json

* feat(inji-293): fix bash syntax of reading dummy json

* feat(inji-293): use python script to load dummy values from a env file

* feat(inji-293): fix variable names in dummy env

* feat(inji-293): Revert dot env usage to get dummy env values

* feat(inji-293): update node version 18 for ios build verify

Signed-off-by: Tilak Puli <tilakpuli15@gmail.com>

* feat(inji-293): try using build_app_for_automation_on_simulator for ios build verify

Signed-off-by: Tilak Puli <tilakpuli15@gmail.com>

* feat(inji-293): try using build_app_for_automation_on_simulator for ios build verify

Signed-off-by: Tilak Puli <tilakpuli15@gmail.com>

* feat(inji-293): fix react native flipper failing in build

Signed-off-by: Tilak Puli <tilakpuli15@gmail.com>

* feat(inji-293): remove formatting changes in unchanged files

Signed-off-by: Tilak Puli <tilakpuli15@gmail.com>

---------

Signed-off-by: Tilak Puli <tilakpuli15@gmail.com>
2023-10-11 11:58:02 +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
adityankannan-tw
46fd645897 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
2023-09-15 12:21:44 +05:30
Swati Goel
4b182493c0 Revert "feat(INJI-333): Add a job to upload apk to Github actions in internal build (#832)" (#835)
This reverts commit 5c0ac9d169.
2023-09-14 17:33:26 +05:30
adityankannan-tw
5c0ac9d169 feat(INJI-333): Add a job to upload apk to Github actions in internal build (#832) 2023-09-13 11:57:56 +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
adityankannan-tw
3cbeb0660f feat(#INJI-173) [Adityan] Added a beta release workflow when tagged 2023-07-17 16:45:29 +05:30
Monobikash Das
66b36a5e4f Merge pull request #750 from Anil-kumar-Majji/ui-revamp-release
INJI new UI/UX release
2023-07-03 11:15:10 +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
anil_majji
ec5bb94e45 Updated with develop branch along with VcItemContent.tsx, VcItemActivation.tsx 2023-06-23 13:55:32 +05:30
adityankannan-tw
37105e747c Change from debug build to release build (#748)
* Change from debug build to release build

* Call the verify lane directly from workflow
2023-06-22 16:19:06 +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
Vijay
b6f9f1e34d feat(INJI-94): [Vijay] git hub runner feature toggle options
Issue Link https://mosip.atlassian.net/browse/INJI-94
2023-06-07 15:14:26 +05:30
Vijay
1a3e39b6ef feat(INJI-94): [Vijay] Environment Agnostics Basic Implementation
Issue Link: https://mosip.atlassian.net/browse/INJI-94
2023-06-07 12:10:14 +05:30
adityankannan-tw
1ba3283486 feat(#INJI-120) [Android][IOS] add PR build verification workflow (#739) 2023-06-05 15:37:53 +05:30
Dhivya
4871367f47 chore: testers group order same as app store connect 2023-06-01 17:31:14 +05:30
Dhivya
e7cd15c832 chore: Add appstore connect groups in workflow 2023-06-01 17:14:43 +05:30
Dhivya
cd7e3f0b9b fix:(#29) iOS build workflow fix 2023-05-30 17:04:09 +05:30
Dhivya
45a869b402 revert build.gradle changes 2023-05-30 15:51:04 +05:30
Vijay
be72719ea6 resolve merge conflicts from upstream develop to internal-release-30-05-23 2023-05-30 14:45:59 +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
Sri Kanth Kola
7c8471838d Merge branch 'newUI' of https://github.com/srikanth716/inji into newUI 2023-04-18 22:52:42 +05:30
gaganama
421d71b7cc [DSD-1364] Added token to the workflow for inji repo. 2023-04-18 21:44:21 +05:30
gaganama
af840494f1 [DSD-1364] Added token to the workflow for inji repo. 2023-04-18 21:44:21 +05:30
gaganama
6ed525fd17 [DSD-1364] Added delete workflow in manual mode for inji repo. 2023-04-18 21:44:21 +05:30
Keshav Mishra
ad8cf8a5a2 Update android-custom-build.yml 2023-04-18 21:44:06 +05:30
Sri Kanth Kola
2ae7b699de Merge branch 'newUI' of https://github.com/srikanth716/inji into newUI 2023-04-18 13:17:56 +05:30
gaganama
f4a6e5c108 [DSD-1364] Added token to the workflow for inji repo. 2023-04-17 21:02:55 +05:30
gaganama
1527931f7f [DSD-1364] Added token to the workflow for inji repo. 2023-04-17 21:02:55 +05:30
Keshav Mishra
be775dd622 Update android-custom-build.yml 2023-04-13 12:18:16 +05:30
Monobikash Das
86ace48752 added 0.9 branch 2023-03-17 12:53:05 +05:30
vijay
cebe3b2813 refactor(#611): [Vijay] update the github workflow theme dropdown values 2023-03-08 10:29:53 +05:30
vijay
44e3034058 fix(#611): [Vijay] update github workflow inputs to dropdown 2023-03-08 09:43:26 +05:30
vijay
6a35e48349 refactor(#611): [Vijay] add new input in github action workflow to toggle the themes 2023-03-07 19:19:45 +05:30
Raginikrishnamurthy
e8883f6d2c Updated issue template (#582)
This fix contains updated issue templates.
2023-02-27 12:38:11 +05:30
RAVI KUMAR PASUMARTHY
7301d6ec56 Merge pull request #587 from mosip/custom-build-fix
Update android-custom-build.yml to use the node version as 16.x
2023-02-24 20:26:05 +05:30
Sasikumar Ganesan
dce1a49743 remove name 2023-02-24 20:22:51 +05:30
Sasikumar Ganesan
56428c4f88 Update android-custom-build.yml 2023-02-24 20:20:27 +05:30
Sasikumar Ganesan
d6af780e1c Update android.yml 2023-02-24 20:08:05 +05:30
Sasikumar Ganesan
4e1131289d Update android.yml 2023-02-24 19:50:16 +05:30
anil_majji
61ae341db1 Initial commit 2023-01-20 14:59:47 +05:30
Monobikash Das
818edeac61 Merge pull request #300 from mosip/develop
merged paolo's bugfix code
2022-12-05 16:06:21 +05:30
Sasikumar Ganesan
137f7440cd update the sonar yml file 2022-11-30 20:35:10 +05:30
Monobikash Das
1a54ea520e Merge pull request #248 from mosip/develop
Taken latest changes from develop
2022-11-10 11:35:37 +05:30