Skip to content

Releases: medic/cht-android

v1.1.0

29 Aug 03:51
948a455
Compare
Choose a tag to compare

This release includes the following work:

  1. Update target API to latest, which supports Android 13 (#324).
  2. Improve server selection usability when choosing an instance from the Settings Dialog (#314)

v1.0.4-5

15 Feb 16:21
Compare
Choose a tag to compare

First release for ICM Flourish (icm_flourish)

v1.0.4-4

13 Mar 08:14
Compare
Choose a tag to compare
Fix build error

v1.0.4-3

24 Nov 12:20
Compare
Choose a tag to compare
v1.0.4-3 Pre-release
Pre-release

Generating MOH MALI CHW Training APK based on CHT 4.0

v1.0.5-alpha.7

17 Aug 14:40
Compare
Choose a tag to compare
Update training app logo

1.0.4

01 Aug 10:14
43f0ada
Compare
Choose a tag to compare

Fix storage permissions for itech-malawi

v1.0.1

21 Jun 08:28
c4b195e
Compare
Choose a tag to compare

This release fixes two bugs:

  • Users unable to install two different apps or two different flavors #287.
  • A fix for an implicit internal intent vulnerability #282.

v1.0.0

25 May 16:14
5aa0a75
Compare
Choose a tag to compare

This release switches from Crosswalk to WebView (#169) which brings great benefits, such as:

  • Newer version of Chrome that has better performance, better security, more features and fewer bugs.
  • Drop Crosswalk library that has been unsupported since 2016.
  • Support for upcoming versions of CHT Core.
  • Smaller APK size. Before it was 27.3MB, now it is 381KB.

Upgrade steps

First, build and publish your cht-android brand using the v1.0.0 tag.

Then for each phone:

  1. Upgrade WebView to the latest available version in Google Play Store and enable automatic updates of this app by following the Google Documentation. This will ensure top performance when using CHT.
  2. Install your brand of cht-android 1.0.0.

Performance improvements

This is the performance test result that compares CHT Android v0.8.0 with the new CHT Android v1.0.0.

  • Device: Sony Xperia Z1
  • Android: 5.1.1
  • CHT Core: 3.15.0
Test v0.8.0 v1.0.0 Improvement
Initial load (fetching 1882 documents) 0:03:14 0:01:35 104%
Refreshing after initial replication 0:00:10 0:00:03 233%
Loading Contacts tab 0:00:17 0:00:12 42%
Loading Reports tab 0:00:23 0:00:21 9%
Loading a specific report (New Pregnancy) 0:00:04 0:00:02 100%
Track opening a form (New Pregnancy) 0:00:05 0:00:04 25%
Loading Tasks tab 0:00:02 0:00:01 100%

Breaking changes

  • [breaking] Drop support for Android 4.4 #169. Any devices still running Android 4.4 must be upgraded or replaced with newer devices prior to install. If in doubt, reach out on the forum and we can guide you through the process.
  • [breaking] Remove Simprints integration #230. This feature had already regressed so it's unlikely you're using it.

Improvements

  • [improvement] Check and handle when location permission is denied or granted #189. CHT Android is now aligned with best practices when requesting location permissions in Android.
  • [improvement] Request "Approximate" and "Precise" location since they are required in Android 12 #207. Users with Android 12 or higher can grant approximate or precise location when using the app.
  • [improvement] Replace deprecated ImagePicker #159. CHT Android is now using a native way to upload images in the forms.
  • [performance] Android app should navigate to root instead of the _rewrite path after webapp v3.5.x #94. The navigation after setting up the app has been simplified improving the initial load performance.
  • [feature] Make it clear when a training app is in use #258. Add a distinctive border and message when using the training app by following the instructions in our documentation.
  • [bug] Border not showing red for production URL in dev app #266. A distinctive red border is displayed when using the Medic (unbranded) flavor app in Medic hosted deployments.
  • [bug] Prominent disclosure when "handling users' Files" #148. CHT Android is now aligned with best practices when requesting storage permissions in Android, users can now approve the storage permission request.
  • [deprecation] Remove unbranded-test flavor #257. This test flavor was not in used anymore.
  • [deprecation] Remove the old menu and lock pin screen #253. These features weren't used anymore, the old menu was launched when pressing a hardware menu button that old phones used to have, manufactures removed this button 8+ years ago.

Development changes

  • [improvement] Upgrade to Android 12 #205. CHT Android is now up to date with the latest Android version.
  • [improvement] Migrate off of the unmaintained com.noveogroup.android:check plugin #242. The deprecated static check library was replaced with latest versions of Checkstyle, PMD and SpotBugs which ensures code quality.
  • [improvement] PMD Processing errors for files that are not .java #255. This improve the performance when running static checks in CHT Android.

v0.11.1

18 Mar 13:58
Compare
Choose a tag to compare

Add MUSO CDI flavour

v0.11.0

16 Dec 18:04
7b27787
Compare
Choose a tag to compare

Changes

  • [feature] Remember previous URL when reloading app #52.
  • [improvement] Allow users to set cht-core URLs with leading or trailing spaces (and trailing slash) on unbranded app #178.
  • [improvement] Update labels to use generic app name #128.

Development changes

  • [improvement] Deduplicate and improve development docs #214.
    • New Android section added to the CHT Documentation site with the cht-android documentation that was previously split between the README and various other sections of the CHT Documentation.
  • [improvement] Fix Makefile targets for keystore management #222.
  • [improvement] Upgrade Gradle, plugins and test dependencies #232.