--- title: "Capture and recording prevention" slug: "vpe-capture-prevention" updated: 2026-09-17T09:22:39Z published: 2026-09-17T09:22:39Z canonical: "guide.ncloud-docs.com/vpe-capture-prevention" 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. # Capture and recording prevention Available in Classic and VPC This page provides instructions for setting up player capture and recording prevention. Caution This feature only works on physical devices. It does not work on simulators. Note This applies to both Android and iOS. ## screenRecordingPrevention Use this to prevent screen capture or recording. On iOS, captured content appears as a black screen. On Android, capture is prevented along with an "Unable to capture" toast message. ``` const playerRef = useRef(null); return ( ) ``` ## app.json configuration Use this to prevent screen captures. ``` { "expo": { "plugins": [ [ "react-native-capture-protection", { "captureType": "fullMediaCapture" } ], ], }, } } ``` Caution You may need to run prebuild or pod install depending on the situation.