Skip to content

Commit a6dec3a

Browse files
binokarygBinod Adhikary
andauthored
Adding production flavor for MoH Nepal mHealth program (#388)
Co-authored-by: Binod Adhikary <adhikary@medic.org>
1 parent 9892a48 commit a6dec3a

25 files changed

+84
-0
lines changed

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,31 @@ jobs:
627627
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_CIV }}
628628
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_CIV }}
629629

630+
- name: Unpack secrets moh_nepal_mhealth
631+
env:
632+
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_MOH_NEPAL_MHEALTH }}
633+
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_MOH_NEPAL_MHEALTH }}
634+
run: make org=moh_nepal_mhealth keydec
635+
636+
- name: Assemble moh_nepal_mhealth
637+
uses: maierj/fastlane-action@v1.4.0
638+
with:
639+
lane: build
640+
options: '{ "flavor": "moh_nepal_mhealth" }'
641+
env:
642+
ANDROID_KEYSTORE_PATH: moh_nepal_mhealth.keystore
643+
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NEPAL_MHEALTH }}
644+
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NEPAL_MHEALTH }}
645+
646+
- name: Bundle moh_nepal_mhealth
647+
uses: maierj/fastlane-action@v1.4.0
648+
with:
649+
lane: bundle
650+
options: '{ "flavor": "moh_nepal_mhealth" }'
651+
env:
652+
ANDROID_KEYSTORE_PATH: moh_nepal_mhealth.keystore
653+
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NEPAL_MHEALTH }}
654+
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NEPAL_MHEALTH }}
630655

631656
- name: GitHub release
632657
uses: softprops/action-gh-release@v1

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,11 @@ android {
459459
dimension = 'brand'
460460
applicationId = 'org.medicmobile.webapp.mobile.safaridoctors_kenya_yha'
461461
}
462+
463+
moh_nepal_mhealth {
464+
dimension = 'brand'
465+
applicationId = 'org.medicmobile.webapp.mobile.moh_nepal_mhealth'
466+
}
462467
}
463468

464469
splits {
5.69 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
5+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" />
6+
7+
</manifest>
21.9 KB
Loading
Lines changed: 5 additions & 0 deletions
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>
Lines changed: 5 additions & 0 deletions
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>
1.16 KB
Loading
1.23 KB
Loading
2.58 KB
Loading

0 commit comments

Comments
 (0)