Blocking Screenshots

Apps containing sensitive information frequently block the system screenshot and screen recording features because of data protection. Users and other apps are then prevented from taking screenshots and from recording the device screen when the app is in the foreground.

Malwarelytics for Android is able to block screenshots and screen recordings on all app screens.


This feature can be configured during the Malwarelytics initialization phase:

val raspConfig = RaspConfig.Builder()
    // configuration of other RASP features
Method Description
blockScreenshots(Boolean) indicates whether taking screenshots and screen recordings should be blocked. Defaults to true.

More information on general RASP feature configuration and usage can be found in this overview.

Last updated on May 02, 2022 (20:53) View product


Malwarelytics for Android