Screen Capture Detection
| Plan | Platforms | MASVS |
|---|---|---|
| Team | Android API 34+, iOS | MASVS-STORAGE-2, MASVS-PLATFORM-3 |
Overview
Screen Capture Detection identifies screenshot activity and applies your configured response. It is useful when you need telemetry, user warnings, or workflow restrictions after a screenshot attempt rather than only visual prevention.
This control is focused on screenshot detection. Use Screen Recording Detection or Screen Mirroring Detection for continuous capture and external display scenarios.
When To Use It
Use this control for:
- Compliance logging when users capture sensitive screens.
- Deterrent warnings for payment, healthcare, identity, or enterprise data.
- Insider-risk workflows where screenshot activity should be auditable.
- Apps that need business logic after capture events, such as session termination or support routing.
How It Works
The protected app listens for platform-supported screenshot signals and fires your configured response when a screenshot is detected. Android and iOS expose different screenshot signals, and support varies by OS version.
Public documentation does not publish exact callback names, permission details, or platform event mechanics.
How to Enable the Control
Navigate to Detection & Response from the AppTego portal, and expand the Screen And Input Detection section. Under this section you will find the Screen Capture Detection control. Click Enable Configuration, choose the response action, and save the configuration for the next build or for it to be applied with a live push (if enabled).
API Configuration Example
{
"ScreenCaptureDetectionResponse": {
"detection": true,
"action": "alert",
"title": "Screenshot Detected",
"message": "Screenshots are not permitted on this screen.",
"buttons": ["OK"],
"actions": ["close"],
"redirects": [""]
}
}
| Field | Purpose |
|---|---|
detection | Enables screenshot detection. |
action | Selects the response style, such as alert, close, log, or warn. |
title / message | User-facing text shown when a response is displayed. |
buttons / actions / redirects | Defines the available response buttons and their outcomes. |
Compatibility Notes
- Screenshot detection is inherently platform-dependent and may be reactive rather than preventive.
- Some OS versions or device manufacturers expose less reliable screenshot telemetry.
- For stronger Android visual privacy, pair this control with Android Screen Capture Protection. Screenshot Prevention is available for protected iOS screens.
- For screen recording or mirroring, use the related controls below.