cd /news/ai-agents/building-a-hardened-android-kotlin-i… · home › topics › ai-agents › article
[ARTICLE · art-180458] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Building a Hardened Android (Kotlin) + iOS (SwiftUI) CBZ/PDF/OPDS Reader & a 20-Agent AI QA Fleet

A developer built PanelVerse, a dual-native Android (Kotlin/Material 3) and iOS (SwiftUI) comic, manga and PDF reader for indie publishers and self-hosted Komga, Kavita and Calibre libraries, with hardened CBZ/PDF import, a native OPDS 1.2 Atom browser and store-compliance flows. The project bundles mobile-agent-testers, a 20-agent AI QA fleet that runs device × locale × persona combinations via Maestro and a Gemini vision backend, deduplicates bugs across devices and outputs markdown, JSON and an interactive HTML dashboard. The full Android and iOS source, QA suite and setup guide are being sold as a boilerplate package.

recommendation

Fan out mobile QA agents across device, locale and persona combinations with Maestro and a vision backend, then deduplicate identical failures across devices into one severity-ranked report.

more in playbook: Evals and testing for LLM apps
by read2 min views11 publishedDec 2, 2026

Most mobile comic and PDF reader templates cut corners: sluggish WebView wrappers, zero archive validation, hardcoded Firebase configs, and missing store-compliance flows (Age Gate, consent timestamps, in-app account deletion).

I built PanelVerse to solve that — a dual-native Android (Kotlin / Material 3) and iOS (SwiftUI / iOS 16+) comic, manga, and PDF reader designed for indie publishers and self-hosted Komga / Kavita / Calibre libraries.

Here are the four engineering decisions that mattered most:

Accepting local .cbz and .pdf files up to 250 MB means treating every archive as hostile input:

../), absolute paths, or backslashes before extraction. inJustDecodeBounds = true), verify actual MIME type ( image/jpeg, image/png, image/webp), and cap total pixels at %PDF- magic bytes and page-count bounds via Android SDK PdfRenderer before saving to app-private storage. Instead of relying on fragile web scrapers, PanelVerse includes a native OPDS 1.2 Atom browser so users can connect their own self-hosted Komga, Kavita, or Calibre servers:

disallow-doctype-decl, external-general-entities, external-parameter-entities) to block XXE. followSslRedirects(false)), with a strict 2 MB XML response cap..cbz and .pdf acquisitions straight through the same validated offline import pipeline. Google Play and Apple App Store reviews fail apps quickly when privacy or security is an afterthought:

database.rules.json verified by an automated emulator test suite + FLAG_DEBUGGABLE and attached debuggers in release builds, plus optional XOR-masked SHA-256 release signing certificate pinning configured via gradle.properties. Manually testing RTL layouts, long-text German/Swedish/Finnish compound words, and 1.4x accessibility font scales across 10+ devices takes days.

So I built and bundled mobile-agent-testers right inside tools/mobile-agent-testers/:

(device × locale × persona) agentsBLOCKER / MAJOR / MINOR), deduplicates identical bugs across devices, and outputs report.md, report.json, and a single-file interactive dashboard.html.

cd tools/mobile-agent-testers && ./setup.sh
mobile-agent-testers plan -c panelverse.yaml -n 20
mobile-agent-testers run -c panelverse.yaml -n 4 \
  --devices iphone-se,pixel-8 --locales sv-SE,ar-SA \
  --backend gemini --driver maestro

If you're building an indie comic publisher app, self-hosted OPDS reader, or white-label PDF/manga reader and want to skip months of native boilerplate and security work, the complete Android + iOS source code (plus the 20-agent AI QA suite and 10-minute BUYER_SETUP.md) is live here:

Happy to answer any questions about Android PdfRenderer, OPDS 1.2 parsing, Firebase App Check, or running Maestro + vision agents on GitHub Actions!

── more in #ai-agents 4 stories · sorted by recency
── more on @panelverse 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/building-a-hardened-…] indexed:0 read:2min 2026-12-02 · —