...
In scenarios where users are not frequently exiting CommCare during form entry, this is unlikely to cause major issues other than requiring somewhat more frequent logins. However if users' workflows require them to exit CommCare during form entry to perform other tasks with large apps before returning to form entry on affected devices it can result in losing the form entry session unless a workaround is enabled (see below).
...
This feature is available as a part of an upcoming CommCare version 2.54.1
The Session Recovery feature will instruct CommCare to auto-save your form entry progress any time the app is dismissed from the foreground of the user’s attention, and checks whether a pending form was autosaved for recovery on startup. This allows users to pick up their form entry where they left off after login, even if CommCare was killed by the device OS in between. Please follow the below steps to enable the feature:
Enabling or Disabling this feature on a single device: To enable this feature on a specific device, you can activate the “Auto Save Form on Pause” setting
Enabling the feature for all users of an app:
An app builder can also configure this setting to be enabled for all users of a CommCare App by setting a Custom Property in the application’s Advanced Settings. After configuring this Custom Property, it will be included and deployed with any future App Updates for that app, as with the other Advanced Settings.
Navigate to the Advanced App Settings for your application |
Scroll to the bottom of the page to locate the Custom Properties section, and add a new property (contact Dimagi if you don’t see a Custom Properties section in your App’s Advanced Settings menu) |
Set the key for the custom property to cc-auto-form-save-on-pause and the value of the custom property to yes |
Don’t forget to Save the settings page after you’ve added the Custom Property, then and proceed to Build and Release the application to make it available to users |
Configuring the Custom Property
Use Device Features to Keep CommCare Open Preferentially
...