Skip to content

Commit

Permalink
FEAT: added eCHIS Kenya Training & Testing Instances & updated branding
Browse files Browse the repository at this point in the history
  • Loading branch information
karimkkanji committed Sep 19, 2024
1 parent 1ce2a9c commit fe2c5d7
Show file tree
Hide file tree
Showing 26 changed files with 159 additions and 0 deletions.
67 changes: 67 additions & 0 deletions src/moh_kenya_echis_training/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?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" />

<application>
<activity android:name="AppUrlIntentActivity"
android:launchMode="singleInstance"
android:exported="true">
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" android:host="migori-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kisumu-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="nyeri-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kilifi-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="machakos-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="garissa-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="nakuru-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="isiolo-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="nairobi-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="turkana-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kakamega-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="vihiga-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kitui-echis.health.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="uasingishu-echis.health.go.ke" android:pathPattern=".*"/>

<data android:scheme="https" android:host="baringo.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="bomet.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="bungoma.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="busia.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="elgeyomarakwet.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="embu.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="homabay.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kajiado.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kericho.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kiambu.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kirinyaga.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kisii.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="kwale.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="laikipia.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="lamu.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="makueni.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="mandera.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="marsabit.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="meru.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="mombasa.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="muranga.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="nandi.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="narok.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="nyamira.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="nyandarua.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="samburu.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="siaya.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="taitataveta.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="tanariver.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="tharakanithi.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="transnzoia.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="wajir.echis.go.ke" android:pathPattern=".*"/>
<data android:scheme="https" android:host="westpokot.echis.go.ke" android:pathPattern=".*"/>
</intent-filter>
</activity>
</application>
</manifest>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z"/>
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
</adaptive-icon>
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.
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.
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.
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/moh_kenya_echis_training/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">eCHIS Kenya (Training)</string>
<bool name="allowCustomHosts">False</bool>
</resources>
7 changes: 7 additions & 0 deletions src/moh_kenya_echis_training/res/xml/instances.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<instances xmlns:android="http://schemas.android.com/apk/res/android">
<instance name="eCHIS Training 1">https://chis-training.health.go.ke</instance>
<instance name="eCHIS Training 2">https://chis-training-2.health.go.ke</instance>
<instance name="eCHIS Training 3">https://chis-training-3.health.go.ke</instance>
<instance name="eCHIS Testing">https://chis-4-testing.health.go.ke</instance>
</instances>

0 comments on commit fe2c5d7

Please sign in to comment.