Skip to content

Releases: dhis2/dhis2-android-sdk

Release 1.1.1

12 Jun 10:14
4a268ad
Compare
Choose a tag to compare

Bugfixing:

Release 1.1.0

27 Apr 08:42
738b1dd
Compare
Choose a tag to compare

New features:

  • Database encryption (ANDROSDK-3)
  • Download and consume parameters from Android Settings App (ANDROSDK-1078)
  • Event notes (ANDROSDK-187)
  • User assignment: add "assignedUser" to Events; add "enableUserAssignment" to ProgramStages (ANDROSDK-1042); add "assignedUserMode" to TEI search (ANDROSDK-1050)
  • Add "geometry" property in OrganisationUnit (ANDROSDK-1045)
  • Add "orderBySortOder" in options (ANDROSDK-1053)
  • Add DataSetInstanceSummary to get aggregated data (specially adapted to home screen)
  • Add OrderBy clauses in Event, Enrollment and TrackedEntityInstance (ANDROSDK-1082)
  • Helper method to get summary of reserved values (ANDROSDK-1075)
  • Helper method to create period from a periodId (ANDROSDK-1104)
  • Option repository performance (ANDROSDK-1123)

Minor breaking changes:

  • DatabaseAdapter: method "query" renamed to "rawQuery". Some method remove unused arguments.
  • SQLiteDatabase: use new methods "query", "insert" and "update" in DatabaseAdapter instead of those in SQLiteDatabase.

See full list at DHIS2 JIRA.

Release 1.0.3

13 Apr 10:11
692adde
Compare
Choose a tag to compare

Bugfix:

Release 1.0.2

05 Mar 21:01
d002d11
Compare
Choose a tag to compare

Bugfix:

  • Deleted datavalues are not propagated to the sdk (ANDROSDK-1105)

Release 1.0.1

05 Mar 08:43
6b9568f
Compare
Choose a tag to compare

Bugfix:

  • Login offline fails when using trailing slash in server url (ANDROSDK-1052)
  • Create period in database if it does not exist (ANDROSDK-1067), missing period types (ANDROSDK-1079)
  • Remove program and dataset not assigned to user orgunits (ANDROSDK-1051)
  • Revert UPLOADING status when TEIs upload fails (ANDROSDK-1072)
  • Submit dataset completion status by SMS (ANDROSDK-1080)
  • Add QR_CODE and BAR_CODE rendering types
  • React to uncompletions of dataset in the server (ANDROSDK-992)
  • Attributes in ProgramSection not included in 2.33 (ANDROSDK-1089)
  • Allow overwrite deleted TEIs if requested (ANDROSDK-1092)

Release 1.0.0

09 Dec 17:23
5e86580
Compare
Choose a tag to compare

DHIS2 Android SDK is a library that abstracts the complexity of interacting with DHIS2 web api. It aims to be an starting point to build Android apps for DHIS2, covering some tasks that any Android app should implement, like metadata and data synchronization.

Main goals:

  • Abstract DHIS2 web api. There is no need to perform api queries against the server. The SDK includes methods to interact with the web api.
  • Work offline. It implements a simplified version of DHIS2 model that is persisted in a local database (SQLite). It ensures that all the metadata required to perform data entry tasks is available at any time to build the data entry forms. Data is saved locally and upload to the server when connectivity is available.
  • Ensure DHIS2 compatibility. It encapsulates the changes between DHIS2 versions so the app does not have to care about them. In case the SDK introduces some changes to accommodate a new DHIS2 version, the app can safely detect these changes at compile-time.

Release 0.17.5

14 Nov 13:54
056d6e3
Compare
Choose a tag to compare

New features:

  • Data approvals download (ANDROSDK-28), repository (ANDROSDK-858)
  • Add isEmpty method in collection repository (ANDROSDK-890)
  • Add "trackedEntityType" filter in TEI search (ANDROSDK-899)
  • Add "complete" and "completionDate" in dataSetInstance (ANDROSDK-884)
  • Add "SSL_ERROR": it can be thrown as a result of login to invalid https server (ANDROSDK-854)
  • Image value type support in TrackedEntityDataValue and TrackedEntityAttributeValue (ANDROSDK-33)

Changes in D2:

  • GeoJson support for tracker data; remove "captureCoordinates" property (ANDROSDK-881, ANDROSDK-914)
  • Blocking and reactive version of repository methods (ANDROSDK-632)
  • Upload calls return observable (ANDROSDK-886)
  • Download methods return observable (ANDROSDK-887)
  • Reserved value manager: returns observable (ANDROSDK-891), changes in method signature (ANDROSDK-905)
  • Move metadata download: from d2.syncMetadata() to d2.metadataModule.download() (ANDROSDK-900)
  • RelationshipType model to 2.32: new properties bidirecctional, access, fromToName, toFromName. Remove aIsToB and bIsToA (ANDROSDK-883).
  • Fields in Program: add accessLevel, remove relationshipFromA, relationshipText and relaitonshipType (ANDROSDK-439)
  • Remove TO_DELETE from State enum. Use "deleted" field instead. New state "UPLOADING" (ANDROSDK-921)

Bugfix:

Release 0.17.4

27 Sep 10:21
398ed67
Compare
Choose a tag to compare

Bugfix:

  • Include ouMode DESCENDANTS in event download (ANDROSDK-946)

Release 0.17.3

27 Aug 10:10
973b227
Compare
Choose a tag to compare

New features:

  • Paging in TrackedEntityInstance upload (size 10) (ANDROSDK-920)

Release 0.17.2

22 Jul 09:57
5eba67d
Compare
Choose a tag to compare

Bugfix:

  • Program indicator engine: division by zero in Attributes and Counts (ANDROSDK-895)
  • Persist orgunits page by page; improve indexes (ANDROSDK-898)