Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release 03-07-2023] Reverse Merge #72

Merged
merged 229 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
fd8b944
Update android-custom-build.yml
ckm007 Jul 27, 2022
a6cf2dd
Merge pull request #46 from idpass/main
MonobikashDas Aug 12, 2022
af6be3c
[DSD-1364] Added delete workflow in manual mode for inji repo.
gaganama Aug 26, 2022
47b6334
Merge pull request #84 from gaganamadival/main
ckm007 Aug 26, 2022
69f13c1
[DSD-1364] Added token to the workflow for inji repo.
gaganama Sep 2, 2022
48be877
[DSD-1364] Added token to the workflow for inji repo.
gaganama Sep 2, 2022
43f2655
Merge pull request #88 from gaganamadival/main
ckm007 Sep 2, 2022
61ae341
Initial commit
Anil-kumar-Majji Jan 20, 2023
fa83ca7
UI changed in home-screen
Anil-kumar-Majji Jan 31, 2023
9194e00
update vc card layout
srikanth716 Jan 31, 2023
9931dc2
Created Splash logo screen
Anil-kumar-Majji Jan 31, 2023
1a2ff98
Replaces profileIconBg with IconContainer
Anil-kumar-Majji Feb 1, 2023
67360e9
Bottom-tab icons modified as per new UI
Anil-kumar-Majji Feb 1, 2023
85c8c37
Added styles to Tab-bar
Anil-kumar-Majji Feb 2, 2023
84a1840
Builded scan screen as per new UI
Anil-kumar-Majji Feb 2, 2023
7db3b1d
Added styles to scan screen
Anil-kumar-Majji Feb 2, 2023
99e74ae
Created history screen as new UI
Anil-kumar-Majji Feb 6, 2023
d22a0d4
Implemented Splash screen
Anil-kumar-Majji Feb 6, 2023
08fe282
changing auth screen
srikanth716 Feb 6, 2023
296e3d0
Scan screen designed asper new UI
Anil-kumar-Majji Feb 7, 2023
a94db0b
changing Vcitem and Vcdetails layout
srikanth716 Feb 7, 2023
0608e9f
Adjusted RTL issues in new UI
Anil-kumar-Majji Feb 7, 2023
6356273
Language selection at the initial launch
srikanth716 Feb 8, 2023
8703d0a
Merge branch 'Authscreens#465' of https://github.com/srikanth716/inji…
srikanth716 Feb 9, 2023
9538a38
Created settings screen
Anil-kumar-Majji Feb 9, 2023
6ec2672
Designed settings screen as per New UI
Anil-kumar-Majji Feb 9, 2023
b5c225d
Solved merge conflicts
Anil-kumar-Majji Feb 10, 2023
eb00619
implrmented help button
Anil-kumar-Majji Feb 10, 2023
11abe0d
Removed Unwanted list-items in settings
Anil-kumar-Majji Feb 11, 2023
d2b7376
Implemented Progressing modal
Anil-kumar-Majji Feb 11, 2023
5170d61
After changes as per new ui
Anil-kumar-Majji Feb 11, 2023
38fe6d7
After changes as per new ui
Anil-kumar-Majji Feb 11, 2023
49f12c6
Adjusted RTL in scan screens & corrected env.
Anil-kumar-Majji Feb 11, 2023
d9c1ece
Added progressing screen
Anil-kumar-Majji Feb 13, 2023
3e51d5d
Created gradient responsive buttons
Anil-kumar-Majji Feb 13, 2023
0c35fd0
Added CSS to the responsive buttons
Anil-kumar-Majji Feb 13, 2023
95afff3
SendVcScreen design as per new UI
Anil-kumar-Majji Feb 15, 2023
e4e7c4a
send VC Layout designed as per new UI
Anil-kumar-Majji Feb 17, 2023
ab865f6
added loader in progressingModal
Anil-kumar-Majji Feb 23, 2023
b28330f
Removes Splash screen imports
Anil-kumar-Majji Feb 24, 2023
64a8e32
Added Home-Screen Kebab locals
Anil-kumar-Majji Feb 27, 2023
c760053
Replaced with new splash-screen image
Anil-kumar-Majji Feb 28, 2023
643495d
Implemented new splash-screen image atlast
Anil-kumar-Majji Feb 28, 2023
d0464a4
feat:languase selection and intro sliders
srikanth716 Mar 4, 2023
5aabf68
new ui changes
srikanth716 Mar 10, 2023
71b4ac3
Implemented downloading popup
Anil-kumar-Majji Mar 14, 2023
75251c9
Updated OTP verification modal
Anil-kumar-Majji Mar 14, 2023
605b67a
new ui changes
srikanth716 Mar 15, 2023
22619f8
merged with srikanth's code
Anil-kumar-Majji Mar 15, 2023
9d3b3ad
Commited both the UI changes yet
Anil-kumar-Majji Mar 15, 2023
f4fb283
new ui changes
srikanth716 Mar 16, 2023
9727163
Adjusted Binding warn overlay
Anil-kumar-Majji Mar 16, 2023
0811de7
Fix walletBinding success label
srikanth716 Mar 16, 2023
41d705b
Resolved wallet-binding bug in closed VC
Anil-kumar-Majji Mar 16, 2023
99f1d90
Merge branch 'uiChanges' of https://github.com/Anil-kumar-Majji/inji_…
srikanth716 Mar 27, 2023
8293e3f
resolve package
srikanth716 Mar 27, 2023
47d9523
set language as local
srikanth716 Apr 3, 2023
309728a
Adjusted setting screen errors
Anil-kumar-Majji Apr 4, 2023
24139ed
Set language as local
Anil-kumar-Majji Apr 5, 2023
fe9adaa
feat:activity log in kebab
srikanth716 Apr 11, 2023
a105af4
Merge branch 'newUI' of https://github.com/srikanth716/inji into uiCh…
Anil-kumar-Majji Apr 17, 2023
bce932c
Activity Log added in Kebab PopUp menu
Anil-kumar-Majji Apr 17, 2023
3f1d77e
update vc card layout
srikanth716 Jan 31, 2023
b42cece
changing Vcitem and Vcdetails layout
srikanth716 Feb 7, 2023
278727a
Language selection at the initial launch
srikanth716 Feb 8, 2023
dad70fa
changing auth screen
srikanth716 Feb 6, 2023
52ff018
feat:languase selection and intro sliders
srikanth716 Mar 4, 2023
ac7dd03
new ui changes
srikanth716 Mar 10, 2023
3786d06
new ui changes
srikanth716 Mar 15, 2023
9b0d330
Fix walletBinding success label
srikanth716 Mar 16, 2023
1527931
[DSD-1364] Added token to the workflow for inji repo.
gaganama Sep 2, 2022
f4a6e5c
[DSD-1364] Added token to the workflow for inji repo.
gaganama Sep 2, 2022
4322f44
UI changed in home-screen
Anil-kumar-Majji Jan 31, 2023
3e89711
Created Splash logo screen
Anil-kumar-Majji Jan 31, 2023
0d54b9b
Replaces profileIconBg with IconContainer
Anil-kumar-Majji Feb 1, 2023
8cff30a
Bottom-tab icons modified as per new UI
Anil-kumar-Majji Feb 1, 2023
aafee68
Added styles to Tab-bar
Anil-kumar-Majji Feb 2, 2023
27aec02
Builded scan screen as per new UI
Anil-kumar-Majji Feb 2, 2023
b7090b4
Added styles to scan screen
Anil-kumar-Majji Feb 2, 2023
7c8ec91
Created history screen as new UI
Anil-kumar-Majji Feb 6, 2023
af0484f
Implemented Splash screen
Anil-kumar-Majji Feb 6, 2023
0dc00db
Scan screen designed asper new UI
Anil-kumar-Majji Feb 7, 2023
07e27a8
Adjusted RTL issues in new UI
Anil-kumar-Majji Feb 7, 2023
c82cdc6
Created settings screen
Anil-kumar-Majji Feb 9, 2023
c7a08bb
Designed settings screen as per New UI
Anil-kumar-Majji Feb 9, 2023
c085fc3
Solved merge conflicts
Anil-kumar-Majji Feb 10, 2023
ebb08d4
implrmented help button
Anil-kumar-Majji Feb 10, 2023
efaadde
Removed Unwanted list-items in settings
Anil-kumar-Majji Feb 11, 2023
1ec28e0
Implemented Progressing modal
Anil-kumar-Majji Feb 11, 2023
3aa58b2
After changes as per new ui
Anil-kumar-Majji Feb 11, 2023
a9da996
Adjusted RTL in scan screens & corrected env.
Anil-kumar-Majji Feb 11, 2023
ffc1578
Added progressing screen
Anil-kumar-Majji Feb 13, 2023
931007a
Created gradient responsive buttons
Anil-kumar-Majji Feb 13, 2023
c4ba11f
Added CSS to the responsive buttons
Anil-kumar-Majji Feb 13, 2023
f3a7a4a
SendVcScreen design as per new UI
Anil-kumar-Majji Feb 15, 2023
2b09952
send VC Layout designed as per new UI
Anil-kumar-Majji Feb 17, 2023
1d4dbb4
added loader in progressingModal
Anil-kumar-Majji Feb 23, 2023
b53cf94
Removes Splash screen imports
Anil-kumar-Majji Feb 24, 2023
5eee7d6
Added Home-Screen Kebab locals
Anil-kumar-Majji Feb 27, 2023
f8b65bd
Replaced with new splash-screen image
Anil-kumar-Majji Feb 28, 2023
961a84c
Implemented new splash-screen image atlast
Anil-kumar-Majji Feb 28, 2023
7f73ba6
Implemented downloading popup
Anil-kumar-Majji Mar 14, 2023
510b600
Updated OTP verification modal
Anil-kumar-Majji Mar 14, 2023
9900afa
Commited both the UI changes yet
Anil-kumar-Majji Mar 15, 2023
6c9b840
Adjusted Binding warn overlay
Anil-kumar-Majji Mar 16, 2023
7f4e0df
new ui changes
srikanth716 Mar 16, 2023
3038781
resolve package
srikanth716 Mar 27, 2023
8f36754
set language as local
srikanth716 Apr 3, 2023
d7e0885
feat:activity log in kebab
srikanth716 Apr 11, 2023
2ae7b69
Merge branch 'newUI' of https://github.com/srikanth716/inji into newUI
srikanth716 Apr 18, 2023
453ac36
changing Vcitem and Vcdetails layout
srikanth716 Feb 7, 2023
9524cfa
Language selection at the initial launch
srikanth716 Feb 8, 2023
55d8ef7
changing auth screen
srikanth716 Feb 6, 2023
b689f2d
feat:languase selection and intro sliders
srikanth716 Mar 4, 2023
bb39511
new ui changes
srikanth716 Mar 10, 2023
c3def30
new ui changes
srikanth716 Mar 15, 2023
f7d2187
Fix walletBinding success label
srikanth716 Mar 16, 2023
ad8cf8a
Update android-custom-build.yml
ckm007 Jul 27, 2022
6ed525f
[DSD-1364] Added delete workflow in manual mode for inji repo.
gaganama Aug 26, 2022
af84049
[DSD-1364] Added token to the workflow for inji repo.
gaganama Sep 2, 2022
421d71b
[DSD-1364] Added token to the workflow for inji repo.
gaganama Sep 2, 2022
2fc8e2e
UI changed in home-screen
Anil-kumar-Majji Jan 31, 2023
af4fc41
Created Splash logo screen
Anil-kumar-Majji Jan 31, 2023
e98d332
Replaces profileIconBg with IconContainer
Anil-kumar-Majji Feb 1, 2023
bd4b8a8
Bottom-tab icons modified as per new UI
Anil-kumar-Majji Feb 1, 2023
b220c15
Added styles to Tab-bar
Anil-kumar-Majji Feb 2, 2023
e870777
Builded scan screen as per new UI
Anil-kumar-Majji Feb 2, 2023
b7d1116
Added styles to scan screen
Anil-kumar-Majji Feb 2, 2023
3b74fdd
Created history screen as new UI
Anil-kumar-Majji Feb 6, 2023
6527f07
Implemented Splash screen
Anil-kumar-Majji Feb 6, 2023
b605add
Scan screen designed asper new UI
Anil-kumar-Majji Feb 7, 2023
bbffbfe
Adjusted RTL issues in new UI
Anil-kumar-Majji Feb 7, 2023
8f6e157
Created settings screen
Anil-kumar-Majji Feb 9, 2023
fa98ba7
Designed settings screen as per New UI
Anil-kumar-Majji Feb 9, 2023
eca5dba
Solved merge conflicts
Anil-kumar-Majji Feb 10, 2023
d0d27c7
Removed Unwanted list-items in settings
Anil-kumar-Majji Feb 11, 2023
2cc9371
Implemented Progressing modal
Anil-kumar-Majji Feb 11, 2023
568ddcb
After changes as per new ui
Anil-kumar-Majji Feb 11, 2023
4e37b22
Adjusted RTL in scan screens & corrected env.
Anil-kumar-Majji Feb 11, 2023
4c2017c
Added progressing screen
Anil-kumar-Majji Feb 13, 2023
570b22f
Created gradient responsive buttons
Anil-kumar-Majji Feb 13, 2023
f74e0fe
send VC Layout designed as per new UI
Anil-kumar-Majji Feb 17, 2023
491f2b4
added loader in progressingModal
Anil-kumar-Majji Feb 23, 2023
d295568
Removes Splash screen imports
Anil-kumar-Majji Feb 24, 2023
414d5d0
Added Home-Screen Kebab locals
Anil-kumar-Majji Feb 27, 2023
43f0fb0
Implemented new splash-screen image atlast
Anil-kumar-Majji Feb 28, 2023
e5db015
Implemented downloading popup
Anil-kumar-Majji Mar 14, 2023
b063443
Updated OTP verification modal
Anil-kumar-Majji Mar 14, 2023
706002b
Commited both the UI changes yet
Anil-kumar-Majji Mar 15, 2023
8cacd02
Adjusted Binding warn overlay
Anil-kumar-Majji Mar 16, 2023
631b1b9
resolve package
srikanth716 Mar 27, 2023
13f2e4e
set language as local
srikanth716 Apr 3, 2023
b6c6d8c
feat:activity log in kebab
srikanth716 Apr 11, 2023
7c84718
Merge branch 'newUI' of https://github.com/srikanth716/inji into newUI
srikanth716 Apr 18, 2023
2bad7ba
Modified setting screen options
Anil-kumar-Majji Apr 19, 2023
2d602c0
Merge branch 'uiChanges' of https://github.com/Anil-kumar-Majji/inji_…
srikanth716 Apr 19, 2023
41605f0
fix error
srikanth716 Apr 19, 2023
397ed7a
ui revamp on ble
srikanth716 Apr 21, 2023
152bcd7
Implemented help screen
Anil-kumar-Majji Apr 28, 2023
cd53bba
fixed merge conflicts on uiChanges and ble
srikanth716 May 2, 2023
156bc3b
Fixed merge conflicts on uiChanges and ble
Anil-kumar-Majji May 2, 2023
be448bc
Fixed merge conflicts on uiChanges and ble
Anil-kumar-Majji May 2, 2023
4fe27ad
Adjusted locals for new UI
Anil-kumar-Majji May 2, 2023
45a7e95
Adjusted locals for new UI
Anil-kumar-Majji May 2, 2023
0c83353
Timer added in OTP verificication
srikanth716 May 4, 2023
5876e58
Implemented detailes with dumi-text in Help screen
Anil-kumar-Majji May 9, 2023
82bfb31
Implemented French translation in App
Anil-kumar-Majji May 9, 2023
dad2cec
Add on intro slider
srikanth716 May 10, 2023
57810d5
Implemented Telugu language in app along with text corrections
Anil-kumar-Majji May 12, 2023
9cdda81
Implemented Telugu language in app along with text corrections
Anil-kumar-Majji May 12, 2023
2dd574e
Updated with Srikanth's code
Anil-kumar-Majji May 15, 2023
ec9363c
Updated about Inji option with new modal
Anil-kumar-Majji May 18, 2023
aeb7989
Added Qr-code overlay
Anil-kumar-Majji May 21, 2023
cdfb9f3
feat: remove from wallet-#INJI-5
srikanth716 May 26, 2023
ba99917
Merge branch 'develop' of https://github.com/mosip/inji into ui-revamp
srikanth716 May 26, 2023
0431b3b
QR-Code overlay designed as per UI/UX
Anil-kumar-Majji May 26, 2023
f75eb10
Adjusted download button size
Anil-kumar-Majji Jun 2, 2023
ea73f05
Added magnifier zoom icon
Anil-kumar-Majji Jun 2, 2023
97c5d49
Removed Telugu and French languages
Anil-kumar-Majji Jun 5, 2023
de49a46
Mergerd with develop branch
Anil-kumar-Majji Jun 9, 2023
cb5dd79
setup language
srikanth716 Jun 12, 2023
5b2d23e
Merge branch 'ui-revamp' of https://github.com/Anil-kumar-Majji/inji_…
srikanth716 Jun 16, 2023
e2989d6
added spa.json
ckm007 Jun 16, 2023
98c4d2f
Merge pull request #746 from tw-mosip/develop
MonobikashDas Jun 19, 2023
0e7636d
Merge branch 'develop' of https://github.com/mosip/inji into ui-revamp
srikanth716 Jun 19, 2023
cb78195
Displaying Received cards option in settings (INJI-96)
Anil-kumar-Majji Jun 21, 2023
6d3bb7c
Updated eng.Json file
Anil-kumar-Majji Jun 21, 2023
37105e7
Change from debug build to release build (#748)
adityankannan-tw Jun 22, 2023
ec3e7ed
Adjusted UI and locals as per wireframe
Anil-kumar-Majji Jun 22, 2023
10dfa1f
Make lint not to check in release builds
adityankannan-tw Jun 22, 2023
ba9d01e
Merge pull request #749 from tw-mosip/lint-error
MonobikashDas Jun 22, 2023
96f7954
feat[#146]:[Pooja|Tilak] update reason field while sending vc
PoojaBabusingh Jun 23, 2023
ec5bb94
Updated with develop branch along with VcItemContent.tsx, VcItemActiv…
Anil-kumar-Majji Jun 23, 2023
6e2e3e7
Updated request screen locals
Anil-kumar-Majji Jun 23, 2023
66650f2
Fixed eng.json file
Anil-kumar-Majji Jun 23, 2023
39ca1a2
feat:setup language
srikanth716 Jun 23, 2023
5ea503a
Replaced Kebab-popup in vcItem.tsx
Anil-kumar-Majji Jun 27, 2023
6cb8687
Merge branch 'develop' of https://github.com/mosip/inji into ui-revamp
Anil-kumar-Majji Jun 27, 2023
ba08d35
Merge branch 'develop' of https://github.com/mosip/inji into ui-revamp
srikanth716 Jun 27, 2023
acc3a91
Inji new UI/UX for release
Anil-kumar-Majji Jun 27, 2023
ca7d9ed
Merge branch 'ui-revamp' of https://github.com/Anil-kumar-Majji/inji_…
srikanth716 Jun 28, 2023
d26480f
Sanitized the new UI/UX
Anil-kumar-Majji Jun 28, 2023
0879cdb
INJI-31 - [Android] Added a workflow to publish to play store (#747)
adityankannan-tw Jun 28, 2023
6b2b0be
Adjusted all the locals
Anil-kumar-Majji Jun 28, 2023
341fb8f
feat[#146]:[Pooja] refactor to navigate back to incoming Vc after suc…
PoojaBabusingh Jun 29, 2023
403cb76
Resolved PR-750 conversations
Anil-kumar-Majji Jun 30, 2023
82122b7
Fixed Locals
Anil-kumar-Majji Jun 30, 2023
2ce1927
Removed unused file SingleVcItem.tsx
Anil-kumar-Majji Jun 30, 2023
162eab0
Removed async at downloadModal in auth.ts
Anil-kumar-Majji Jun 30, 2023
8413c7a
Removed debug.keystore file
Anil-kumar-Majji Jul 3, 2023
66b36a5
Merge pull request #750 from Anil-kumar-Majji/ui-revamp-release
MonobikashDas Jul 3, 2023
611cb31
[Release 03-07-2023] New UI Revamp and Max Storage Limit Handling
Jul 3, 2023
78ed16d
Merge pull request #68 from tw-mosip/reason-for-sharing-vc
Alka1703 Jul 3, 2023
191091f
fix(INJI-187) : [Vijay|Alka] Fixed Purple Theme Related Bugs and Dupl…
Jul 4, 2023
efe9a42
fix(INJI-187) : [Vijay] fix about inji documentation page redirection
Jul 4, 2023
a73b271
Fixes in ui-revamp-release
Anil-kumar-Majji Jul 5, 2023
30b55f8
Merge branch 'internal-release-03-07-23' of https://github.com/tw-mos…
Anil-kumar-Majji Jul 5, 2023
bb0b96a
fix:vcsharing and wallet binding
srikanth716 Jul 5, 2023
3ebfd29
Merge branch 'internal-release-03-07-23' of https://github.com/tw-mos…
srikanth716 Jul 5, 2023
883d061
Removed key names version, tuvali-version in locals of AboutInji obj.
Anil-kumar-Majji Jul 5, 2023
08fe4ce
Reverted lst commit and removed version number in locals
Anil-kumar-Majji Jul 5, 2023
0f1655e
Merge pull request #69 from Anil-kumar-Majji/internal-release-03-07-23
vijay151096 Jul 5, 2023
7ea8762
fix:vcsharing and wallet binding
srikanth716 Jul 5, 2023
539bf23
Merge branch 'internal-release-03-07-23' of https://github.com/tw-mos…
srikanth716 Jul 5, 2023
7d4432d
removing logger
srikanth716 Jul 5, 2023
4f2908c
Merge pull request #70 from srikanth716/ui-revamp
vijay151096 Jul 5, 2023
9b4ac9e
fix(INJI-187) : [Vijay] fix welcome screen auth issue, hide the inji …
Jul 5, 2023
b510c74
fix(INJI-187) : [Vijay] add missing literals in hindi
Jul 6, 2023
453d8a8
Merge pull request #756 from tw-mosip/internal-release-03-07-23
MonobikashDas Jul 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ GOOGLE_NEARBY_MESSAGES_API_KEY=
APPLICATION_THEME=orange

#environment can be changed if it is toggled
CREDENTIAL_REGISTRY_EDIT=true
CREDENTIAL_REGISTRY_EDIT=true

#supported languages( en, fil, ar, hi, kn, ta)
APPLICATION_LANGUAGE=en
6 changes: 4 additions & 2 deletions .github/workflows/android-build-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ jobs:

- name: Run Build using Fastlane
run: |
cd android/scripts
./run-fastlane.sh
cd android
yes | sudo gem install bundler
yes | sudo fastlane install_plugins
bundle exec fastlane android_build_verify
env:
DEBUG_KEYSTORE_ALIAS: androiddebugkey
DEBUG_KEYSTORE_PASSWORD: '${{secrets.INJI_ANDROID_DEBUG_STOREPASS}}'
56 changes: 24 additions & 32 deletions .github/workflows/android-custom-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
options:
- orange
- purple
buildDescription:
description: 'What to test'
required: true
default: 'QA-Triple environment'
type: string
registry_edit:
description: 'Edit Registry'
required: true
Expand Down Expand Up @@ -84,34 +89,26 @@ jobs:

- name: Generate keystore
run: |
keytool \
-genkey -v \
-storetype PKCS12 \
-keyalg RSA \
-keysize 2048 \
-validity 10000 \
-storepass $DEBUG_KEYSTORE_PASSWORD \
-keypass $DEBUG_KEYSTORE_PASSWORD \
-alias androiddebugkey \
-keystore android/app/debug.keystore \
-dname "CN=io.mosip.residentapp,OU=,O=,L=,S=,C=US"
env:
DEBUG_KEYSTORE_PASSWORD: '${{secrets.INJI_ANDROID_DEBUG_STOREPASS}}'

echo "$ANDROID_KEYSTORE_FILE" > release.keystore.b64
base64 -d -i release.keystore.b64 > android/app/release.keystore
env:
ANDROID_KEYSTORE_FILE: ${{ secrets.INJI_ANDROID_RELEASE_KEYSTORE }}
Comment on lines -87 to +95
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adityankannan-tw Please see if this change is not going to break anything

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vharsh This is needed as we should use only release keystore from secrets to push to play store and not the debug one. This is fine.


- name: Export variables for keystore
run: |
cd android/app
export DEBUG_KEYSTORE_ALIAS=androiddebugkey
export DEBUG_KEYSTORE_PASSWORD=$DEBUG_KEYSTORE_PASSWORD
export RELEASE_KEYSTORE_ALIAS=androidreleasekey
export RELEASE_KEYSTORE_PASSWORD=$RELEASE_KEYSTORE_PASSWORD
env:
DEBUG_KEYSTORE_PASSWORD: '${{secrets.INJI_ANDROID_DEBUG_STOREPASS}}'
RELEASE_KEYSTORE_PASSWORD: '${{secrets.INJI_ANDROID_RELEASE_STOREPASS}}'

- name: Bump version code
uses: chkfung/[email protected]
with:
gradlePath: android/app/build.gradle
versionCode: ${{github.run_number}}
- name: Create Google Play Config file
run : |
cd android
echo "$INJI_ANDROID_PLAY_STORE_CONFIG_JSON" > play_config.json.b64
base64 -d -i play_config.json.b64 > play_config.json
env:
INJI_ANDROID_PLAY_STORE_CONFIG_JSON: ${{ secrets.INJI_ANDROID_PLAY_STORE_CONFIG_JSON }}

- name: Run Build
run: |
Expand All @@ -120,13 +117,8 @@ jobs:
env:
MIMOTO_HOST: ${{ github.event.inputs.backendServiceUrl }}
APPLICATION_THEME: ${{ github.event.inputs.theme }}
DEBUG_KEYSTORE_ALIAS: androiddebugkey
DEBUG_KEYSTORE_PASSWORD: '${{secrets.INJI_ANDROID_DEBUG_STOREPASS}}'
CREDENTIAL_REGISTRY_EDIT: ${{ github.event.inputs.registry_edit }}

- name: Upload Artifact to Actions
uses: actions/[email protected]
with:
name: Inji
path: android/app/build/outputs/apk/newlogic/debug/
retention-days: 10
RELEASE_KEYSTORE_ALIAS: androidreleasekey
RELEASE_KEYSTORE_PASSWORD: '${{secrets.INJI_ANDROID_RELEASE_STOREPASS}}'
SLACK_URL: '${{ secrets.SLACK_WEBHOOK_DEVOPS }}'
PLAY_CONSOLE_RELEASE_DESCRIPTION: ${{ github.event.inputs.buildDescription }}
CREDENTIAL_REGISTRY_EDIT: ${{ github.event.inputs.registry_edit }}
5 changes: 4 additions & 1 deletion .github/workflows/clear_artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: 'Delete old artifacts'
on:
workflow_dispatch:
name: 'Delete old artifacts'
on:
workflow_dispatch:

Expand All @@ -8,5 +11,5 @@ jobs:
steps:
- uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets. access_token }}
token: ${{ secrets.ACTION_PAT }}
expire-in: 2days # Setting this to 0 will delete all artifacts
30 changes: 25 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Be sure to have the following build tools installed before proceeding:
## Generate keystore for APK signing

```shell
# Generate and use Debug keystore for development and testing purposes
keytool \
-genkey -v \
-storetype PKCS12 \
Expand All @@ -23,6 +24,21 @@ keytool \
-validity 10000 \
-storepass 'android' \
-keypass 'android' \
-alias androiddebugkey \
-keystore android/app/debug.keystore \
-dname "CN=io.mosip.residentapp,OU=,O=,L=,S=,C=US"
```

```shell
# Generate and use Release keystore for Publishing to Play store
keytool \
-genkey -v \
-storetype PKCS12 \
-keyalg RSA \
-keysize 2048 \
-validity 10000 \
-storepass '<USE-YOUR-RELEASE-PASSWORD-HERE>' \
-keypass '<USE-YOUR-RELEASE-PASSWORD-HERE>' \
-alias androidreleasekey \
-keystore android/app/release.keystore \
-dname "CN=io.mosip.residentapp,OU=,O=,L=,S=,C=US"
Expand Down Expand Up @@ -93,15 +109,19 @@ You need Android SDK CLI to build APK.
# 1. Install dependencies
npm install

# Setup the environment variable for keystore
export RELEASE_KEYSTORE=release.keystore
# 2. Setup the environment variables for the keystore

# Debug keystore
export DEBUG_KEYSTORE_ALIAS=androiddebugkey
export DEBUG_KEYSTORE_PASSWORD=android

# Release keystore
export RELEASE_KEYSTORE_ALIAS=androidreleasekey
export RELEASE_KEYSTORE_PASSWORD=android
export RELEASE_KEYSTORE_PASSWORD=<USE-YOUR-RELEASE-PASSWORD-HERE>

# https://hostname/residentmobileapp is the Mimoto service url
export BACKEND_SERVICE_URL=https://hostname/residentmobileapp

# Use DEBUG_KEYSTORE, DEBUG_KEYSTORE_ALIAS, DEBUG_KEYSTORE_PASSWORD for debug build

# Use one of following command to build the flavor you need.
# Build for Mosip Philippines test
npm run build:android:ph
Expand Down
2 changes: 1 addition & 1 deletion android/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ GEM
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-increment_version_code (0.4.3)
fastlane-plugin-increment_version_name (0.0.10)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.42.0)
google-apis-core (>= 0.11.0, < 2.a)
Expand Down Expand Up @@ -215,6 +214,7 @@ PLATFORMS

DEPENDENCIES
fastlane
fastlane-plugin-increment_version_code

BUNDLED WITH
2.4.10
4 changes: 4 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ android {
signingConfig signingConfigs.debug
}
release {
lintOptions {
checkReleaseBuilds false
abortOnError false
}
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.release
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<color name="splashscreen_background">#ffffff</color>
<color name="splashscreen_background">#F59B4B</color>
<color name="iconBackground">#FFFFFF</color>
<color name="colorPrimary">#023c69</color>
<color name="colorPrimaryDark">#ffffff</color>
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<string name="app_name_mosip">MOSIP Resident App - Mosip/Inji</string>
<string name="app_name_newlogic">MOSIP Resident App - Newlogic</string>
<string name="app_name_ph">MOSIP Resident App - PH</string>
<string name="expo_splash_screen_resize_mode" translatable="false">contain</string>
<string name="expo_splash_screen_resize_mode" translatable="false">cover</string>
<string name="expo_splash_screen_status_bar_translucent" translatable="false">false</string>
</resources>
2 changes: 1 addition & 1 deletion android/fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
json_key_file("")
json_key_file("play_config.json")
package_name("io.mosip.residentapp")
52 changes: 51 additions & 1 deletion android/fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,58 @@
default_platform(:android)

MIMOTO_HOST = ENV["MIMOTO_HOST"]
APPLICATION_THEME = ENV["APPLICATION_THEME"]
RELEASE_KEYSTORE_ALIAS = ENV["RELEASE_KEYSTORE_ALIAS"]
RELEASE_KEYSTORE_PASSWORD = ENV["RELEASE_KEYSTORE_PASSWORD"]
PLAY_CONSOLE_RELEASE_DESCRIPTION = ENV["PLAY_CONSOLE_RELEASE_DESCRIPTION"]
SLACK_URL = ENV["SLACK_URL"]
CREDENTIAL_REGISTRY_EDIT = ENV["CREDENTIAL_REGISTRY_EDIT"]

desc "Verify Build for Android"
lane :android_build_verify do
gradle(
task: "assembleMosipDebug",
)
end

desc "Build for Android"
lane :android_build do
gradle(
task: "assembleNewlogicDebug",
task: "assembleMosipRelease",
)
end

desc "Deploy an Internal testing version to the Google Play"
lane :android_build_internal do
previous_build_number = google_play_track_version_codes(
package_name: "io.mosip.residentapp",
track: "internal",
json_key: "play_config.json",
)[0]

current_build_number = previous_build_number + 1

increment_version_code(
gradle_file_path: "app/build.gradle",
version_code: current_build_number
)

git_commit = sh('git rev-parse --short HEAD').strip
git_branch = sh('git rev-parse --abbrev-ref HEAD').strip

versionName = "#{git_commit}-#{git_branch}"

gradle(task: "clean bundleMosipRelease")
upload_to_play_store(
track: 'internal',
release_status: 'completed',
version_name: versionName,
)

slack(
message: "Inji - #{versionName} (#{current_build_number}) is uploaded to Play store. Description : #{PLAY_CONSOLE_RELEASE_DESCRIPTION}.",
success: true,
slack_url: "#{SLACK_URL}",
default_payloads: [:git_branch, :last_git_commit]
)
end
5 changes: 5 additions & 0 deletions android/fastlane/Pluginfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!

gem 'fastlane-plugin-increment_version_code'
2 changes: 1 addition & 1 deletion android/scripts/run-fastlane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ yes | sudo gem install bundler

yes | sudo fastlane install_plugins

bundle exec fastlane android_build
bundle exec fastlane android_build_internal
2 changes: 1 addition & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
icon: './assets/icon.png',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
resizeMode: 'cover',
backgroundColor: '#ffffff',
},
updates: {
Expand Down
Binary file added assets/Secure-Sharing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/Secure-Sharing2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/biometric-unlock-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/digital-identity-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/features-walkaround-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/help-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/inji-home-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/inji-logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/inji_small_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/intro-scanner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/intro-wallet-binding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/legal-notices-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/lock-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/magnifier-zoom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/otp-mobile-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/phone_mockup_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/progressing-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/receive-card-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/received-cards-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions components/ActivityLogText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const ActivityLogText: React.FC<{ activity: ActivityLog }> = (props) => {
<TextItem
label={getActionLabel(activity, i18n.language)}
text={`${activity.vcLabel} ${t(activity.type)}`}
topDivider
/>
);
};
Expand Down
2 changes: 1 addition & 1 deletion components/DeviceInfoList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const DeviceInfoList: React.FC<DeviceInfoProps> = (props) => {
};

interface DeviceInfoProps {
of: 'sender' | 'receiver';
deviceInfo: DeviceInfo;
of?: string;
}

export interface DeviceInfo {
Expand Down
24 changes: 14 additions & 10 deletions components/EditableListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,27 @@ export const EditableListItem: React.FC<EditableListItemProps> = (props) => {
}, [props.credentialRegistryResponse]);

return (
<ListItem
bottomDivider
onPress={() => setIsEditing(true)}
style={{ display: props.display }}>
<ListItem bottomDivider topDivider onPress={() => setIsEditing(true)}>
<Icon
name={props.Icon}
type="antdesign"
size={20}
style={Theme.Styles.profileIconBg}
containerStyle={Theme.Styles.settingsIconBg}
type={props.IconType}
size={25}
color={Theme.Colors.Icon}
/>
<ListItem.Content>
<ListItem.Title>
<Text color={Theme.Colors.profileLabel}>{props.label}</Text>
<Text weight="semibold" color={Theme.Colors.profileLabel}>
{props.label}
</Text>
</ListItem.Title>
<Text color={Theme.Colors.profileValue}>{props.value}</Text>
</ListItem.Content>

<Icon
name="chevron-right"
size={21}
color={Theme.Colors.profileLanguageValue}
/>
<Overlay
overlayStyle={{ padding: 24, elevation: 6 }}
isVisible={isEditing}
Expand All @@ -52,7 +55,7 @@ export const EditableListItem: React.FC<EditableListItemProps> = (props) => {
}}
/>
{props.credentialRegistryResponse === 'error' && (
<Text style={Theme.Styles.warningText}>
<Text style={Theme.TextStyles.error}>
please try again after sometime...
</Text>
)}
Expand Down Expand Up @@ -91,6 +94,7 @@ interface EditableListItemProps {
label: string;
value: string;
Icon: string;
IconType?: string;
onEdit: (newValue: string) => void;
display?: 'none' | 'flex';
credentialRegistryResponse: string;
Expand Down
Loading
Loading