◉RORK LABJP
●ARCHIVE — Since 11/22 you can archive a Rork project instead of deleting it, and bring it back from Archived●PLAY FIX — Fixed: Expo apps built for Google Play losing their Rork AI key, which broke AI features●SONNET 4.5 — Sonnet 4.5 retires from the Claude API on 11/30, 7 days left. Check which model your app calls●SPLASH — Expo users report apps stuck on the splash screen after rolling back to an earlier update●NEW — New: Three clues to check before replying to a "stuck on the splash screen" review●2.5 ROUTE — From 12/1, Gemini 2.5 requests reroute to newer models at new rates. 8 days left●ARCHIVE — Since 11/22 you can archive a Rork project instead of deleting it, and bring it back from Archived●PLAY FIX — Fixed: Expo apps built for Google Play losing their Rork AI key, which broke AI features●SONNET 4.5 — Sonnet 4.5 retires from the Claude API on 11/30, 7 days left. Check which model your app calls●SPLASH — Expo users report apps stuck on the splash screen after rolling back to an earlier update●NEW — New: Three clues to check before replying to a "stuck on the splash screen" review●2.5 ROUTE — From 12/1, Gemini 2.5 requests reroute to newer models at new rates. 8 days left
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.

Rork621Expo237React Native243Security10Indie Dev40

✦ 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-10-13
Before You Ship: Go Looking for Your Own Keys Inside the Exported Expo Bundle
A key can be missing from your source and still be sitting inside the finished app. I ran expo export on Expo SDK 57, searched the bundle with grep and a short Node script, and recorded which secrets show up and which don't.
⬡ 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.