--- title: "Prevent screen capture and recording" slug: "vpe-rn-capture-protection" updated: 2026-09-17T09:22:36Z published: 2026-09-17T09:22:36Z canonical: "guide.ncloud-docs.com/vpe-rn-capture-protection" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Prevent screen capture and recording Available in Classic and VPC This section explains how to configure the player to prevent screen capture and recording. Supported platforms: `Android` `iOS` Note This feature only works on physical devices. (Simulator not supported) ## screenRecordingPrevention To prevent screen capture or recording, you must configure the `screenRecordingPrevention` option. - On iOS, captured results are processed as a black screen. - On Android, screen capture is blocked and the "Couldn't capture screen." toast message is displayed. ``` const playerRef = useRef(null); return ( ); ``` ## app.json configuration You need to add a configuration to prevent screen capture and recording. ``` { "expo": { "plugins": [ [ "react-native-capture-protection", { "captureType": "fullMediaCapture" } ] ] } } ``` Note Depending on the situation, either `prebuild` or `pod install` is required.