---
id: OV-C10-EDGE-006
title: "Cache clear or uninstall permanently deletes local unsynced data"
product: mobile
module: offline-visitation
type: recovery
priority: P1
risk: high
status: draft
automationStatus: planned
sourceRefs:
  tsd: PK144
  tsdSection: C10
  tsdScenario: C10.3
  prd: PK144
  jira: null
automationRef: null
lifecycleStatus: active
lifecycleReason: "AI-generated draft from PK144 TSD C10.3; pending QA review."
lastReviewedAt: null
reviewedBy: null
supersededBy: null
duplicateOf: null
blockedBy: null
preconditionRefs:
  - PRE-OV-gagal-kirim-has-items
tags:
  - mobile
  - offline-visitation
  - perlu-dikirim
  - download-center
  - edge-case
  - pk144
  - staging
---
## Objective
Verify the data-loss warning and behavior for cache clear / uninstall, plus reinstall recovery.

## Preconditions
- See [[PRE-OV-gagal-kirim-has-items]]
- And downloaded bundles and in-progress drafts exist

## Steps
1. Read the Gagal Kirim warning
2. Clear app cache (OS-level)
3. Uninstall, then reinstall and log in

## Expected Result
- Then the Gagal Kirim page displays the warning that clearing cache OR uninstalling permanently deletes all queued submissions
- And clearing cache permanently removes all downloaded bundles, all in-progress drafts (Aktivitas reset), and all Gagal Kirim queue items
- And uninstalling causes the same data loss, with NONE restored on reinstall, and the app does not interfere with OS-level flows
- And on reinstall the employee must re-authenticate, backend-side data syncs back (channel list, journey plan, history), and only locally-captured unsynced data is permanently lost

## Source Traceability
- TSD: PK144
- Section: C10 - Cross-cutting Edge Cases & Failure Recovery
- Scenario: C10.3 - Cache clear & uninstall: data loss expected
- Acceptance Criteria: E11.US-3 AC1–AC4

## Evidence Required
- Before/after storage state for cache clear and uninstall/reinstall.

## Notes / Gaps
- Bundle-only counterpart is OV-C1-EDGE-021; this case covers the full queue + drafts.
