Skip to content

Commit

Permalink
Bump up release version to 2.0.5 (#242)
Browse files Browse the repository at this point in the history
* Release v2.0.4

* use gson for to string function

* move count execute to other thread

* Revert register query count implementation

Signed-off-by: Elly Kitoto <[email protected]>

* Revert release version to 2.0.5

Signed-off-by: Elly Kitoto <[email protected]>

Co-authored-by: Martin Ndegwa <[email protected]>
Co-authored-by: hilpitome <[email protected]>
  • Loading branch information
3 people authored Dec 23, 2021
1 parent 2d3e151 commit b463355
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 24 deletions.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ allprojects {
maven { url "https://repo.maven.apache.org/maven2" }
maven { url "http://cloudant.github.io/cloudant-sync-eap/repository" }
maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
maven { url 'https://dl.bintray.com/ibm-watson-health/ibm-fhir-server-releases'}
maven {
url 'https://dl.bintray.com/ibm-watson-health/ibm-fhir-server-releases'
content {
// Ignore this group
includeGroup "com.ibm.fhir"
}
}
mavenLocal()
jcenter()
}
Expand Down
13 changes: 8 additions & 5 deletions opensrp-path-zeir/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ android {
applicationVariants.all { variant ->
if (variant.name == "debug") {
variant.outputs.each { output ->
output.versionCodeOverride = 31
output.versionNameOverride = "0.0.31-debug"
output.versionCodeOverride = 32
output.versionNameOverride = "0.0.33-debug"
}
} else if (variant.name == "preview") {
variant.outputs.each { output ->
Expand All @@ -85,8 +85,8 @@ android {
}
} else if (variant.name == "release") {
variant.outputs.each { output ->
output.versionCodeOverride = 18
output.versionNameOverride = "2.0.3-release"
output.versionCodeOverride = 20
output.versionNameOverride = "2.0.5-release"
}
}
}
Expand Down Expand Up @@ -280,7 +280,7 @@ dependencies {
exclude group: 'com.android.support', module: 'appcompat-v7'
}

implementation('org.smartregister:opensrp-client-core:4.3.19-SNAPSHOT@aar') {
implementation('org.smartregister:opensrp-client-core:4.3.23-SNAPSHOT@aar') {
transitive = true
exclude group: 'id.zelory', module: 'compressor'
exclude group: 'com.android.support', module: 'appcompat-v7'
Expand All @@ -293,6 +293,7 @@ dependencies {
exclude group: 'org.smartregister', module: 'opensrp-client-reporting'
}


implementation('org.smartregister:opensrp-client-growth-monitoring:2.0.6-SNAPSHOT@aar') {
transitive = true
exclude group: 'id.zelory', module: 'compressor'
Expand Down Expand Up @@ -339,11 +340,13 @@ dependencies {
exclude group: 'com.google.code.gson', module: 'gson'
exclude group: 'com.simprints', module: 'libsimprints'
exclude group: 'com.ibm.fhir', module: 'fhir-model'
exclude group: 'com.github.raihan-mpower', module:'FancyAlertDialog-Android'
}
implementation('com.google.android.material:material:1.4.0') {
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'cardview-v7'
}
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'

implementation 'androidx.appcompat:appcompat:1.3.1'
annotationProcessor 'com.jakewharton:butterknife:10.2.1'
Expand Down
1 change: 1 addition & 0 deletions opensrp-path-zeir/src/main/assets/mother_vaccines.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
import org.smartregister.path.repository.ClientRegisterTypeRepository;
import org.smartregister.path.repository.ZeirRepository;
import org.smartregister.path.util.AppConstants;
import org.smartregister.path.util.AppExecutors;
import org.smartregister.path.util.AppUtils;
import org.smartregister.path.util.VaccineDuplicate;
import org.smartregister.receiver.SyncStatusBroadcastReceiver;
Expand Down Expand Up @@ -99,6 +100,7 @@ public class ZeirApplication extends DrishtiApplication implements TimeChangedBr
private CumulativeRepository cumulativeRepository;
private CumulativePatientRepository cumulativePatientRepository;
private CumulativeIndicatorRepository cumulativeIndicatorRepository;
private AppExecutors appExecutors;

public static JsonSpecHelper getJsonSpecHelper() {
return jsonSpecHelper;
Expand Down Expand Up @@ -515,5 +517,11 @@ public String getSyncLocations() {
return LocationHelper.getInstance().locationIdsFromHierarchy();
return "";
}
public AppExecutors getAppExecutors() {
if (appExecutors == null) {
appExecutors = new AppExecutors();
}
return appExecutors;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ public void setupSearchView(View view) {
super.setupSearchView(view);
((View) searchView.getParent().getParent()).setBackgroundColor(
ContextCompat.getColor(requireContext(), R.color.toolbar_background));
searchView.setHint(getContext().getString(R.string.search_hint));
searchView.setHint(requireContext().getString(R.string.search_hint));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ public void processClient(List<EventClient> eventClients) {
}

// Process alerts for clients
Runnable runnable = () -> updateClientAlerts(clientsForAlertUpdates);
Runnable runnable = () -> {
updateClientAlerts(clientsForAlertUpdates);
};
appExecutors.diskIO().execute(runnable);
// Unsync events that are should not be in this device
unSync(eventsToRemove);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ public void updateDatePicker(String date) {
Timber.e(e);
}
}


}
8 changes: 0 additions & 8 deletions opensrp-path-zeir/src/main/res/anim/slide_down.xml

This file was deleted.

6 changes: 6 additions & 0 deletions opensrp-path-zeir/src/main/res/anim/slide_in.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<translate
xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@android:integer/config_mediumAnimTime"
android:fromXDelta="100%p"
android:toXDelta="0"/>
6 changes: 6 additions & 0 deletions opensrp-path-zeir/src/main/res/anim/slide_out.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<translate
xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@android:integer/config_mediumAnimTime"
android:fromXDelta="0"
android:toXDelta="100%p"/>
8 changes: 0 additions & 8 deletions opensrp-path-zeir/src/main/res/anim/slide_up.xml

This file was deleted.

0 comments on commit b463355

Please sign in to comment.