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 pageReplit + screenshots
Paid lessons, private chats, account balances, single-use coupons: some screens should not end up in a group chat. WebViewGold can block screenshots and screen recordings on Android and detect them on iOS, then call a JavaScript function in your Replit app so you can react. The same toolkit also works the other way round: takescreenshot:// saves a screen to Photos on purpose, for tickets and receipts.
From $109 one-time per platform, or let our team do it all from $698.
| Capability | iOS | Android |
|---|---|---|
| Stop screenshots and screen recordings | Not possible: iOS has no official API that blocks a screenshot | PREVENT_SCREEN_CAPTURE = true in Config.java prevents screenshots and screen recordings of the app |
| Tell the web app | let 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 purpose | takescreenshot:// | takescreenshot:// |
| Scope | One switch for the whole app; no per-page setting is documented | One switch for the whole app; no per-page setting is documented |
Paste this into Replit to implement the web-app side. Review the result, publish, then test inside the WebViewGold app.
Add screenshot handling for the WebViewGold app wrapper. Front end: in the React entry file, define window.onScreenCaptureAttempt so it shows a short notice ("Screenshots are disabled for exam questions") and sends navigator.sendBeacon("/api/capture-events", new Blob([JSON.stringify({ path: location.pathname })], { type: "application/json" })). Backend: add POST /api/capture-events that reads the Replit Auth user from the session and inserts user_id, path and created_at into a capture_events table in Postgres; ignore requests without a session. Add GET /api/admin/capture-events for admins only. On the certificate page, add a Save to Photos button that navigates to takescreenshot:// only when navigator.userAgent contains my custom WebViewGold token, and a Download PDF link in browsers. Do not lock accounts automatically.
With a good optimized version of your web app you can have a stunning mobile app within a couple of minutes. Additionally to that the customer service is very nice and very helpful! I can just recommend WebViewGold :-)
About 20 minutes plus a new build of both apps.
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.
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 () { … }.
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.
Exam, document and finance apps may want an audit trail (user, page, time). If you record it, say so in your privacy policy.
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.
Load this once on every page (for example in the app entry file). The optional log endpoint belongs to the server side of your stack: Express/Flask/FastAPI backends with Replit Postgres or external databases.
// Custom user agent containing "WebViewGold" set in Config.swift / Config.java
var IN_APP = navigator.userAgent.indexOf("WebViewGold") !== -1;
// Called by WebViewGold when it detects a screenshot or screen recording (iOS)
// or a capture attempt while PREVENT_SCREEN_CAPTURE is on (Android)
window.onScreenCaptureAttempt = function () {
showToast("Screenshots are turned off for paid lessons."); // your own UI helper
fetch("/api/capture-events", {
method: "POST", keepalive: true,
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ path: location.pathname, at: Date.now() })
});
};
// Intended saving, for example on a ticket page
function saveTicketToPhotos() {
if (IN_APP) { window.location.href = "takescreenshot://"; }
else { window.print(); } // browser fallback
}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.
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.
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.
Add a Save to Photos button that navigates to takescreenshot:// inside the app. WebViewGold saves the current WebView content to the Photos gallery, so the ticket is available at the venue even without a connection.
Yes, as long as the function is attached to the window object. A function declared inside a component or an ES module is not global, so WebViewGold cannot find it; assign window.onScreenCaptureAttempt in the entry file of your Replit project.
Same result, different amount of work on your side. All three come with the approval guarantee and 24/7 human support.
$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$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$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 byWinter Sale prices valid until December 31, 2026.
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.