Migration Guide

Steps to migrate from HCM v1.8 to v2.0

HCM Upgrade Guide

1

Latest Health Campaign Configurations

2

Latest DevOps Changes

  • Go to the health-campaign-devops repository.

  • Check out the release-github-actions branch.

  • latest HCM-v2.0 release devops changes

πŸ”—HCM-v2.0 release devops changesarrow-up-right

3

Update Seed Data & Localisation

  • Seed Data Update

    • Use the updated seed data dump provided here: πŸ”— Seed Data File

    • Import this dump into the environment. This will replace/upgrade the existing seed data with the updated version needed for HCM v1.8.

    • No manual picking of changes from the document is required.

  • Localization Update

    • The reference document lists the updated translations/localization changes: πŸ”— Reference Document

    • Use the finalized localization files (JSON/CSV) that are shared along with the migration package. These files should be applied directly to update the localization.

4

Latest Project Builds

all the latest build for HCM-v2.0 release

πŸ”— HCM-v2.0 latest buildsarrow-up-right

APK Upgrade Guide

Below are the steps to upgrade from v1.7.0 β†’ v0.2.0.

1

Upgrade app version

The app version has been bumped: version: 0.2.0 β†’ version: 2.0.0

2

How to Apply These Updates

Step 1 β€” Update dependencies

Run:

flutter pub upgrade
circle-info

πŸ‘‰ This updates all packages to the latest versions that match your pubspec.yamarrow-up-rightl.

Step 2 β€” Clean project (to avoid old cached versions)

flutter clean

flutter pub get

Step 3 β€” Verify updates

Run:

flutter pub outdated
circle-info

πŸ‘‰ This shows you if any dependencies are still behind the latest release.

3

Summary

  • App version bumped: 0.2.0 β†’ 2.0.0

To update locally:

flutter pub upgrade
flutter clean
flutter pub get
flutter pub outdated
Package
Old version
New version

digit_ui_components

^0.2.2+4

^0.3.0

sync_service

^1.0.2

^1.0.3

attendance_management

^1.0.5+1

^1.0.6

digit_scanner

^1.0.6+4

^1.0.7

digit_data_model

^1.2.0-dev.2-console

^1.3.0

digit_dss

^1.0.4+2

^1.0.5

survey_form

^1.0.3

^1.0.4

circle-info

The following new packages were introduced in 2.0.0:

Package
Version

digit_flow_builder

^1.0.0

Last updated

Was this helpful?