Task Switcher Content Protection
| Plan | Platforms | MASVS |
|---|---|---|
| Team | Android, iOS | MASVS-STORAGE-2, MASVS-PLATFORM-3 |
Overview
Task Switcher Content Protection helps prevent sensitive application content from being visible in the iOS App Switcher or Android Recent Apps screen. When enabled, the SDK automatically masks or suppresses task-switcher previews using the protection method best suited to the device platform.
This control is essential for banking, healthcare, enterprise, and any application handling confidential data that should not be visible when users switch between apps.
How It Works
When a protected app transitions away from the foreground, the SDK applies a temporary privacy layer or platform-supported preview suppression before the operating system presents the app in the task switcher.
On iOS, the App Switcher preview is masked while the app is inactive, then restored when the user returns to the app.
On Android, the Recent Apps preview is protected using the strongest supported operating-system behavior for that device. On devices without native preview suppression, the SDK substitutes a minimal privacy surface while the app is backgrounded.
Threats Mitigated
- Recent Apps Screen Leakage: Adversaries with physical device access (or shoulder-surfing) cannot view sensitive app content in the task switcher
- Recent-Apps Snapshot Leakage: The snapshot stored by the OS shows only the protected preview surface, not actual app data
- Screen Recording of Task Switcher: Any screen recordings that capture the recent apps screen will show the protected task-switcher surface, not the underlying content
Use Cases
- Banking apps displaying account balances, transactions, or personal information
- Healthcare apps showing patient records or medical data
- Enterprise apps with confidential business information
- Messaging apps with private conversations
- Password managers and authentication apps
Caveats
- iOS: Protection is timed around app focus changes and task-switcher preview capture. Very rapid system transitions may still create brief exposure windows.
- Android: Behavior varies by operating-system version. Newer devices may show a platform placeholder, while older devices may show a neutral privacy surface when the app is backgrounded.
- Task Switcher Only: This control protects task switcher previews and does not block foreground screenshots or screen recording. Use Android Screen Capture Protection for strict Android capture blocking, or the iOS screenshot and recording controls for protected iOS screens.
Support Matrix
| Platform | Minimum Version | Status |
|---|---|---|
| iOS | 12.0+ | ✅ Supported |
| Android | 8.0+ (API 26) | ✅ Supported |
Android behavior is selected automatically based on the device operating-system capabilities.
How to Enable the Control
Navigate to Preventative Controls from the AppTego portal, and expand the Screen And UI Protection section. Under this section you will find the Hide Task Switcher Content control. Click Enable to enable it for the next build or for it to be applied with a live push (if enabled).
API Configuration Example
{
"TaskSwitcherBlurPrevention": {
"protection": true,
"detection": false
}
}
protection: true— Enable task-switcher content protection (recommended)protection: false— No task-switcher protection applied; app content visible in task switcherdetection— Currently unused; included for future detection capabilities