Skip to content

Commit

Permalink
chore(#339): create Moh Togo UAT app bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoteo authored Dec 13, 2023
1 parent 9609660 commit f5464ec
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,32 @@ jobs:
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NIGER_CHW }}
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NIGER_CHW }}

- name: Unpack secrets moh_togo_uat
env:
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_MOH_TOGO_UAT }}
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_MOH_TOGO_UAT }}
run: make org=moh_togo_uat keydec

- name: Assemble moh_togo_uat
uses: maierj/[email protected]
with:
lane: build
options: '{ "flavor": "moh_togo_uat" }'
env:
ANDROID_KEYSTORE_PATH: moh_togo_uat.keystore
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_TOGO_UAT }}
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_TOGO_UAT }}

- name: Bundle moh_togo_uat
uses: maierj/[email protected]
with:
lane: bundle
options: '{ "flavor": "moh_togo_uat" }'
env:
ANDROID_KEYSTORE_PATH: moh_togo_uat.keystore
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_TOGO_UAT }}
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_TOGO_UAT }}

- name: GitHub release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,12 @@ android {
dimension = 'brand'
applicationId = 'org.medicmobile.webapp.mobile.moh_kenya_echis'
}

moh_togo_uat {
dimension = 'brand'
applicationId = 'org.medicmobile.webapp.mobile.moh_togo_uat'
}

}

splits {
Expand Down
Binary file added secrets/secrets-moh_togo_uat.tar.gz.enc
Binary file not shown.
8 changes: 8 additions & 0 deletions src/moh_togo_uat/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.medicmobile.webapp.mobile">

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" />

</manifest>
Binary file added src/moh_togo_uat/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/moh_togo_uat/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/moh_togo_uat/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/moh_togo_uat/res/values/strings.xml
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">MOH-TOGO UAT</string>
<string name="app_host">moh-togo-uat.dev.medicmobile.org</string>
</resources>

0 comments on commit f5464ec

Please sign in to comment.