Screen Mirroring Detection
| Plan | Platforms | MASVS |
|---|---|---|
| Team | Android, iOS | MASVS-STORAGE-2, MASVS-PLATFORM-3 |
Overview
Screen Mirroring Detection identifies when protected app content may be displayed on an external screen through casting, mirroring, wired display output, or similar platform features. It helps reduce accidental or intentional exposure of credentials, account data, health information, financial data, identity documents, or confidential enterprise content.
When mirroring is detected, AppTego applies your configured response. Teams commonly log during rollout, then warn or block sensitive workflows where external display exposure is unacceptable.
When To Use It
Use this control for:
- Banking, wallet, brokerage, lending, or payment screens.
- Healthcare, identity, government, education, or enterprise data views.
- Apps used in shared offices, classrooms, clinics, call centers, or public spaces.
- Workflows where screen sharing or external display capture would violate policy.
How It Works
The protected app listens for platform-level signals that indicate external display capture or mirroring. On iOS, this includes system capture and display state signals. On Android, this includes display and casting state signals. AppTego combines these signals into a detection decision and fires your configured response when mirroring appears active.
Exact signal combinations and thresholds are not published in public documentation because platform behavior varies by device, OS version, and OEM.
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 Mirroring 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
{
"ScreenMirroringDetectionResponse": {
"detection": true,
"action": "alert",
"title": "Screen Mirroring Detected",
"message": "Please disconnect external displays or screen sharing before continuing.",
"buttons": ["OK"],
"actions": ["close"],
"redirects": [""]
}
}
| Field | Purpose |
|---|---|
detection | Enables or disables screen mirroring 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
- Docks, adapters, conference-room displays, and some vehicle or kiosk systems can trigger detection even when the user has a legitimate reason to use an external display.
- iOS and Android expose screen capture and mirroring signals differently, so behavior can vary across platform versions and device manufacturers.
- Screen mirroring detection is not the same as screenshot or screen recording prevention. Use the related controls below for broader coverage.
- For high-risk screens, combine detection with user messaging that explains how to continue safely.