Skip to content

Commit 97b3576

Browse files
authored
feat(#334): add apk for cares malawi (#334)
1 parent d1c6516 commit 97b3576

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+93
-0
lines changed

.github/workflows/publish.yml

+33
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,39 @@ jobs:
222222
with:
223223
lane: build
224224
options: '{ "flavor": "itech_malawi" }'
225+
226+
- name: Unpack secrets cares_malawi_kch
227+
env:
228+
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_CARES_MALAWI_KCH }}
229+
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_CARES_MALAWI_KCH }}
230+
run: make org=cares_malawi_kch keydec
231+
232+
- name: Assemble cares_malawi_kch
233+
uses: maierj/[email protected]
234+
with:
235+
lane: build
236+
options: '{ "flavor": "cares_malawi_kch" }'
237+
env:
238+
ANDROID_KEYSTORE_PATH: cares_malawi_kch.keystore
239+
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CARES_MALAWI_KCH }}
240+
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CARES_MALAWI_KCH }}
241+
242+
- name: Unpack secrets cares_malawi_mpc
243+
env:
244+
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_CARES_MALAWI_MPC }}
245+
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_CARES_MALAWI_MPC }}
246+
run: make org=cares_malawi_mpc keydec
247+
248+
- name: Assemble cares_malawi_mpc
249+
uses: maierj/[email protected]
250+
with:
251+
lane: build
252+
options: '{ "flavor": "cares_malawi_mpc" }'
253+
env:
254+
ANDROID_KEYSTORE_PATH: cares_malawi_mpc.keystore
255+
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CARES_MALAWI_MPC }}
256+
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CARES_MALAWI_MPC }}
257+
225258
- name: Assemble alerte_niger
226259
uses: maierj/[email protected]
227260
with:

build.gradle

+10
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,16 @@ android {
361361
applicationId = 'org.medicmobile.webapp.mobile.itech_malawi'
362362
}
363363

364+
cares_malawi_kch {
365+
dimension = 'brand'
366+
applicationId = 'org.medicmobile.webapp.mobile.cares_malawi_kch'
367+
}
368+
369+
cares_malawi_mpc {
370+
dimension = 'brand'
371+
applicationId = 'org.medicmobile.webapp.mobile.cares_malawi_mpc'
372+
}
373+
364374
alerte_niger {
365375
dimension = 'brand'
366376
applicationId = 'org.medicmobile.webapp.mobile.alerte_niger'
5.89 KB
Binary file not shown.
5.89 KB
Binary file not shown.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="org.medicmobile.webapp.mobile">
5+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
6+
</manifest>
39.5 KB
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="ic_launcher_background">#FFFFFF</color>
4+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="app_name">Cares Malawi (KCH) App</string>
4+
<string name="app_host">kch.cares.org</string>
5+
</resources>
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="org.medicmobile.webapp.mobile">
5+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
6+
</manifest>
31.7 KB
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
</adaptive-icon>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="ic_launcher_background">#FFFFFF</color>
4+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="app_name">Cares Malawi (MPC) App</string>
4+
<string name="app_host">mpc.cares.org</string>
5+
</resources>

0 commit comments

Comments
 (0)