diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4990401e..50d16ceb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -291,6 +291,32 @@ jobs: ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_KENYA_ECHIS }} ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_KENYA_ECHIS }} + - name: Unpack secrets chis_kenya + env: + ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_CHIS_KENYA }} + ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_CHIS_KENYA }} + run: make org=chis_kenya keydec + + - name: Assemble chis_kenya + uses: maierj/fastlane-action@v1.4.0 + with: + lane: build + options: '{ "flavor": "chis_kenya" }' + env: + ANDROID_KEYSTORE_PATH: chis_kenya.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CHIS_KENYA }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CHIS_KENYA }} + + - name: Bundle chis_kenya + uses: maierj/fastlane-action@v1.4.0 + with: + lane: bundle + options: '{ "flavor": "chis_kenya" }' + env: + ANDROID_KEYSTORE_PATH: chis_kenya.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_CHIS_KENYA }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_CHIS_KENYA }} + - name: Assemble chis_ne uses: maierj/fastlane-action@v1.4.0 with: diff --git a/build.gradle b/build.gradle index 5e4f4afb..9d4484c4 100644 --- a/build.gradle +++ b/build.gradle @@ -420,6 +420,11 @@ android { applicationId = 'org.medicmobile.webapp.mobile.moh_kenya_echis' } + chis_kenya { + dimension = 'brand' + applicationId = 'org.medicmobile.webapp.mobile.chis_kenya' + } + moh_mali_chw_training_three { dimension = 'brand' applicationId = 'org.medicmobile.webapp.mobile.moh_mali_chw_training_three' diff --git a/src/chis_kenya/AndroidManifest.xml b/src/chis_kenya/AndroidManifest.xml new file mode 100644 index 00000000..c928caa3 --- /dev/null +++ b/src/chis_kenya/AndroidManifest.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/chis_kenya/ic_launcher-playstore.png b/src/chis_kenya/ic_launcher-playstore.png new file mode 100644 index 00000000..5e5ecf40 Binary files /dev/null and b/src/chis_kenya/ic_launcher-playstore.png differ diff --git a/src/chis_kenya/res/drawable/ic_launcher_background.xml b/src/chis_kenya/res/drawable/ic_launcher_background.xml new file mode 100644 index 00000000..ca3826a4 --- /dev/null +++ b/src/chis_kenya/res/drawable/ic_launcher_background.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/chis_kenya/res/mipmap-anydpi-v26/ic_launcher.xml b/src/chis_kenya/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..345888d2 --- /dev/null +++ b/src/chis_kenya/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/chis_kenya/res/mipmap-hdpi/ic_launcher.png b/src/chis_kenya/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 00000000..5e43b4d9 Binary files /dev/null and b/src/chis_kenya/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/chis_kenya/res/mipmap-hdpi/ic_launcher_background.png b/src/chis_kenya/res/mipmap-hdpi/ic_launcher_background.png new file mode 100644 index 00000000..19669488 Binary files /dev/null and b/src/chis_kenya/res/mipmap-hdpi/ic_launcher_background.png differ diff --git a/src/chis_kenya/res/mipmap-hdpi/ic_launcher_foreground.png b/src/chis_kenya/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..a2d7d97c Binary files /dev/null and b/src/chis_kenya/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/src/chis_kenya/res/mipmap-hdpi/ic_launcher_monochrome.png b/src/chis_kenya/res/mipmap-hdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..a2d7d97c Binary files /dev/null and b/src/chis_kenya/res/mipmap-hdpi/ic_launcher_monochrome.png differ diff --git a/src/chis_kenya/res/mipmap-mdpi/ic_launcher.png b/src/chis_kenya/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 00000000..6bc5362d Binary files /dev/null and b/src/chis_kenya/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/chis_kenya/res/mipmap-mdpi/ic_launcher_background.png b/src/chis_kenya/res/mipmap-mdpi/ic_launcher_background.png new file mode 100644 index 00000000..75025cfd Binary files /dev/null and b/src/chis_kenya/res/mipmap-mdpi/ic_launcher_background.png differ diff --git a/src/chis_kenya/res/mipmap-mdpi/ic_launcher_foreground.png b/src/chis_kenya/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..5baa089f Binary files /dev/null and b/src/chis_kenya/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/src/chis_kenya/res/mipmap-mdpi/ic_launcher_monochrome.png b/src/chis_kenya/res/mipmap-mdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..5baa089f Binary files /dev/null and b/src/chis_kenya/res/mipmap-mdpi/ic_launcher_monochrome.png differ diff --git a/src/chis_kenya/res/mipmap-xhdpi/ic_launcher.png b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 00000000..2d395edf Binary files /dev/null and b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_background.png b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_background.png new file mode 100644 index 00000000..9784f16c Binary files /dev/null and b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_background.png differ diff --git a/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_foreground.png b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..3cf34a45 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_monochrome.png b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..3cf34a45 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xhdpi/ic_launcher_monochrome.png differ diff --git a/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher.png b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 00000000..8d891f56 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_background.png b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_background.png new file mode 100644 index 00000000..04ef206c Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_background.png differ diff --git a/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_foreground.png b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..c9794da0 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_monochrome.png b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..c9794da0 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxhdpi/ic_launcher_monochrome.png differ diff --git a/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher.png b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 00000000..dd0f3d73 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_background.png b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_background.png new file mode 100644 index 00000000..66a5487a Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_background.png differ diff --git a/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 00000000..8b523aa3 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_monochrome.png b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..8b523aa3 Binary files /dev/null and b/src/chis_kenya/res/mipmap-xxxhdpi/ic_launcher_monochrome.png differ diff --git a/src/chis_kenya/res/values/strings.xml b/src/chis_kenya/res/values/strings.xml new file mode 100644 index 00000000..824e366a --- /dev/null +++ b/src/chis_kenya/res/values/strings.xml @@ -0,0 +1,5 @@ + + + eCHIS Kenya (Training) + False + diff --git a/src/chis_kenya/res/xml/instances.xml b/src/chis_kenya/res/xml/instances.xml new file mode 100644 index 00000000..c32df225 --- /dev/null +++ b/src/chis_kenya/res/xml/instances.xml @@ -0,0 +1,7 @@ + + + https://chis-training.health.go.ke + https://chis-training-2.health.go.ke + https://chis-training-3.health.go.ke + https://chis-4-testing.health.go.ke + \ No newline at end of file diff --git a/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher.xml b/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher.xml index d372a4fc..345888d2 100644 --- a/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,6 @@ - - - + + + + \ No newline at end of file diff --git a/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher_round.xml b/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher_round.xml index d372a4fc..036d09bc 100644 --- a/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/src/moh_kenya_echis/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,5 +1,5 @@ - + - + \ No newline at end of file diff --git a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher.png b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher.png index f661ab97..18286218 100644 Binary files a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher.png and b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_background.png b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_background.png new file mode 100644 index 00000000..19669488 Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_background.png differ diff --git a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_foreground.png b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_foreground.png index 77d10367..92a4bd37 100644 Binary files a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_foreground.png and b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_monochrome.png b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..09be9381 Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_monochrome.png differ diff --git a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_round.png b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_round.png index 64ec233a..18286218 100644 Binary files a/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_round.png and b/src/moh_kenya_echis/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher.png b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher.png index ef7af0b2..d3b653f6 100644 Binary files a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher.png and b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_background.png b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_background.png new file mode 100644 index 00000000..75025cfd Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_background.png differ diff --git a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_foreground.png b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_foreground.png index cc379eca..ee73cb4e 100644 Binary files a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_foreground.png and b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_monochrome.png b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..b088e799 Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_monochrome.png differ diff --git a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_round.png b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_round.png index 3aaaacd4..d3b653f6 100644 Binary files a/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_round.png and b/src/moh_kenya_echis/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher.png b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher.png index c385212f..86154d95 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher.png and b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_background.png b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_background.png new file mode 100644 index 00000000..9784f16c Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_background.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_foreground.png b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_foreground.png index e85d6f74..e8c1693d 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_foreground.png and b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_monochrome.png b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..36c836d6 Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_monochrome.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_round.png b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_round.png index 5c0b5778..86154d95 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_round.png and b/src/moh_kenya_echis/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher.png b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher.png index cc95cf63..d0043822 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher.png and b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_background.png b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_background.png new file mode 100644 index 00000000..04ef206c Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_background.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_foreground.png b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_foreground.png index f75f8cd8..69e8c9f6 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_monochrome.png b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..1d5cc1be Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_monochrome.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_round.png b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_round.png index 873bccc7..d0043822 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_round.png and b/src/moh_kenya_echis/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher.png b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher.png index 92da7654..91fffd63 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher.png and b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_background.png b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_background.png new file mode 100644 index 00000000..66a5487a Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_background.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_foreground.png index 52705079..b6740626 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_monochrome.png b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_monochrome.png new file mode 100644 index 00000000..915c8563 Binary files /dev/null and b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_monochrome.png differ diff --git a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_round.png b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_round.png index f1843961..91fffd63 100644 Binary files a/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_round.png and b/src/moh_kenya_echis/res/mipmap-xxxhdpi/ic_launcher_round.png differ