Hi all,
I needed to understand something regarding released app versions and updates on CommCare (for android).
I have sampled some form JSON payload (in the repeater) and checked through the metadata to extract the app version used during the data collection, and I see different key-value pairs that all have app versions somewhere in the value. The issue however is that for some cases sampled, the app versions differ in the different key-value pairs. I am curious as to what could cause this.
Hereβs part of the extracted payload for your reference. The latest app version is 62, which you can see in the keys form.meta.app_build_version, and metadata.app_build_version. But you can also see version 20 in keys form.@version, form.meta.appVersion, metadata.appVersion, and at the bottom in version.
I could tell from the rest of the form data (not shared here) that there were some obsolete questions from an older version, and yet from this submission, the app seems to be updated for this user. Could it be that the data collector updated the app version but had a pending incomplete form from an older version which was re-opened after the update, completed, and finally sent? Or is it something else?
{
"form": {
"@uiVersion": "1",
"@version": "20",
"meta": {
"appVersion": "CommCare Android, version \"2.61.5\"(484347). App v20. CommCare Version 2.61.5. Build 484347, built on: 2026-02-16",
"app_build_version": 62,
"commcare_version": "2.61.5",
"drift": "0",
"geo_point": null,
"location": {
"@xmlns": "http://commcarehq.org/xforms"
},
"timeEnd": "2026-03-18T06:12:03.605000Z",
"timeStart": "2026-03-18T05:27:07.003000Z"
}
},
"id": "7b24929e-825c-4b81-bb8c-a97e1ef76ce1",
"indexed_on": "2026-03-18T21:52:08.163150Z",
"initial_processing_complete": true,
"is_phone_submission": true,
"metadata": {
"appVersion": "CommCare Android, version \"2.61.5\"(484347). App v20. CommCare Version 2.61.5. Build 484347, built on: 2026-02-16",
"app_build_version": 62,
"commcare_version": "2.61.5",
"drift": "0",
"geo_point": null,
"location": null,
"timeEnd": "2026-03-18T06:12:03.605000Z",
"timeStart": "2026-03-18T05:27:07.003000Z"
},
"problem": null,
"received_on": "2026-03-18T21:52:07.511588Z",
"resource_uri": "",
"server_modified_on": "2026-03-18T21:52:07.680927Z",
"type": "data",
"uiversion": "1",
"version": "20"
}