Migration Guide to Version 1.5.x

Malwarelytics for Android version 1.5.x introduces a few minor changes to the SDK configuration and SDK APIs.

Summary of Config Item Changes

Config Item in version 1.4.x Config item in version 1.5.x
RaspConfig.screenSharing(DetectionConfig) RaspConfig.screenSharing(ScreenSharingConfig)
N/A ScreenSharingConfig
N/A ScreenSharingConfig.BlockLayout

Summary of API Changes

Affected APIs API Change
ApkThreat.certSignature Class property addition

Screen Sharing Configuration Changes

The configuration of the screen sharing detection feature was extended with the screen sharing blocking feature. A new ScreenSharingConfig class was created to allow the configuration of both features together. Screen sharing detection configuration moved into the detectionAction item of the ScreenSharingConfig class.

The available config items of the ScreenSharingConfig class are:

Method Description
blockAction(BlockConfig) specifies the automatic behavior of the screen sharing blocking feature. Defaults to BlockConfig.Block.
blockLayout(ScreenSharingConfig.BlockLayout) defines the layout used for blocking screen sharing. Defaults to ScreenSharingConfig.BlockLayout.BasicSplash(), which is an empty white screen.
detectionAction(DetectionConfig) specifies the automatic behavior of the screen sharing detection feature. Defaults to DetectionConfig.Notify.

The available values of the ScreenSharingConfig.BlockLayout are:

Value Description
BasicSplash(
@ColorInt color:Int,
appIcon:Boolean,
appName:Boolean
indicates the usage of a single color splash screen that can optionally contain the app icon and the app name. The color defaults to Color.WHITE, appIcon and appName defaults to false.
CustomLayout(
@LayoutRes layout:Int)
indicates the usage of custom layout resource.

Changes to ApkThreat

The ApkThreat changes:

Available properties in version 1.4.x Available properties in version 1.5.x Comment
N/A certSignature: String Addition
Last updated on Sep 23, 2025 (10:26) View product
Search

1.5.x

Malwarelytics for Android