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.

Screenshot blocking feature is applied to app’s activities. Details about behaviour and APIs relevant to activity protection can be found in Activity protection.

Configuration

This feature can be configured during the Malwarelytics initialization phase:

val raspConfig = RaspConfig.Builder()
    .blockScreenshots(Boolean)
    // configuration of other RASP features
    .build()
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 Nov 30, 2022 (12:42) View product
Search

0.22.x

Malwarelytics for Android