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

(DNM) SoftMed CHW implementation changes #2091

Draft
wants to merge 1,179 commits into
base: master-v1
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1179 commits
Select commit Hold shift + click to select a range
0d7a202
fix: rename CDP Outlet Restock to CDP Restock
dev-billy Sep 10, 2022
0d4fc3d
CDP Receive from facility form
zk497 Sep 10, 2022
a921283
Merge remote-tracking branch 'origin/link/condom-library' into link/c…
zk497 Sep 10, 2022
b284e2a
fix: getting stock event type from form
dev-billy Sep 10, 2022
af1470a
Merge branch 'link/condom-library' of https://github.com/SoftmedTanza…
dev-billy Sep 10, 2022
8ff4f1a
refactor: moved implementation to chw core
dev-billy Sep 10, 2022
44d2289
Merge pull request #164 from SoftmedTanzania/link/hivst-library
cozej4 Sep 11, 2022
4ef8cb4
:hammer: refactored showing of Malaria Option Menu
cozej4 Sep 12, 2022
660d82b
defined: column to track processed form ids
dev-billy Sep 12, 2022
9ff51f4
define: column for team id needed for feedback
dev-billy Sep 12, 2022
ed7e94d
Implemented constraints for restocking condoms fields
zk497 Sep 12, 2022
7fc06fb
:hammer: merged changes from tanzania-ministry-of-health-nacp
cozej4 Sep 12, 2022
6b82ad4
Merge pull request #220 from SoftmedTanzania/enable-malaria-module
cozej4 Sep 12, 2022
6c50c2f
:hammer: enabled malaria module
cozej4 Sep 12, 2022
30a9bc2
:arrow_up: updated chw-core dependencies
cozej4 Sep 12, 2022
cd94633
:bug: added malaria malaria registration to anc member profile menu
cozej4 Sep 12, 2022
18f19e8
fix: loading mark as received
dev-billy Sep 12, 2022
e2b161a
cleanup: remove unused imports
dev-billy Sep 12, 2022
c8028cf
merge with remote
dev-billy Sep 12, 2022
b0bcf8f
Merge pull request #182 from SoftmedTanzania/link/condom-library
dev-billy Sep 13, 2022
0c02df6
:hammer: added malaria registration actions to HIV profile menu
cozej4 Sep 14, 2022
392f672
:wastebasket:
cozej4 Sep 14, 2022
5ab1b65
Fixed Swahili translations
zk497 Sep 15, 2022
a69ff25
Added Swahili translation
zk497 Sep 15, 2022
fcd08e0
Added chairperson name and number fields
zk497 Sep 15, 2022
1db0206
Removed regex from area name
zk497 Sep 15, 2022
6a7f375
Added swahili translation
zk497 Sep 15, 2022
3dfff1d
Merge pull request #223 from SoftmedTanzania/fixing-waja-translation-…
cozej4 Sep 15, 2022
3994520
added: switch to control if flavor has cdp or self-testing
dev-billy Sep 16, 2022
e3174a6
fix: showing navigation options conditionally with hivst and cdp
dev-billy Sep 16, 2022
031ae9a
fix: showing action for hivst_registration if flavor has HIVST
dev-billy Sep 16, 2022
f7dd547
fix: self-testing registration is for clients who are above 18
dev-billy Sep 16, 2022
3dca743
fix: made default visibility false for hivst
dev-billy Sep 16, 2022
e705b9e
refactor: check to be greater or equal 18
dev-billy Sep 16, 2022
97ec836
Merge pull request #227 from SoftmedTanzania/fix/toogle-for-cdp-hivst
dev-billy Sep 16, 2022
e522c9e
:hammer: refactored various PNC swahili translations
cozej4 Sep 17, 2022
5757bff
:arrow_up: updated chw-core dependencies
cozej4 Sep 17, 2022
4be67ca
Merge pull request #228 from SoftmedTanzania/refactor/pnc-form-transl…
cozej4 Sep 17, 2022
c07afc8
Reverted back servers url
cozej4 Sep 17, 2022
44a6185
Merge pull request #142 from SoftmedTanzania/update/point-to-new-server
cozej4 Sep 17, 2022
309682d
Update core version
zk497 Sep 20, 2022
bdf9bcc
Merge pull request #229 from SoftmedTanzania/update-core-version
zk497 Sep 20, 2022
6a1ccca
update: core version
dev-billy Sep 20, 2022
110e1a5
fix: loading kvp register activity
dev-billy Sep 20, 2022
b8b7071
inital implementaion to register client to kvp/prep
dev-billy Sep 20, 2022
b96a44b
fix: loading profile activity
dev-billy Sep 20, 2022
9827dbb
fix: loading visit activity
dev-billy Sep 21, 2022
423faf2
fix: added strings for kvp followup actions
dev-billy Sep 21, 2022
98c7120
init: loading for actions for kvp followup
dev-billy Sep 21, 2022
1c03a8c
fix: added action helpers
dev-billy Sep 21, 2022
44aa42a
fix: actions referrencing correct forms
dev-billy Sep 21, 2022
24ac16c
fix: actionhelper and form for sbcc services
dev-billy Sep 21, 2022
77ab08b
fix: actionhelper and form for visit Type
dev-billy Sep 21, 2022
165d6d7
fix: actionhelper and form for preventive service
dev-billy Sep 21, 2022
f517cb4
fix: actionhelper and form for structural service
dev-billy Sep 21, 2022
f42c270
fix: actionhelper and form for referral service
dev-billy Sep 21, 2022
24265bb
refactor: keys saving for sbcc services form
dev-billy Sep 21, 2022
f144a58
fix: processing kvp visit to the events
dev-billy Sep 21, 2022
43781ab
fix: made the other options optional
dev-billy Sep 21, 2022
68d5891
fix: mis-typed label
dev-billy Sep 21, 2022
32686c5
fixed proceeding to the next stage without completing details
zk497 Sep 21, 2022
cbcd33f
:hammer: refactored pregnancy outcome
cozej4 Sep 21, 2022
a3f30b2
fix: loading select-list for facilities in registration
dev-billy Sep 21, 2022
4e6e392
fix: showing the KVP/PrEP registration if client isn't a member
dev-billy Sep 22, 2022
6126262
add: option for kvp/prep registration to profile menus
dev-billy Sep 22, 2022
0861383
Fixes showing up of unique id field in first step of swahili forms
zk497 Sep 22, 2022
1c62814
fix: added kvp/prep registration to profiles
dev-billy Sep 22, 2022
a73e0fc
fix: kvp prep registration form to load with age and gender considered
dev-billy Sep 22, 2022
b95e8b8
fix: added check if client could fall in the agyw group:
dev-billy Sep 22, 2022
9c657ae
update: constants
dev-billy Sep 22, 2022
58d8e7f
fix: tables for followup and register for kvp/prep
dev-billy Sep 22, 2022
9d08087
Fixed typo in referral form
zk497 Sep 23, 2022
19b7bec
KVP Services referral form
zk497 Sep 23, 2022
f503ff0
fix: moved repeatitive implementation to lib
dev-billy Sep 23, 2022
fa0beaf
fix: passing profile types in kvp profiles
dev-billy Sep 23, 2022
d3b52cd
Merge branch 'link/kvp-library' of https://github.com/SoftmedTanzania…
dev-billy Sep 23, 2022
e979a12
Merge pull request #238 from SoftmedTanzania/fixing-proceed-to-next-s…
cozej4 Sep 24, 2022
545e476
:bug: fixed a bug in processing anc danger signs action
cozej4 Sep 24, 2022
4489bf6
:hammer: Implemented visits history for mother champion profile
cozej4 Sep 25, 2022
6179ed5
:hammer: refactored Mother champion Visits History Activity
cozej4 Sep 26, 2022
a25e12e
:wastebasket:
cozej4 Sep 26, 2022
fd669e6
:wastebasket:
cozej4 Sep 26, 2022
3ebaf85
:hammer: code refactoring
cozej4 Sep 26, 2022
9480e41
:arrow_up: updated chw-core library dependency
cozej4 Sep 26, 2022
2beb590
:construction: optimized the implementation for MotherChampionMedical…
cozej4 Sep 26, 2022
d67b818
Merge pull request #264 from SoftmedTanzania/implement/mother-champio…
cozej4 Sep 26, 2022
749d8b9
fix: loading referral to kvp friendly services
dev-billy Sep 26, 2022
b8b1292
init: link with agyw lib
dev-billy Sep 27, 2022
c43c73e
fix: starting the screening form
dev-billy Sep 27, 2022
370d097
AGYW Screening form
zk497 Sep 27, 2022
c2d41cf
Merge remote-tracking branch 'origin/link/agyw-library' into link/agy…
zk497 Sep 27, 2022
43121a5
fix: starting profile activity
dev-billy Sep 27, 2022
686cd77
Merge branch 'link/agyw-library' of https://github.com/SoftmedTanzani…
dev-billy Sep 27, 2022
b895dc9
fix: passing age in the registration form
dev-billy Sep 27, 2022
9a6a287
Fixed prompts and typos in AGYW Screening form
zk497 Sep 27, 2022
06b81d0
temp: hiding the options menu
dev-billy Sep 27, 2022
aa523cb
Merge branch 'link/agyw-library' of https://github.com/SoftmedTanzani…
dev-billy Sep 27, 2022
77dc6b9
AGYW Bio-Medical Services form
zk497 Sep 27, 2022
74160b0
Merge remote-tracking branch 'origin/link/agyw-library' into link/agy…
zk497 Sep 27, 2022
feaef7a
added: services activity
dev-billy Sep 27, 2022
652a468
AGYW Referral form
zk497 Sep 27, 2022
420b50c
Merge remote-tracking branch 'origin/link/agyw-library' into link/agy…
zk497 Sep 27, 2022
56b5352
added: method to start forms activity
dev-billy Sep 27, 2022
624d21e
Merge branch 'link/agyw-library' of https://github.com/SoftmedTanzani…
dev-billy Sep 27, 2022
fc41286
AGYW Behavioral Services forms
zk497 Sep 27, 2022
4f91895
Merge remote-tracking branch 'origin/link/agyw-library' into link/agy…
zk497 Sep 27, 2022
6a7141d
Fixed Behavioral Services forms
zk497 Sep 27, 2022
7d6d3e9
fix: starting AGYW referral form
dev-billy Sep 27, 2022
0a578d4
Merge branch 'link/agyw-library' of https://github.com/SoftmedTanzani…
dev-billy Sep 27, 2022
1cae8a7
AGYW Structural Services forms
zk497 Sep 27, 2022
b786d99
Merge remote-tracking branch 'origin/link/agyw-library' into link/agy…
zk497 Sep 27, 2022
fa49b2b
Fixed translations
zk497 Sep 28, 2022
1e6a797
Fixed translations
zk497 Sep 28, 2022
8632588
minor hint fix
zk497 Sep 28, 2022
84701b6
Removed numbering
zk497 Sep 28, 2022
96de3b8
merge: remote
dev-billy Sep 28, 2022
144a044
Translation fixes
zk497 Sep 28, 2022
40c0991
Translation fix
zk497 Sep 28, 2022
6527874
Translation fix
zk497 Sep 28, 2022
155dece
fix: graduate services event closing agyw services case
dev-billy Sep 28, 2022
8892679
Refactored age group for AGYW
zk497 Sep 28, 2022
cfea369
Merge remote-tracking branch 'origin/link/kvp-library' into link/kvp-…
zk497 Sep 28, 2022
197232c
Refactored calculation
zk497 Sep 28, 2022
ca9845b
Minor hint fix
zk497 Sep 28, 2022
f360567
initial implementaion to check if client has completed primary package
dev-billy Sep 28, 2022
55c6f88
Merge pull request #283 from SoftmedTanzania/fixing-minor-issues
cozej4 Sep 28, 2022
2bba94d
:hammer: refactored pnc home visits
cozej4 Sep 28, 2022
b0c3097
:hammer: closes #206
cozej4 Sep 28, 2022
dde9064
:hammer: closes #274
cozej4 Sep 28, 2022
b13c32f
:hammer: closes #261
cozej4 Sep 28, 2022
fcbd656
:hammer: closes #278
cozej4 Sep 28, 2022
77d8a06
:hammer: closes #271
cozej4 Sep 28, 2022
95dba5a
:hammer: closes #239, closes #240
cozej4 Sep 28, 2022
d82797d
:hammer: closes #247
cozej4 Sep 28, 2022
1ebdacd
:hammer: added swahili translations for string resources
cozej4 Sep 28, 2022
2c8ad91
:hammer: closes #249
cozej4 Sep 28, 2022
b87abf2
:arrow_up: updated chw-core library dependency
cozej4 Sep 28, 2022
4165aac
:hammer: closes #243
cozej4 Sep 28, 2022
02331a5
:hammer: added swahili translations for string resources
cozej4 Sep 29, 2022
d36218d
:hammer: closes #285
cozej4 Sep 29, 2022
50395da
:arrow_up: updated chw-core library dependency
cozej4 Sep 29, 2022
7b88de1
:hammer: closes #289
cozej4 Sep 29, 2022
1937236
:hammer: added string resources for referral forms
victormanase Sep 29, 2022
e1baf64
Implement: calculate total score and percentage for an AGYW beneficiary
zk497 Sep 29, 2022
6f88299
Added options in behavioral services form
zk497 Sep 29, 2022
2c0f817
:hammer: refactored string resources for referral reasons
cozej4 Sep 29, 2022
003a897
:hammer: merged changes from remote
cozej4 Sep 29, 2022
583e847
Merge pull request #293 from SoftmedTanzania/fix/pre-pilot-testing-is…
cozej4 Sep 29, 2022
070c704
Merge branch 'tanzania-ministry-of-health-nacp' into link/kvp-library
zk497 Sep 29, 2022
860371b
Merge pull request #265 from SoftmedTanzania/link/kvp-library
cozej4 Sep 29, 2022
1569965
:hammer: added configs for release to playstore
cozej4 Sep 29, 2022
e8467c4
:construction: refactored manifest and sdk target versions to meet pl…
cozej4 Sep 29, 2022
3ebc18e
Refactored AGYW screening form with it's calculation and relevance
zk497 Sep 30, 2022
0f1c69c
:hammer: refactored cbhs tables and ec_client_classification for cbhs…
cozej4 Oct 3, 2022
aa60adf
:construction: implemented CBHS visits history view
cozej4 Oct 3, 2022
1c5f1b2
:construction: reimplemented CBHS In-App reports
cozej4 Oct 4, 2022
d4de528
:hammer: resoved a minor issue in showing client's HIV and TB status
cozej4 Oct 4, 2022
2de1f88
:hammer: refactored cbhs in-app reports
cozej4 Oct 4, 2022
d9f2705
:hammer: implemented marking of cbhs clients as deceased
cozej4 Oct 5, 2022
84200ab
:hammer: refactored cbhs followup form, capturing of state of theraphy
cozej4 Oct 5, 2022
cd3f5a7
:hammer: refactored loading of cbhs followup form, removing the new c…
cozej4 Oct 5, 2022
c7d7adc
Fix/getting uic id kvp (#298)
dev-billy Oct 5, 2022
f8c9551
:hammer: refactored CBHS ReportDao
cozej4 Oct 5, 2022
d50ffa1
Merge branch 'tanzania-ministry-of-health-nacp' into refactor/cbhs-in…
cozej4 Oct 5, 2022
0b59942
modify error return date null hivst return
ChrissDisigale Oct 5, 2022
d7a20b8
Merge pull request #316 from SoftmedTanzania/modify-hivst-return-date…
ChrissDisigale Oct 5, 2022
22bec78
:hammer: refactored CBHS followup forms
cozej4 Oct 6, 2022
d3950b6
:hammer: refactored CBHS followup forms, CBHS report indicators and d…
cozej4 Oct 6, 2022
ae795fc
:hammer: more code refactoring
cozej4 Oct 6, 2022
e58b498
fix: getting uic id generated
dev-billy Oct 6, 2022
e1ace4d
fix: made none exclusive
dev-billy Oct 6, 2022
a7fc188
fix: query constant to have the label for AGYW clients
dev-billy Oct 6, 2022
01b6d96
fix: go to agyw profile from all clients list
dev-billy Oct 6, 2022
603f476
fix: showing agyw screening for only 10-24 female clients'
dev-billy Oct 6, 2022
d92e735
fix: checking eligibility to enroll to agyw services based on age gro…
dev-billy Oct 6, 2022
58b335c
fix: hiding enrollment questions if client did not qualify
dev-billy Oct 6, 2022
df4ea31
fix: capture client's consent before enrolling
dev-billy Oct 6, 2022
938531b
removed: agyw services referral form and added sti referral form
dev-billy Oct 6, 2022
d8b3d83
added: referral services
dev-billy Oct 6, 2022
a41ff5e
:hammer: code refactoring
cozej4 Oct 6, 2022
bd1572b
merge: remote
dev-billy Oct 7, 2022
1d0a5e5
:hammer: code refactoring
cozej4 Oct 7, 2022
9d2ec58
:wastebasket: code cleaning
cozej4 Oct 7, 2022
f3a1e20
:hammer: refactored swahili cbhs registration form
cozej4 Oct 7, 2022
f8d8255
:hammer: refactored AncPartnerFollowupReferralProfileActivity showing…
cozej4 Oct 7, 2022
34072ab
:hammer: refactored anc_partner_community_followup_feedback
cozej4 Oct 7, 2022
4f903a6
:hammer: minor code refactoring
cozej4 Oct 7, 2022
78dc986
:hammer: added implementation to translate hiv status in referral fee…
cozej4 Oct 7, 2022
a887378
:hammer: code cleaning
cozej4 Oct 7, 2022
3e85720
Refactor/CBHS in app reports (#294)
cozej4 Oct 7, 2022
e369ca2
Merge remote-tracking branch 'origin/tanzania-ministry-of-health-nacp…
cozej4 Oct 7, 2022
cd97e26
Merge branch 'tanzania-ministry-of-health-nacp' into release/play-store
cozej4 Oct 7, 2022
0cf9882
:hammer: updated version code and database version
cozej4 Oct 7, 2022
1d5ce95
:hammer: updated version code and database version
cozej4 Oct 10, 2022
0598a2f
merge: with remote
dev-billy Oct 10, 2022
2f13684
Merge pull request #275 from SoftmedTanzania/link/agyw-library
dev-billy Oct 11, 2022
47852e6
update: core version (#363)
dev-billy Oct 13, 2022
340a857
fix: hiding facility-to-facility requests showing on chw (#364)
dev-billy Oct 13, 2022
96808cb
update: core version
dev-billy Oct 16, 2022
f885088
override: core abstract methods
dev-billy Oct 16, 2022
324ada7
fix: rephrase how condom distribution question is asked
dev-billy Oct 17, 2022
ee05a49
Merge pull request #368 from SoftmedTanzania/fix/kvp_prep_issues
dev-billy Oct 19, 2022
6a1ea81
persist: agyw package
dev-billy Oct 19, 2022
abaa6da
update: core version
dev-billy Oct 19, 2022
64f0a6b
added: question empower girls
dev-billy Oct 20, 2022
cc1abf9
fix: naming and wordings for questions
dev-billy Oct 20, 2022
483f9e4
fix: showing dreams on met dreams criteria
dev-billy Oct 20, 2022
d7ad45c
rephrase
dev-billy Oct 20, 2022
af1d6ca
fix: prevention intervention question ordering
dev-billy Oct 20, 2022
8315179
fix: form section titles
dev-billy Oct 20, 2022
ae4dd32
add: none check for household
dev-billy Oct 20, 2022
973fd86
Merge pull request #370 from SoftmedTanzania/fix/agyw-packages
dev-billy Oct 22, 2022
ee2d913
:hammer: implemented AGYW and KVP visit histories (#385)
cozej4 Oct 23, 2022
d932176
:arrow_up: updated chw-core library dependency
cozej4 Oct 24, 2022
cecb8d5
:hammer: separated kvp referrals to male and female kvp referrals, ad…
cozej4 Oct 24, 2022
a9387a2
Refactor/translating agyw forms (#394)
cozej4 Oct 24, 2022
1f5ce1a
Implementing agyw inapp repports (#389)
tbwahacker Oct 24, 2022
afac1ee
fix: showing percentage and total score in swahili agyw screening form
dev-billy Oct 24, 2022
8154f1f
update: core version
dev-billy Oct 24, 2022
3de9b01
fix: added kvp/prep as register type on all clients register
dev-billy Oct 24, 2022
2ac6b51
fix: showing program name with dreams
dev-billy Oct 25, 2022
f0f695a
fix: relevance issue in agyw screening swahili form
dev-billy Oct 25, 2022
7494d36
Merge pull request #395 from SoftmedTanzania/fix/agyw-issues
dev-billy Oct 26, 2022
2aa24a1
:hammer: merged changes from remote
cozej4 Oct 26, 2022
a357b5d
Fix/kvp uat issues (#422)
dev-billy Oct 28, 2022
9ac9a76
:hammer: refactored getMainCondition in MalariaRegisterFragmentPresen…
cozej4 Nov 2, 2022
877d4d2
Refactor/fixing agyw UAT issues (#409)
cozej4 Nov 2, 2022
7019d45
:hammer: closes #426, closes #427 (#428)
cozej4 Nov 2, 2022
a0c94c9
Refactor/fixing agyw tot issues (#433)
cozej4 Nov 6, 2022
cd1ea38
Fix/condom programming uat issues (#432)
cozej4 Nov 17, 2022
abd47e1
:hammer: implement recording of Ten Cell Leader Details
cozej4 Nov 18, 2022
784bfd5
Fix/pilot issues (#457)
cozej4 Dec 14, 2022
b530e14
Merge remote-tracking branch 'origin/tanzania-ministry-of-health-nacp…
cozej4 Dec 14, 2022
20ecd89
Merge branch 'tanzania-ministry-of-health-nacp' into release/play-store
cozej4 Dec 14, 2022
9daf9ee
:hammer: refactored showing of various reports based on configs on Ap…
cozej4 Dec 14, 2022
9ed65ca
:heavy_plus_sign: bumped up version code
cozej4 Dec 14, 2022
46c087e
Kvp swahili tanslation in chw (#451)
tbwahacker Jan 9, 2023
15ef51e
Fix/tot workshop issues (#466)
cozej4 Jan 9, 2023
01cbd82
Implement/condom programing improvements from tot (#472)
cozej4 Feb 16, 2023
9f64a9e
:hammer: fixed UAT issues (#473)
cozej4 Feb 16, 2023
8e9f437
cdp receiving in app report (#477)
ChrissDisigale Mar 2, 2023
c606955
:hammer: code cleaning
cozej4 Mar 14, 2023
cbe39df
:heavy_plus_sign: bumped up version code
cozej4 Mar 18, 2023
683b48c
:hammer: refactored partner registration during followup of partners …
cozej4 Mar 27, 2023
b9a73b3
:heavy_plus_sign: bumped up version code
cozej4 Mar 27, 2023
e216031
Merge branch 'release/play-store' into tanzania-ministry-of-health-nacp
cozej4 Apr 3, 2023
e772afd
Cdp translation (#481)
ChrissDisigale Apr 14, 2023
5ccf0c7
Merge remote-tracking branch 'origin/tanzania-ministry-of-health-nacp…
cozej4 Apr 14, 2023
7e89b0b
Fix/issues from update of training materials workshop (#482)
cozej4 Apr 18, 2023
90b4c60
Merge remote-tracking branch 'origin/tanzania-ministry-of-health-nacp…
cozej4 Apr 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ project.properties
.settings
build/
jacoco.exec
opensrp-chw/ba/
opensrp-chw/ba/
opensrp-chw/nacp/
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ subprojects {

ext.androidToolsBuildGradle = '4.0.1'
ext.androidBuildToolsVersion = '29.0.3'
ext.androidMinSdkVersion = 19
ext.androidCompileSdkVersion = 29
ext.androidTargetSdkVersion = 29
ext.androidMinSdkVersion = 21
ext.androidCompileSdkVersion = 30
ext.androidTargetSdkVersion = 31

ext.androidAnnotationsVersion = '3.0.1'
ext.androidAnnotationsAPIVersion = '3.0.1'
Expand Down
74 changes: 59 additions & 15 deletions opensrp-chw/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,37 @@ buildscript {
classpath 'com.android.tools.build:gradle:4.0.1'
}
}

def githubProperties = new Properties()
if (rootProject.file("github.properties").exists()) {
githubProperties.load(new FileInputStream(rootProject.file("github.properties")))
}
allprojects {
repositories {
maven { url 'https://maven.google.com' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url 'https://maven.fabric.io/public' }
maven {

name = "GitHubPackages"

url = uri("https://maven.pkg.github.com/SoftmedTanzania/opensrp-client-chw-core")
credentials {
username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
}

}

maven {

name = "GitHubPackages"

url = uri("https://maven.pkg.github.com/SoftmedTanzania/opensrp-client-chw-ld")
credentials {
username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
}
}
mavenLocal()
}
}
Expand Down Expand Up @@ -109,7 +134,7 @@ android {
buildConfigField "int", "SCHEDULE_SERVICE_MINUTES", '720'
buildConfigField "int", "STOCK_USAGE_REPORT_MINUTES", '1440'
buildConfigField "boolean", "USE_UNIFIED_REFERRAL_APPROACH", "true"
buildConfigField "boolean", "BUILD_FOR_BORESHA_AFYA_SOUTH", "false"
buildConfigField "boolean", "BUILD_FOR_BORESHA_AFYA_SOUTH", "true"
}

debug {
Expand All @@ -127,7 +152,7 @@ android {
buildConfigField "int", "SCHEDULE_SERVICE_MINUTES", '360'
buildConfigField "int", "STOCK_USAGE_REPORT_MINUTES", '1440'
buildConfigField "boolean", "USE_UNIFIED_REFERRAL_APPROACH", "true"
buildConfigField "boolean", "BUILD_FOR_BORESHA_AFYA_SOUTH", "false"
buildConfigField "boolean", "BUILD_FOR_BORESHA_AFYA_SOUTH", "true"
testCoverageEnabled true
}
}
Expand Down Expand Up @@ -171,6 +196,24 @@ android {

flavorDimensions 'baseDimension'
productFlavors {
nacp {
dimension = 'baseDimension'
applicationIdSuffix ".moh"
versionCode 14
versionName "1.1.6"
buildConfigField "String", 'opensrp_url', '"https://ucs.nacp.go.tz/opensrp/"'
buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/ba/"'
// buildConfigField "String", 'opensrp_url_debug', '"http://50.116.15.4:8082/opensrp/"'
buildConfigField "String", 'opensrp_url_debug', '"http://170.187.199.69:8082/opensrp/"'
buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country","Region","District","Ward" , "MOH Jhpiego Facility Name", "Health Facility", "Village", "Village Sublocations"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Ward" , "Facility", "Health Facility", "Village", "Village Sublocations"}'
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Ward", "Facility", "Health Facility", "Village", "Village Sublocations"}'
buildConfigField "String", 'DEFAULT_LOCATION', '"Village Sublocations"'
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"Village"'
buildConfigField "long", "MAPBOX_DOWNLOAD_TILE_LIMIT", "6001"

buildConfigField "int", "DATABASE_VERSION", '25'
}
ba {
dimension = 'baseDimension'
applicationIdSuffix ".ba"
Expand Down Expand Up @@ -291,28 +334,27 @@ android {
dataBinding {
enabled = true
}

bundle {
language {
// Specifies that the app bundle should not support
// configuration APKs for language resources. These
// resources are instead packaged with each base and
// dynamic feature APK.
enableSplit = false
}
}
}

dependencies {
implementation('org.smartregister:opensrp-client-chw-core:1.5.29-SNAPSHOT@aar') {
implementation('org.smartregister:opensrp-client-chw-core:1.5.36.14-NACP-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'androidx.legacy', module: 'legacy-support-v4'
exclude group: 'androidx.appcompat', module: 'appcompat'
exclude group: 'androidx.constraintlayout', module: 'constraintlayout'
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'com.rengwuxian.materialedittext', module: 'library'
exclude group: 'org.smartregister', module: 'opensrp-client-native-form'
}
implementation('org.smartregister:opensrp-client-native-form:2.1.13-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.android.support', module: 'appcompat-v7'
exclude group: 'com.android.support', module: 'cardview-v7'
exclude group: 'com.android.support', module: 'support-media-compat'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'design'
exclude group: 'io.ona.rdt-capture', module: 'lib'
exclude group: 'com.google.guava', module: 'guava'
}
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-turf:5.1.0'
implementation('io.ona.kujaku:library:0.9.0') {
Expand All @@ -330,6 +372,8 @@ dependencies {
implementation 'com.android.support:multidex:1.0.3'
//Do not upgrade to 24.jre-1 due to compatibility issues
implementation 'com.google.guava:guava:20.0'
implementation 'androidx.webkit:webkit:1.4.0'
implementation 'com.whiteelephant:monthandyearpicker:1.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation 'org.mockito:mockito-android:3.0.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.smartregister.chw.activity;

public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.smartregister.chw.activity;

public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class HivProfileActivityFlv extends DefaultHivProfileActivityFlv {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.smartregister.chw.activity;

public class TbProfileActivityFlv extends DefaultTbProfileActivityFlv {
}
Loading