Releases: medic/cht-android
Releases · medic/cht-android
v1.1.0
v1.0.4-5
v1.0.4-4
v1.0.4-3
Generating MOH MALI CHW Training APK based on CHT 4.0
v1.0.5-alpha.7
Update training app logo
1.0.4
v1.0.1
v1.0.0
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:
- 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.
- 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
v0.11.0
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.
- New
- [improvement] Fix Makefile targets for keystore management #222.
- [improvement] Upgrade Gradle, plugins and test dependencies #232.