Mobile applications

Preserve unfinished work when a mobile app is interrupted

Preserve mobile task progress through interruptions with deliberate draft lifetimes, account boundaries, fresh data checks, and recovery tests.

A mobile user may switch to a message, lock the phone, rotate the device, or return hours later. The app should have a deliberate answer to what remains where they left it. State restoration is the work of preserving enough context and unfinished input to make that return understandable, while refreshing information that can no longer be trusted.

Begin with the user’s task rather than a list of technical storage mechanisms. Decide what should survive each interruption, what can be recreated, and what must be checked again. The correct answer is not always to restore every pixel. It is to preserve meaningful progress without presenting stale or unauthorized information as current.

Inventory the state behind the screen

Separate navigation position, user-entered draft content, selected filters, loaded records, and server-confirmed results. These categories have different lifetimes and sources of truth. A search query may be easy to preserve, while a shared record’s current status should be refreshed before a consequential action.

Android’s state-saving guidance notes that the system can destroy the activity or application process hosting the interface. Save UI states. This makes state preservation more than a response to a user deliberately closing the app. The product must account for interruptions that do not look like an explicit decision to abandon work.

For each task, identify the minimum state needed to resume usefully. A long form may need its draft values and current step, while a read-only list may need the query and selected item rather than the entire rendered screen. Keeping the purpose clear helps avoid both unnecessary persistence and frustrating loss of progress.

Define behavior for different return paths

Distinguish a brief app switch, a device lock, a configuration change, a process restart, and a fresh launch after a long interval. Users may expect continuity in all of them, but the application may need different checks. Document the intended behavior rather than allowing it to emerge accidentally from the framework’s defaults.

Consider how the user returns. Opening the app icon differs from following a new deep link or notification. The new intent may conflict with an unfinished task. Decide whether to preserve the draft in the background, ask a necessary question, or open the new destination with a clear route back.

Test account changes separately. State belonging to one account should not appear under another merely because it was saved locally. The restoration plan needs an account boundary and a cleanup or isolation strategy. A convenient return experience must not mix private records or unfinished work between users.

Preserve drafts without mislabeling completion

Save user-entered work at points appropriate to the task and explain the resulting state. “Draft saved” should mean that the app can recover the relevant content, not merely that it exists in memory on the current screen. Be precise about whether the draft is local or available across devices if that distinction matters.

Do not treat a restored draft as a submitted record. The user may have left before reviewing the final details, and conditions may have changed while they were away. Resume at an understandable point and make any remaining action clear. A restored submit button should not imply that earlier validations remain valid indefinitely.

Handle partial drafts honestly. Some information, such as a temporary file selection, may no longer be accessible after return. Preserve what can be retained safely and identify what needs to be supplied again. Avoid clearing the entire task because one component could not be restored.

Refresh shared information before relying on it

A restored screen may display a record that changed elsewhere. Decide when to refresh and how to communicate the update without erasing the user’s local edits. Read-only content can often update directly, while an edited form may require a comparison or conflict route. The behavior should follow the meaning of the data.

Check access again where required. A user who could view a record yesterday may no longer have permission. Do not assume that a saved navigation route establishes current authorization. If access is unavailable, provide an understandable explanation and a safe destination without revealing restricted content from a stale local view.

For consequential actions, revalidate relevant conditions before completion. A restored reservation form may refer to an unavailable slot, and a pending approval may already be resolved. The app should explain the current state and preserve useful input where possible. Silent failure or an outdated success message undermines the purpose of restoration.

Keep focus and orientation meaningful

When returning to a form or detail view, restore a sensible position. Users should be able to recognize the task and continue without searching from the beginning. Preserve scroll and focus where appropriate, but avoid reopening the keyboard or moving focus in a way that obscures new information requiring attention.

Review the experience with assistive technology. A visual match to the previous screen does not guarantee that a screen reader user returns to a meaningful control. The restored context should be discoverable and the next action operable. Test both the short interruption and the reconstructed screen after process loss.

If the app cannot restore the exact location, explain or provide a clear route to the saved work. A draft list with recognizable titles may be better than a confusing partial recreation. The goal is continuity of the task, not an exact visual illusion that hides missing state.

Handle work already sent to a service

A network operation can complete while the app is interrupted, or its confirmation can be lost before the interface records success. On return, determine the actual state before encouraging the user to repeat a consequential action. The system should distinguish pending, completed, failed, and unknown outcomes where relevant.

Use appropriate identifiers and verification routes to avoid duplicates. If the user submitted a request before switching apps, the restored screen should not blindly offer the same action as though nothing happened. A status check or an existing record reference may be needed to establish what the service accepted.

Explain uncertainty when it cannot be resolved immediately. “Checking whether your request was received” is more accurate than declaring failure solely because the response was not stored. Provide a bounded recovery route and preserve the original task information. The user should not have to infer system state from an endless spinner.

Test interruptions at meaningful points

Create scenarios that interrupt before entry, during editing, during submission, and after completion but before the confirmation is viewed. Include configuration changes and process recreation through supported testing methods. These points expose different risks and should not be represented by one generic “resume app” check.

Use realistic data and verify the final stored result. A restored form can look correct while losing a hidden field or attachment reference. Compare the recovered draft and any server record with the expected outcome. Include an account switch and a changed remote record where those situations are supported.

Record which state survives each scenario and whether the user understands it. A test can pass technically because values remain present while still failing the interaction because the app offers no indication that work was saved. Review persistence and communication together, with the relevant device and platform versions noted.

Maintain restoration rules as features evolve

When adding a field, step, or asynchronous action, decide its lifetime explicitly. Does it belong to a draft, a navigation state, or a server record? How does it behave after cancellation or sign-out? These questions prevent new features from relying on assumptions that were only valid for the original simple flow.

Keep representative restoration scenarios in release verification. A framework upgrade or navigation change can affect behavior without changing the visible design. Recheck critical tasks after such changes, and preserve known failure cases as regression examples. Avoid treating a one-time successful test as a permanent property of the app.

For example, a user preparing a report may switch apps to copy a reference. On return, the draft, selected section, and relevant input should remain, while shared record status can refresh separately. Connect this planning to offline experience and error recovery. Good restoration respects the work already done and makes the remaining task clear.