Passer au contenu

@capgo/capacitor-privacy-screen

Ship native privacy protection for sensitive flows without custom platform code.

Protect account balances, private messages, onboarding flows, and other sensitive screens from system previews.

Android screenshot blocking

Uses FLAG_SECURE to hide your app from screenshots, recordings, and the recent apps preview.

iOS app switcher protection

Adds a native overlay before your app backgrounds so the app switcher snapshot stays obscured.

Simple runtime control

Call enable(), disable(), and isEnabled() from JavaScript when you need to relax or restore protection.

Secure by default

Protection is enabled automatically when the native plugin loads, so most apps work without startup code.

Follow the getting started guide first, then review the platform pages for iOS and Android behavior details.