-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding production flavor for MoH Nepal mHealth program (#388)
Co-authored-by: Binod Adhikary <[email protected]>
- Loading branch information
Showing
25 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -627,6 +627,31 @@ jobs: | |
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_CIV }} | ||
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_CIV }} | ||
|
||
- name: Unpack secrets moh_nepal_mhealth | ||
env: | ||
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_MOH_NEPAL_MHEALTH }} | ||
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_MOH_NEPAL_MHEALTH }} | ||
run: make org=moh_nepal_mhealth keydec | ||
|
||
- name: Assemble moh_nepal_mhealth | ||
uses: maierj/[email protected] | ||
with: | ||
lane: build | ||
options: '{ "flavor": "moh_nepal_mhealth" }' | ||
env: | ||
ANDROID_KEYSTORE_PATH: moh_nepal_mhealth.keystore | ||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NEPAL_MHEALTH }} | ||
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NEPAL_MHEALTH }} | ||
|
||
- name: Bundle moh_nepal_mhealth | ||
uses: maierj/[email protected] | ||
with: | ||
lane: bundle | ||
options: '{ "flavor": "moh_nepal_mhealth" }' | ||
env: | ||
ANDROID_KEYSTORE_PATH: moh_nepal_mhealth.keystore | ||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NEPAL_MHEALTH }} | ||
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NEPAL_MHEALTH }} | ||
|
||
- name: GitHub release | ||
uses: softprops/action-gh-release@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools"> | ||
|
||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" /> | ||
|
||
</manifest> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@color/ic_launcher_background"/> | ||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/> | ||
</adaptive-icon> |
5 changes: 5 additions & 0 deletions
5
src/moh_nepal_mhealth/res/mipmap-anydpi-v26/ic_launcher_round.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<background android:drawable="@color/ic_launcher_background"/> | ||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/> | ||
</adaptive-icon> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="ic_launcher_background">#EAEAEA</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">mHealth Nepal</string> | ||
<bool name="allowCustomHosts">false</bool> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<instances xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<instance name="Achham">https://achham-ne.app.medicmobile.org</instance> | ||
<instance name="Bajhang">https://bajhang-ne.app.medicmobile.org</instance> | ||
<instance name="Baitadi">https://dho-baitadi.app.medicmobile.org</instance> | ||
<instance name="Bajura">https://dho-bajura-ne.app.medicmobile.org</instance> | ||
<instance name="Banke">https://dpho-banke.app.medicmobile.org</instance> | ||
<instance name="Bhojpur">https://bhojpur-ne.app.medicmobile.org</instance> | ||
<instance name="Bardiya">https://bardiya-ne.app.medicmobile.org</instance> | ||
<instance name="Dadeldhura">https://dho-dadeldhura-ne.app.medicmobile.org</instance> | ||
<instance name="Dhading">https://ohw-dhading.app.medicmobile.org</instance> | ||
<instance name="Dhankuta">https://dhankuta-ne.app.medicmobile.org</instance> | ||
<instance name="Humla">https://humla-ne.app.medicmobile.org</instance> | ||
<instance name="Ilam">https://kfn-ilam.app.medicmobile.org</instance> | ||
<instance name="Jajarkot">https://jajarkot-ne.app.medicmobile.org</instance> | ||
<instance name="Kailali">https://kailali-ne.app.medicmobile.org</instance> | ||
<instance name="Kalikot">https://kalikot-ne.app.medicmobile.org</instance> | ||
<instance name="Kanchanpur">https://dpho-kanchanpur.app.medicmobile.org</instance> | ||
<instance name="Morang">https://morang-ne.app.medicmobile.org</instance> | ||
<instance name="Panchthar">https://panchthar-ne.app.medicmobile.org</instance> | ||
<instance name="Pyuthan">https://dpho-pyuthan-ne.app.medicmobile.org</instance> | ||
<instance name="Rasuwa">https://dho-rasuwa-ne.app.medicmobile.org</instance> | ||
<instance name="Sindhuli">https://care-sindhuli.app.medicmobile.org</instance> | ||
<instance name="Sindhupalchowk">https://dho-sindhupalchowk-ne.app.medicmobile.org</instance> | ||
<instance name="Salyan">https://salyan-ne.app.medicmobile.org</instance> | ||
<instance name="Sankhuwasabha">https://sankhuwashabha-ne.app.medicmobile.org</instance> | ||
<instance name="Sunsari">https://dho-sunsari-ne.app.medicmobile.org</instance> | ||
</instances> |