RORK LABJP
MAX — Rork Max generates native Swift apps across iPhone, iPad, Watch, TV, Vision Pro, and iMessageNATIVE — It reaches AR/LiDAR scanning, Metal 3D games, widgets, Live Activities, and on-device Core MLFUNDING — Rork raised $2.8M from a16z, with 743K monthly visits and 85% growthPRICING — It's free to start, with paid plans beginning at $25 per monthFLOW — Describe your idea in plain English to get working code, a shareable test link, and iOS/Android buildsCOMPARE — The original Rork builds cross-platform apps on Expo/React Native; choose the right tool per goalMAX — Rork Max generates native Swift apps across iPhone, iPad, Watch, TV, Vision Pro, and iMessageNATIVE — It reaches AR/LiDAR scanning, Metal 3D games, widgets, Live Activities, and on-device Core MLFUNDING — Rork raised $2.8M from a16z, with 743K monthly visits and 85% growthPRICING — It's free to start, with paid plans beginning at $25 per monthFLOW — Describe your idea in plain English to get working code, a shareable test link, and iOS/Android buildsCOMPARE — The original Rork builds cross-platform apps on Expo/React Native; choose the right tool per goal
Articles/Dev Tools
Dev Tools/2026-06-27Advanced

Before a Free Preview Walks Out via Screenshot: Detecting Screenshots and Screen Recording in Rork/Expo

How to protect paid preview images from screenshots and screen recording in a Rork/Expo app: the limits of expo-screen-capture, native isCaptured monitoring, and an iOS/Android-aware blur design.

Rork465Expo116React Native189Security7Indie Dev33

Premium Article

A paid wallpaper you only meant to show as a single free preview gets carried off at full resolution with one screenshot. If you run an image-first app as an indie developer for any length of time, this casual leak becomes a problem you cannot route around. I have personally tried lowering preview quality, only to find that a Retina-resolution screenshot is still perfectly usable, which made the effort almost pointless.

What matters here is not perfect defense. Technically sealing off capture is impossible, at least on iOS. But simply changing the state from "grab everything in one tap" to "this takes a bit of effort" cuts most of the leakage. This article walks through a screenshot and screen-recording detection and blur implementation you can bolt onto a Rork-generated Expo app — including the spots where it tripped me up in production.

Decide up front: you can only stop the casual grab

Before touching code, setting expectations correctly is what matters most. This is not DRM. Anyone seriously determined to extract an image can photograph the screen with a second device, and nothing you do will stop that.

So the goal narrows to "discouraging the careless or only mildly motivated grab." In my case, what I want to protect is a few percent of revenue leaking out, not to build a fortress. Without drawing that line first, you keep imagining ways around your own detection, the implementation bloats, and your indie-developer hours melt away. Keep the work inside the range where deterrence still pays for itself.

What's possible differs sharply between iOS and Android

The first thing that confused me was that the tools available on iOS and Android are not symmetric. Laid out, it looks like this.

What you wantiOSAndroid
Block capture/recording itselfNot possible (OS forbids it)Possible (FLAG_SECURE)
Receive the "screenshot taken" factPossible (system notification)Generally not possible
Detect active recording/mirroringPossible (isCaptured)Limited

In other words, Android leans naturally toward "make it un-capturable," while iOS can only choose "notice it happened and react." Given this asymmetry, trying to force both platforms into one shared code path is the wrong move; playing each on its own field ends up being the simplest.

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
You can blur in real time during recording and mirroring — the exact case expo-screen-capture cannot catch — using native isCaptured monitoring
You'll be able to split what iOS and Android can and cannot detect, and apply FLAG_SECURE and a detection overlay where each actually fits
You'll gain a decision framework for treating preview leakage as realistic deterrence, not DRM, in an indie premium-image app
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Dev Tools2026-06-20
Bugs Rork Can Fix vs. Bugs You Should Fix Yourself: A Triage Workflow for Exported Code
A practical triage workflow for telling apart the bugs Rork resolves on its own from the ones you should hand-fix in exported React Native/Expo code, with working examples.
Dev Tools2026-06-27
Catch Real-Device Bugs Before You Ship: A Pre-Submission Checklist for Rork Share Links
Rork's editor preview runs in an ideal environment, so it hides bugs that only appear on real hardware. Here are the seven device differences to clear before you hand out a share link, in the order to check them, with the code to set up first.
Dev Tools2026-06-26
Keep Audio Playing in the Background and Add Lock Screen Controls in a Rork App
How to make a Rork-generated Expo app keep playing music or healing sounds in the background and expose lock screen and Control Center controls, with working expo-audio code and the platform-specific gotchas.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →