Skip to content
WebViewGold Vibe Coding to App Store
English
Get WebViewGold

Native feature

Screenshot protection for vibe-coded apps

What each platform really allows, how to react in your web app, and how to let users save the screens they are supposed to keep. Pick your builder.

From $109 one-time per platform, or let our team do it all from $698.

  • Approval guarantee – or money back within 14 days
  • No coding needed
  • One-time payment, free updates
  • 24/7 human support
  • Made in Germany since 2014 · ISO 27001

What each platform really offers

CapabilityiOSAndroid
Stop screenshots and screen recordingsNot possible: iOS has no official API that blocks a screenshotPREVENT_SCREEN_CAPTURE = true in Config.java prevents screenshots and screen recordings of the app
Tell the web applet preventScreenCapture = true in Config.swift detects screenshots and screen recordings and calls onScreenCaptureAttempt() (despite the name, the docs describe detection)onScreenCaptureAttempt() is called so you can show your own message
Save the current screen to Photos on purposetakescreenshot://takescreenshot://
ScopeOne switch for the whole app; no per-page setting is documentedOne switch for the whole app; no per-page setting is documented

React to a capture attempt in your web app

About 20 minutes plus a new build of both apps.

  1. Switch the setting on

    iOS: let preventScreenCapture = true in Config.swift. Android: PREVENT_SCREEN_CAPTURE = true in Config.java. This is a native change, so it ships with the next app build, not with a web deploy.

  2. Make onScreenCaptureAttempt global

    WebViewGold calls a function with exactly this name. Code bundled by Vite, Next.js or similar tools lives in modules, so a function declared inside a component is not global. Assign it explicitly in code that runs on every page: window.onScreenCaptureAttempt = function () { … }.

  3. Show a calm message

    Explain why ("Lesson slides are protected to respect the creator") instead of logging the user out. On iOS the screenshot has already been taken when the function runs, so the message is a deterrent, not a block.

  4. Log it only if you need to

    Exam, document and finance apps may want an audit trail (user, page, time). If you record it, say so in your privacy policy.

  5. Offer an intended way to save

    Where saving is legitimate (tickets, receipts, certificates), add a Save to Photos button that navigates to takescreenshot://. If you combine it with screenshot blocking on Android, check on a device that the saved image is not blank.

Frequently asked questions

Can I block screenshots on iPhone?

Not completely. iOS has no official API that prevents a screenshot. WebViewGold detects screenshots and screen recordings (preventScreenCapture in Config.swift) and calls onScreenCaptureAttempt in the web app so you can respond. Real blocking is available on Android with PREVENT_SCREEN_CAPTURE in Config.java.

Does screenshot protection cause problems in App Store or Google Play review?

Not by itself. Neither store requires apps to allow screenshots, and detection needs no permission. If protected screens turn black in an Android screen recording, mention it in the review notes so nobody mistakes it for a bug.

Can I protect only some pages?

The WebViewGold docs describe app-wide switches, not a per-page setting. What you control per page is the reaction: onScreenCaptureAttempt can check the current route and only show a notice on sensitive pages.

Three ways to get your app into the stores

Same result, different amount of work on your side. All three come with the approval guarantee and 24/7 human support.

Do it yourself

$109 per platform, one-time

The WebViewGold license: a finished Xcode or Android Studio project. Paste your URL, set name and icon, switch on features, build and submit. Free updates forever.

See plans on the main page

Cloud Builder

$349 per license, one-time add-on

No Mac, no Xcode, no Android Studio: configure in the browser, we build both apps in the cloud and hand them to App Store Connect and the Play Console.

How the Cloud Builder works Try the free demo

Full Service

$698 per platform $798

Send us your URL and icon. Our team configures, builds and delivers your app within 72 hours, white-label, with source projects. Both platforms for $1,158.

Full Service details Powered by WeSetupYourWebViewApp

Winter Sale prices valid until December 31, 2026.

Ready to ship your app?

App Store & Google Play approval guarantee – or your money back within 14 days

Rather hand it over? Full Service: we configure, build and deliver within 72 hours, from $698 per platform. Questions? Chat with us 24/7.

Refunds are granted under the conditions listed in our FAQ: a non-content rejection by Apple and/or Google, claimed within 14 days after purchase.