diff --git a/mobile/App.tsx b/mobile/App.tsx index 5d5976a..4a2ebd2 100644 --- a/mobile/App.tsx +++ b/mobile/App.tsx @@ -138,7 +138,12 @@ export default function App() { }, []); // FLAG_SECURE — blocks screenshots and hides app preview from app switcher. + // TEMP 2026-06-02: wyłączone żeby umożliwić debug na emulatorze (screencap + + // playback verification — FLAG_SECURE czyni screenshoty czarnymi). Jan jest na + // razie jedynym userem. PRZYWRÓCIĆ `true` przed szerszą dystrybucją. + const SCREEN_CAPTURE_PROTECTION = false; useEffect(() => { + if (!SCREEN_CAPTURE_PROTECTION) return; ScreenCapture.preventScreenCaptureAsync('goon-applock').catch(() => {}); return () => { ScreenCapture.allowScreenCaptureAsync('goon-applock').catch(() => {});