Skip to content

Releases: medic/cht-android

v1.0.5-alpha.7

17 Aug 14:40

Choose a tag to compare

Update training app logo

1.0.4

01 Aug 10:14
43f0ada

Choose a tag to compare

Fix storage permissions for itech-malawi

v1.0.1

21 Jun 08:28
c4b195e

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

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

Choose a tag to compare

Add MUSO CDI flavour

v0.11.0

16 Dec 18:04
7b27787

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.

v0.10.0

21 Sep 12:58
9c533c5

Choose a tag to compare

Changes

  • [feature] Add CHT External App Launcher #199 (:bookmark: cht-core v3.13).

Development changes

  • [improvement] Minor updates in the build system #209.

v0.9.0

16 Aug 17:51
d76e553

Choose a tag to compare

Changes

  • [feature] cht-core#6741 Add more info about the version of the Android app 🔖 cht-core v3.12.
  • [improvement] #195 New branding icon, and switch from "Medic Mobile" to "Medic".
  • [improvement] #164 Support Android 11.
  • [feature] #206 New branded app Alerte Niger.
  • [deprecation] Disable the Demo app in the releases and in the Play Store (demo.dev.medicmobile.org is unmaintained).

Development changes

  • Upgrade Java and build dependencies. Now the base version is Java 11.
  • Support new Android App Bundle (.aab) required by the Play Store for new apps (for now only the new app Alerte Niger uses it).
  • Add tooling to simplify the creation of new private keys for the Play Store.
  • Improvements in the linters configuration for better code quality.
  • Skip upload of APKs for webview-armeabi-v7a arch not used in releases.
  • Improvements in the Make config and more options available for developers using the CLI instead of the Android Studio.
  • Improve the development section in the README, and how to create new branded apps and private keys for signing.
  • Fix instrumentations tests (UI tests) to avoid random failures, and speed up executions in Github Actions using caches.
  • Fix Github Actions configuration to enable CI when the PR is created for an external contributor.

v0.8.0-5

01 Jul 07:45
83b8dd6

Choose a tag to compare

Updated Hostname for VHT App Uganda from moh-ug-uncdf.app.medicmobile.org to vhtapp.cphluganda.org as provided by MoH Uganda

v0.8.0-4

15 Jun 22:01
6da6e1c

Choose a tag to compare

Fix app name