Version 1.1.x
View product
develop
There are breaking changes compared to version 1.0.x. The breaking changes involve configuration changes and changes in MalwarelyticsRaspListener. Other changes are API additions.
Changes to 1.0.x
Android configuration has been adjusted to better mirror that of the native library:
| Old config item | New config item | Notes |
|---|---|---|
debugger?: MalwarelyticsAndroidRaspDetectionConfig |
debugger?: MalwarelyticsAndroidRaspDebuggerDetectionConfig |
Added new debuggerTypes?: DebuggerType[] item to the structure. |
adb?: MalwarelyticsAndroidRaspDetectionConfig |
adb?: MalwarelyticsAndroidRaspAdbDetectionConfig |
Removed invalid NO_ACTION action for this configuration. |
screenReaders?: MalwarelyticsAndroidRaspScreenReadersConfig |
screenReader?: MalwarelyticsAndroidRaspScreenReaderBlockConfig |
Renamed to screenReader. Item block?: boolean changed into action: MalwarelyticsAndroidRaspBlockAction. |
blockScreenshots?: boolean |
screenshot?: MalwarelyticsAndroidRaspBlockConfig |
Renamed to screenshot. Type changed to structure MalwarelyticsAndroidRaspBlockConfig. The behavior is defined by the action: MalwarelyticsAndroidRaspBlockAction item. |
tapjacking?: MalwarelyticsAndroidRaspTapjackingBlockConfig |
tapjacking?: MalwarelyticsAndroidRaspTapjackingBlockConfig |
Item block?: boolean changed into action: MalwarelyticsAndroidRaspBlockAction. |
customProcessName?: string |
processName?: MalwarelyticsAndroidRaspProcessNameConfig |
Added common new item replacing both previous process name configurations. The structure contains an action item turning the feature on/off and a customProcessName?: string specifying whether to use the custom name or a random one. |
useStealthyProcessName?: boolean |
processName?: MalwarelyticsAndroidRaspProcessNameConfig |
Added common new item replacing both previous process name configurations. The structure contains an action item turning the feature on/off and a customProcessName?: string specifying whether to use a custom name or a random one. |
| NOTHING | activeCall?: MalwarelyticsAndroidRaspSimpleDetectionConfig |
New item for active call detection configuration. |
| NOTHING | appPresence?: MalwarelyticsAndroidRaspAppPresenceDetectionConfig |
New item for app presence detection configuration. |
Other changes in the configuration:
| Config structure | Config item | Notes |
|---|---|---|
MalwarelyticsAndroidConfig |
fingerprint?: MalwarelyticsAndroidFingerprintType |
Android device fingerprinting configuration. |
New Android RASP methods:
| Method | Description |
|---|---|
isOnCall(): Promise<boolean> |
For both platofrms now. Previously it was Apple only. |
getActiveCallInfo(): Promise<ActiveCallInfo> |
For obtaining information about active call. |
getAppPresenceInfo(): Promise<AppPresenceInfo> |
For obtaining information about app presence. |
getBiometryInfo(): Promise<BiometryInfo> |
For obtaining information about biometry data configuration on the device. |
getDebuggerInfo(): Promise<DebuggerInfo> |
For obtaining detailed information about debugger detection |
New MalwarelyticsRaspListener callbacks:
| Callback Method | Description |
|---|---|
activeCallDetected(info: ActiveCallInfo) |
Notifying about changes in active call detection. |
appPresenceChangeDetected(info: AppPresenceInfo) |
Notifying about changes in app presence detection. |
Other API changes:
| Structure | Change | Description |
|---|---|---|
ApkThreat |
flags: MalwareFlag[] |
Added a set of malware flags - malware types, and malware families. |
Native Components
The following native Malwarelytics components are used under the hood:
- Malwarelytics for iOS version
2.1.x - Malwarelytics for Android version
1.0.x
It’s recommended to use React Native 0.71+ for your application.
Last updated on Oct 25, 2024 (14:24)
View product