From 7fc4a4a1541fabe8c104c7d916cf663854a77633 Mon Sep 17 00:00:00 2001 From: Benjamin Mwalimu Mulyungi Date: Tue, 5 Apr 2022 12:36:41 +0000 Subject: [PATCH 1/2] update the url --- opensrp-chw/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensrp-chw/build.gradle b/opensrp-chw/build.gradle index 2c1704d343..162622e27b 100644 --- a/opensrp-chw/build.gradle +++ b/opensrp-chw/build.gradle @@ -332,7 +332,7 @@ android { versionName "0.1.7" buildConfigField "String", 'opensrp_url', '"https://lmh-liberia.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/lmh/"' - buildConfigField "String", 'opensrp_url_debug', '"https://lmh-stage.smartregister.org/opensrp/"' + buildConfigField "String", 'opensrp_url_debug', '"https://liberiavts.smartregister.org/opensrp/"' buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country" , "County" , "District", "Clinics", "CHSS", "Village","Commune"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Country" , "County" , "District", "Clinics", "CHSS", "Village","Commune"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Clinic" , "CHSS" , "CHA"}' From b363d025d7863e3c00af28bfeb23eccf1d2d318f Mon Sep 17 00:00:00 2001 From: Benjamin Mwalimu Mulyungi Date: Wed, 6 Apr 2022 09:57:02 +0000 Subject: [PATCH 2/2] :wrench: Change the identifier sources and version --- opensrp-chw/build.gradle | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/opensrp-chw/build.gradle b/opensrp-chw/build.gradle index d192d902d7..db5845d1d0 100644 --- a/opensrp-chw/build.gradle +++ b/opensrp-chw/build.gradle @@ -149,9 +149,9 @@ android { minifyEnabled false zipAlignEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '500' - buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '500' - buildConfigField "int", "OPENMRS_UNIQUE_ID_SOURCE", '2' + buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '10000' + buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '10000' + buildConfigField "int", "OPENMRS_UNIQUE_ID_SOURCE", '1' buildConfigField "boolean", "TIME_CHECK", "true" buildConfigField "int", "DATA_SYNC_DURATION_MINUTES", '15' buildConfigField "int", "VACCINE_SYNC_PROCESSING_MINUTES", '30' @@ -168,9 +168,9 @@ android { } debug { - buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '30' - buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '15' - buildConfigField "int", "OPENMRS_UNIQUE_ID_SOURCE", '2' + buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '10000' + buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '10000' + buildConfigField "int", "OPENMRS_UNIQUE_ID_SOURCE", '1' buildConfigField "boolean", "TIME_CHECK", "false" buildConfigField "int", "DATA_SYNC_DURATION_MINUTES", '15' buildConfigField "int", "VACCINE_SYNC_PROCESSING_MINUTES", '30' @@ -344,13 +344,12 @@ android { dimension = 'baseDimension' applicationIdSuffix ".lmh" versionCode 2 - versionName "1.1.2" + versionName "2.0.1-rc5" buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '100000' buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '50000' - buildConfigField "String", 'opensrp_url', '"https://lmh-liberia.smartregister.org/opensrp/"' + buildConfigField "String", 'opensrp_url', '"https://liberiavts.smartregister.org/opensrp/"' buildConfigField "String", 'guidebooks_url', '"https://opensrp.s3.amazonaws.com/media/lmh/"' - buildConfigField "String", 'opensrp_url_debug', '"https://liberiavts.smartregister.org/opensrp/"' - //buildConfigField "String", 'opensrp_url_debug', '"https://lmh-liberia-preview.smartregister.org/opensrp/"' + buildConfigField "String", 'opensrp_url_debug', '"https://lmh-liberia-preview.smartregister.org/opensrp/"' buildConfigField "String[]", "LOCATION_HIERACHY", '{"Country" , "County" , "District", "Clinics", "CHSS", "Village","Commune"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"Country" , "County" , "District", "Clinics", "CHSS", "Village","Commune"}' buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS_DEBUG", '{"Country" , "County" , "District", "Clinics", "CHSS", "Village","Commune"}'