Skip to content

Commit

Permalink
Add Safari Doctors Youth Health Ambassadors app flavor. (#372)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Kuestersteffen <[email protected]>
  • Loading branch information
benkags and jkuester authored Sep 18, 2024
1 parent 5790a81 commit 1ce2a9c
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,31 @@ jobs:
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_GANDAKI_NE }}
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_GANDAKI_NE }}

- name: Unpack secrets safaridoctors_kenya_yha
env:
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_SAFARIDOCTORS_KENYA_YHA }}
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_SAFARIDOCTORS_KENYA_YHA }}
run: make org=safaridoctors_kenya_yha keydec

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

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

- name: Unpack secrets moh_civ
env:
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,10 @@ android {
applicationId = 'org.medicmobile.webapp.mobile.moh_civ_uat'
}

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

splits {
Expand Down
Binary file not shown.
7 changes: 7 additions & 0 deletions src/safaridoctors_kenya_yha/AndroidManifest.xml
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.
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.
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/safaridoctors_kenya_yha/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">Safari Doctors Youth Health Ambassadors App</string>
<string name="app_host">safaridoctors-ke.app.medicmobile.org</string>
</resources>

0 comments on commit 1ce2a9c

Please sign in to comment.