◉RORK LABJP
●EXPO — EAS Observe now records native crashes (Oct 7). On SDK 57, update to 57.0.21 or later●SDK 58 — SDK 58 Beta has been out since Sep 15. The stable date is still unconfirmed●RN 0.88 — React Native 0.88.x is scheduled for Oct 12, 3 days left●Q&A — People are asking why expo-widgets render blank only in production builds●RORK — GPT-6.1 Sol was added on Sep 29, available on Pro and Max plans●NEW — Building an app for a client? Decide who owns the publishing account first●EXPO — EAS Observe now records native crashes (Oct 7). On SDK 57, update to 57.0.21 or later●SDK 58 — SDK 58 Beta has been out since Sep 15. The stable date is still unconfirmed●RN 0.88 — React Native 0.88.x is scheduled for Oct 12, 3 days left●Q&A — People are asking why expo-widgets render blank only in production builds●RORK — GPT-6.1 Sol was added on Sep 29, available on Pro and Max plans●NEW — Building an app for a client? Decide who owns the publishing account first
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.

Rork577Expo213React Native238Security8Indie Dev39

✦ 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 $15 for lifetime access
View Membership →

Related Articles

⬡ Dev Tools2026-09-04
EAS secret visibility does not keep a value out of your app — deciding prefix and visibility separately
The EXPO_PUBLIC_ prefix decides what ships inside your app; EAS visibility decides who can read it. Why stacking them blanks a value on OTA updates, and how to check your build.
⬡ Dev Tools2026-08-22
Every bulk replace exited zero. The damage was in the lines I did not delete
Run a bulk replace over generated code and the breakage lands on the neighbouring lines, not the matched ones. Here is what broke in a live project, and a dependency-free guard that checks the invariants a replace must preserve.
⬡ Dev Tools2026-08-17
When an Expo UI drop-in swap actually removes a dependency
Expo UI went stable in SDK 56 with drop-in replacements for eight community packages. Swapping one import does not always shrink your dependency list. Here is how to decide which swaps actually pay off, straight from the dependency graph.
📚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