pkb_secure_snapshot

Secure recent-app snapshots on Android and react to iOS screenshot/recording events.

  • Android: Uses FLAG_SECURE. Choose:
    • strictAllTime: blocks screenshots/recording & masks recents
    • onlyWhenBackground: masks recents on background (Android 8.0+) but allows screenshots while app is active
  • iOS: Cannot block screenshots. Provides events to react (screenshot, recording) and optional overlay masking.

Installation

dependencies:
  pkb_secure_snapshot: ^0.1.0