This checklist covers the Android device and emulator checks that complement the automated web, SQLite, EPUB, and Android startup tests. Record the device, Android version, app commit, and date with every run. The checklist deliberately avoids treating a passing build as proof of accessibility or network isolation.
Run these from a clean checkout before the device pass:
npm ci
npm run verify
npm run android:debug
npm run android:smokenpm run verify runs the same web quality gates used by pull-request CI. android:smoke installs the debug APK as app.turnleaf.reader.debug, starts its main activity, and verifies that the application process stays alive. The .debug application ID lets contributors test alongside a signed production install without replacing it. The CI emulator job runs the same script on an API 29 default x86 Nexus 5 image.
Use a physical Android device when possible; otherwise use the CI emulator image. Enable TalkBack and large display/text settings before opening the app.
- From onboarding, move through every field and action with TalkBack swipe navigation. Each control must have a useful spoken label, and focus must remain visible after opening or closing a panel.
- In the library, open settings, the book actions menu, and the conflict dialog. Confirm that focus enters the dialog, stays inside while tabbing or swiping, closes with Back/Escape, and returns to the opener after filtering or deleting a book.
- In the reader, use the Contents, Text, Marks, Notes, and Sync controls. Confirm that each toggle announces its expanded state and that the panel title is announced once. Verify that the page controls remain available without relying on the three tap zones.
- Set text and display size to 200% and rotate between portrait and landscape. Essential labels, progress, dialogs, and close controls must remain reachable without horizontal clipping or overlap.
- Test light, dark, and e-ink themes with keyboard focus and TalkBack. Selected modes must have a state cue in addition to color, and all primary controls must remain at least 44 CSS pixels (the app uses 48px compact targets for these controls).
- Select a passage in an EPUB, save a local note, navigate to its highlight, edit it, export Markdown, close the reader, and reopen it. TalkBack must be able to reach the note form and saved annotation actions.
Record any failure with a screenshot, the spoken label, the focused element, and the exact reproduction path. A passing automated test suite does not replace this step.
Use a test server that can return a redirect, an HTTPS-to-HTTP downgrade, malformed JSON, an HTML error body, and a valid EPUB containing remote image/CSS/navigation references.
- Configure the server URL and confirm that the normal API, cover, download, and progress requests include the auth header only on the intended Kavita origin.
- Return a cross-origin redirect and an HTTPS downgrade from each authenticated endpoint. The browser client, native client, and cover loader must fail the request without sending the auth header to the redirected origin.
- Open the hostile EPUB fixture and capture WebView requests. No script, form submission, remote stylesheet, remote image, SVG resource, media poster, or external navigation may execute or receive the auth key. Internal chapter, fragment, and local stylesheet links must continue to work.
- Interrupt an EPUB download and verify that the partial file is not advertised as available. Reopen the app offline and confirm that a previously completed EPUB remains readable.
- Connect the Android device to a LAN-only Wi-Fi network without WAN access (where Android reports Wi-Fi without validated internet) hosting Kavita. Confirm that onboarding, catalog refresh, cover caching, EPUB download, API key update, and reading progress sync succeed without false offline warnings.
- Connect the Android device over a private VPN (such as WireGuard or Tailscale) to a private Kavita address, including split-tunnel or unvalidated VPN configurations. Confirm that catalog refresh, cover caching, EPUB download, and progress sync succeed, and that disconnecting the VPN or moving to mobile data where Kavita is unreachable shows the saved library after one failed refresh and pauses background cover and sync requests. Verify that switching transports (
wifi↔cellularor reconnecting fromnone), flippingvalidated(true↔false, such as moving from public Wi-Fi to unvalidated LAN Wi-Fi or connecting an unvalidated VPN), or leaving Turnleaf to connect a VPN or Wi-Fi network in another app and resuming Turnleaf (appStateChange) automatically refreshes the catalog and syncs queued progress. When toggling a split-tunnel or already-validated VPN directly from the Android Quick Settings shade without leaving Turnleaf, neither@capacitor/networknorappStateChangefires; confirm that tapping Refresh library or Retry sync (or backgrounding and resuming the app) recovers reachability and syncs progress. - Disable all device radios (airplane mode with Wi-Fi and mobile data off) and verify that opening Turnleaf, reading a downloaded book, and restarting the app send zero requests and disable refresh, sync, and download controls.
For Android, capture the WebView request log or a proxy trace with the test server origin and destination redacted only after verifying that no credentials appear. Store the result with the release candidate’s validation record.
Use this small record in the release checklist or PR description:
| Field | Value |
|---|---|
| Commit / version | |
| Device or emulator image | |
| Android version | |
| TalkBack version and settings | |
| Automated checks | pass / fail |
| Accessibility pass | pass / fail / blocked |
| Network isolation pass | pass / fail / blocked |
| Defects / follow-up |