Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Safari Doctors Youth Health Ambassadors app flavor. #372

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add Safari Doctors Youth Health Ambassadors app flavor.
benkags committed Sep 7, 2024
commit f3883da043b9575d6ee001273bcd56725970084e
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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_ke_yha
env:
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_SAFARIDOCTORS_KE_YHA }}
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_SAFARIDOCTORS_KE_YHA }}
run: make org=new_brand keydec

- name: Assemble new_brand
uses: maierj/fastlane-action@v1.4.0
with:
lane: build
options: '{ "flavor": "safaridoctors_ke_yha" }'
env:
ANDROID_KEYSTORE_PATH: safaridoctors_ke_yha.keystore
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_SAFARIDOCTORS_KE_YHA }}
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_SAFARIDOCTORS_KE_YHA }}

- name: Bundle new_brand
uses: maierj/fastlane-action@v1.4.0
with:
lane: bundle
options: '{ "flavor": "safaridoctors_ke_yha" }'
env:
ANDROID_KEYSTORE_PATH: safaridoctors_ke_yha.keystore
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_SAFARIDOCTORS_KE_YHA }}
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_SAFARIDOCTORS_KE_YHA }}

- name: GitHub release
uses: softprops/action-gh-release@v1
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -450,6 +450,10 @@ android {
applicationId = 'org.medicmobile.webapp.mobile.moh_civ_uat'
}

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

splits {
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>