Langsung ke konten

iOS Behavior

Konten ini belum tersedia dalam bahasa Anda.

On iOS, the plugin adds a temporary native overlay while the app resigns active. That overlay is what appears in the app switcher snapshot instead of your real interface.

This means the plugin protects:

  • the app switcher preview
  • the snapshot iOS keeps when your app moves to the background

iOS does not offer the same screenshot blocking API as Android. The plugin cannot prevent a user from taking a screenshot while actively using the app.

If you need stronger policy controls on iOS, combine this plugin with app-level choices such as:

  • masking especially sensitive UI before presenting it
  • minimizing sensitive data retention on screen
  • clearing temporary values when the app backgrounds

No extra iOS configuration is required after installation and cap sync.

import { PrivacyScreen } from '@capgo/capacitor-privacy-screen';
await PrivacyScreen.enable();

For most apps, even this explicit call is optional because the plugin starts enabled by default.