Documentation

Technical documentation for the PestControlOS CRM and Android app.

Architecture, security, Firestore model, and feature details for developers and technical reviewers.

Android: Action Forms

Technical specification for password-protected Action Form PDFs in the PestControlOS Android app.

Generation

  • Library: iText. Password-protected Action Form PDFs with owner-password protection (editing restricted; viewing/printing allowed).
  • Compression: All Action Form PDFs written with full compression (smaller file size).
  • Optional password: Checkbox to enable; when enabled, dialog prompts for owner password (required to edit PDF). Encryption applied on generation.

Optional content

  • Signatures: Optional technician and customer signatures. Signature capture screen returns PNG URIs; embedded in PDF.
  • Images: Optional attachment of images to the PDF. Image URIs passed to generator; embedded in document.

Flow

  • User fills Action Form fields; optionally enables password, adds signatures, attaches images. On save, generator creates PDF with compression and (if enabled) encryption, then offers View/Share/Upload (when logged in). Same storage model as other reports (local and/or Firebase Storage).