fix: Disable Prevent screenshot detection by default (#6511)

This commit is contained in:
Sayanth
2026-01-21 23:14:04 +05:30
committed by GitHub
parent ef052c0d8f
commit 5b5c50254d

View File

@@ -32,6 +32,7 @@ private val unregisterScreenCaptureCallbackMethodReference = ImmutableMethodRefe
val preventScreenshotDetectionPatch = bytecodePatch(
name = "Prevent screenshot detection",
description = "Removes the registration of all screen capture callbacks. This prevents the app from detecting screenshots.",
use = false
) {
dependsOn(transformInstructionsPatch(
filterMap = { _, _, instruction, instructionIndex ->