Commit Graph

3 Commits

Author SHA1 Message Date
caspar
d1b8c34fe1 Save downloads and camera photos to the device, prompt for permissions
All checks were successful
APK-BUILD/pipeline/head This commit looks good
- Downloads (https on allowed hosts, data: and blob: URLs) are saved to the
  Downloads folder, with a toast when they finish
- Image upload fields offer the camera; photos are kept in Pictures/Joykoo
- In-page camera (getUserMedia) is granted to allowed hosts only
- Camera and storage (Android 9 and below) permissions are requested at
  first launch and again on demand

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 13:51:51 -04:00
caspar
455f8498f7 Add kiosk lockdown, custom status strip, crash recovery and error screens
All checks were successful
APK-BUILD/pipeline/head This commit looks good
- Kiosk mode: scanning AppConfig.KIOSK_BARCODE toggles Android Lock Task
  mode (persisted). As device owner (KioskAdminReceiver) it is a full
  lockdown and the app becomes the persistent home screen; otherwise it
  falls back to screen pinning. "Salir" and Back-to-exit are disabled
  while kiosk mode is on.
- Status strip: app-drawn bar showing only Wi-Fi status and battery
  percentage; system bars stay hidden.
- Renderer crash: onRenderProcessGone replaces the WebView and reloads
  the last URL; repeated crashes show an error screen instead.
- Error screen: per-cause messages (no Wi-Fi with auto-retry on
  reconnect, server unreachable, 5xx, SSL) and an "Ir al inicio"
  button; 4xx pages are left to the site.
- Mixed content is never allowed.
- Admin volume-key hold reduced to 3 seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 14:37:25 -04:00
caspar
63909abf6d Initial commit. Basic app. 2026-09-28 15:41:55 -04:00