diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b8755ee5..f02e0cf1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -673,6 +673,32 @@ jobs: ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_CIV_COACH_UAT }} ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_CIV_COACH_UAT }} + - name: Unpack secrets karnali + env: + ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_KARNALI }} + ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_KARNALI }} + run: make org=karnali keydec + + - name: Assemble karnali + uses: maierj/fastlane-action@v1.4.0 + with: + lane: build + options: '{ "flavor": "karnali" }' + env: + ANDROID_KEYSTORE_PATH: karnali.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_KARNALI }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_KARNALI }} + + - name: Bundle karnali + uses: maierj/fastlane-action@v1.4.0 + with: + lane: bundle + options: '{ "flavor": "karnali" }' + env: + ANDROID_KEYSTORE_PATH: karnali.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_KARNALI }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_KARNALI }} + - name: GitHub release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/build.gradle b/build.gradle index ec8e0c0d..1e89baf1 100644 --- a/build.gradle +++ b/build.gradle @@ -470,6 +470,11 @@ android { applicationId = 'org.medicmobile.webapp.mobile.lumbini' } + karnali { + dimension = 'brand' + applicationId = 'org.medicmobile.webapp.mobile.karnali' + } + } splits { diff --git a/secrets/secrets-karnali.tar.gz.enc b/secrets/secrets-karnali.tar.gz.enc new file mode 100644 index 00000000..7058b92a Binary files /dev/null and b/secrets/secrets-karnali.tar.gz.enc differ diff --git a/src/karnali/AndroidManifest.xml b/src/karnali/AndroidManifest.xml new file mode 100644 index 00000000..c1291f6d --- /dev/null +++ b/src/karnali/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/src/karnali/ic_launcher-playstore.png b/src/karnali/ic_launcher-playstore.png new file mode 100644 index 00000000..63cd24a1 Binary files /dev/null and b/src/karnali/ic_launcher-playstore.png differ diff --git a/src/karnali/res/mipmap-anydpi-v26/ic_launcher.xml b/src/karnali/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..036d09bc --- /dev/null +++ b/src/karnali/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/karnali/res/mipmap-anydpi-v26/ic_launcher_round.xml b/src/karnali/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 00000000..036d09bc --- /dev/null +++ b/src/karnali/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/karnali/res/mipmap-hdpi/ic_launcher.webp b/src/karnali/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 00000000..aab84743 Binary files /dev/null and b/src/karnali/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/src/karnali/res/mipmap-hdpi/ic_launcher_foreground.webp b/src/karnali/res/mipmap-hdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..1ff3caca Binary files /dev/null and b/src/karnali/res/mipmap-hdpi/ic_launcher_foreground.webp differ diff --git a/src/karnali/res/mipmap-hdpi/ic_launcher_round.webp b/src/karnali/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 00000000..7def4914 Binary files /dev/null and b/src/karnali/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/src/karnali/res/mipmap-mdpi/ic_launcher.webp b/src/karnali/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 00000000..5d3ed837 Binary files /dev/null and b/src/karnali/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/src/karnali/res/mipmap-mdpi/ic_launcher_foreground.webp b/src/karnali/res/mipmap-mdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..e66a00d3 Binary files /dev/null and b/src/karnali/res/mipmap-mdpi/ic_launcher_foreground.webp differ diff --git a/src/karnali/res/mipmap-mdpi/ic_launcher_round.webp b/src/karnali/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 00000000..b1e85977 Binary files /dev/null and b/src/karnali/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/src/karnali/res/mipmap-xhdpi/ic_launcher.webp b/src/karnali/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 00000000..60ad99b2 Binary files /dev/null and b/src/karnali/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/src/karnali/res/mipmap-xhdpi/ic_launcher_foreground.webp b/src/karnali/res/mipmap-xhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..b6386d90 Binary files /dev/null and b/src/karnali/res/mipmap-xhdpi/ic_launcher_foreground.webp differ diff --git a/src/karnali/res/mipmap-xhdpi/ic_launcher_round.webp b/src/karnali/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..051025f2 Binary files /dev/null and b/src/karnali/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/src/karnali/res/mipmap-xxhdpi/ic_launcher.webp b/src/karnali/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 00000000..7929bdf8 Binary files /dev/null and b/src/karnali/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/src/karnali/res/mipmap-xxhdpi/ic_launcher_foreground.webp b/src/karnali/res/mipmap-xxhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..13609a4f Binary files /dev/null and b/src/karnali/res/mipmap-xxhdpi/ic_launcher_foreground.webp differ diff --git a/src/karnali/res/mipmap-xxhdpi/ic_launcher_round.webp b/src/karnali/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..fdc4e472 Binary files /dev/null and b/src/karnali/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/src/karnali/res/mipmap-xxxhdpi/ic_launcher.webp b/src/karnali/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 00000000..dc78395c Binary files /dev/null and b/src/karnali/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/src/karnali/res/mipmap-xxxhdpi/ic_launcher_foreground.webp b/src/karnali/res/mipmap-xxxhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..04a8cf45 Binary files /dev/null and b/src/karnali/res/mipmap-xxxhdpi/ic_launcher_foreground.webp differ diff --git a/src/karnali/res/mipmap-xxxhdpi/ic_launcher_round.webp b/src/karnali/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..ed2e9279 Binary files /dev/null and b/src/karnali/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/src/karnali/res/values/ic_launcher_background.xml b/src/karnali/res/values/ic_launcher_background.xml new file mode 100644 index 00000000..c5d5899f --- /dev/null +++ b/src/karnali/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + \ No newline at end of file diff --git a/src/karnali/res/values/strings.xml b/src/karnali/res/values/strings.xml new file mode 100644 index 00000000..5fee81ab --- /dev/null +++ b/src/karnali/res/values/strings.xml @@ -0,0 +1,5 @@ + + + eCHIS Karnali + karnali.app.medicmobile.org +