Documentation

Go to Portal Website

Screen Mirroring Detection

PlanPlatformsMASVS
TeamAndroid, iOSMASVS-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:

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": [""]
  }
}
FieldPurpose
detectionEnables or disables screen mirroring detection.
actionSelects the response style, such as alert, close, log, or warn.
title / messageUser-facing text shown when a response is displayed.
buttons / actions / redirectsDefines the available response buttons and their outcomes.

Compatibility Notes