Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Migration Guide

Steps to migrate from HCM v2.0 to v2.1

HCM Upgrade Guide

1

Latest Health Campaign Configurations

  • Open the health-campaign-config repository.

  • Check out the DEMO branch.

  • latest HCM-v2.1 release configs changes 🔗 HCM v2.1 Config Changes

2

Latest DevOps Changes

  • Go to the health-campaign-devops repository.

  • Check out the release-github-actions branch.

  • latest HCM-v2.1 release devops changes

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 v2.1.

    • 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

APK Upgrade Guide

Below are the steps to upgrade from v2.0 → v2.1.

1

Upgrade app version

The app version has been bumped: version: 2.0. → version: 2.1

2

How to Apply These Updates

Step 1 — Update dependencies

Run:

flutter pub upgrade

👉 This updates all packages to the latest versions that match your pubspec.yaml.

Step 2 — Clean project (to avoid old cached versions)

flutter clean

flutter pub get

Step 3 — Verify updates

Run:

flutter pub outdated
3

Package Version Bumps

Package
Old version (2.0.0)
New version (2.1.0)

digit_ui_components

^0.3.0

^0.3.2

sync_service

^1.0.3

^1.0.6

attendance_management

^1.0.6

^1.0.6+2

digit_scanner

^1.0.7

^1.1.0

digit_data_model

^1.3.0

^1.5.1

digit_dss

^1.0.5

^1.0.5+2

survey_form

^1.0.4

^1.0.5

digit_flow_builder

^1.0.0

^0.2.1

digit_showcase

^1.0.2+1

^1.0.3+1

digit_location_tracker

^1.0.0

^1.0.0+1

digit_formula_parser

^1.2.0

^1.2.1

transit_post

^1.0.0

^1.0.2

New Packages Introduced in 2.1.0

Package
Version

digit_face_verification

^0.0.2

digit_crud_bloc

^0.1.1

digit_data_converter

^0.0.4

digit_forms_engine

^0.1.2

Notes

  • Verify the digit_flow_builder version — the 2.0.0 migration guide lists ^1.0.0, but the local package pubspec.yaml is 0.2.1. If the 2.0.0 entry was a typo, drop digit_flow_builder from the bump table and list it under New Packages instead.

  • digit_crud_bloc, digit_data_converter, and digit_forms_engine were renamed/repackaged from earlier internal packages (e.g. global_bloc) during 2.1.0 dev. Depending on release-note framing, they can be described as "renamed" rather than brand-new.

  • Versions above come from each package's own pubspec.yaml. The app's apps/health_campaign_field_worker_app/pubspec.yaml still pins some older constraints (e.g. digit_data_model: ^1.5.0, survey_form: ^1.0.3) — bump those before publishing.

Last updated

Was this helpful?