Version 2.4.3
Date: 4 November 2026
Build fix for apps using Firebase or protobuf - The SDK no longer bundles com.google.protobuf classes, which caused "Duplicate class com.google.protobuf" build errors in apps that also use Firebase or protobuf.
The SDK still needs protobuf-javalite 4.26.1 or later, and Gradle uses your app's version when it's higher.
Attributes kept after stop() - Now collects profiling.android.audio_device attributes on Android 11 and earlier. Audio device, camera activity and call state attributes, and keystroke data from text fields, are also kept when collect() runs after stop() or profiling restarts.
If the SDK has no app context to collect them, it adds MISSING_ACTIVITY to profiling.android.signals, so you can tell an integration issue from missing data.
Touch biometrics accuracy - Swipe dwell time is now measured from the touch events themselves, a tap with slight finger movement no longer counts as a swipe, and each swipe is counted once. This makes profiling.android.touch_biometrics better reflect the real gestures.
App install source - profiling.android.app_package_source is now reported on Android 13 and later, as STORE, LOCAL_FILE, DOWNLOADED_FILE, OTHER or UNSPECIFIED. Earlier versions left it empty.
Version 2.4.2
Date: 13 October 2026
Root detection crash fix - Fixed a native crash and false root detection flags that occurred when two root detection scans ran at the same time. The scan is now thread-safe. This affected both 2.4.0 and 2.4.1.
- Cause: the scan kept its state in process-wide variables, so a second scan could free memory the first was still reading.
- When it happens: a new scan starts while an earlier one is still running. Typical cases are screens progressing or reopening in quick succession. A scan starts on
start()of a newDwnProfilingSDKinstance, and onstart()of an existing instance afterstop(). Astart()on an instance that's already running is ignored. - Timing: a scan typically finishes well within one second of
start(), but can take longer, particularly on slower devices. The risk is highest whenstart()calls happen close together. Callingstop()on the earlier instance doesn't end its scan early. - Symptoms: a native
SIGSEGVcrash inlibdwnToolChecker.so, atstrstrunderscanFileForKeywords. Only some sessions are affected. - False root flags: even without a crash, overlapping scans were more likely to flag a clean device as rooted, with
root_otherinprofiling.android.system.root_detection_signalsandprofiling.android.system.is_jailbrokentrue.
Version 2.4.1
Date: 7 August 2026
Stability improvements
- Improved the presence of
profiling.android.systemattributes by collecting several of them asynchronously. - Improved stability on certain models running Android 10.
Version 2.4.0
Date: 24 July 2026
Audio and call detection improvements - Audio device details, plus the direction and type of a live call.
profiling.android.audio_device.mic_idprofiling.android.audio_device.mic_typeprofiling.android.audio_device.mic_nameprofiling.android.audio_device.call_direction - inbound or outboundprofiling.android.audio_device.call_type - cellular or VoIP
We also improved the reliability of profiling.android.sim_info[AndroidSimContext].call_state, profiling.android.sim_info[AndroidSimContext].is_offhook and profiling.android.sim_info[AndroidSimContext].is_idle when a call starts during profiling.
Camera activity - Detects when the camera is in use.
profiling.android.system.camera[AndroidCameraContext].is_active
Screen overlay detection - Detects another app drawing over yours (overlay attacks). The app lists need the accessibility service and its permissions.
profiling.android.window_is_obscuredprofiling.android.overlay_apps - non-system apps drawn over yours (for example com.google.maps, com.whatsapp)profiling.android.running_apps - non-system apps that are running (for example com.android.dialer, com.android.messaging)
Data roaming - Reports whether mobile data is roaming.
profiling.android.sim_info[AndroidSimContext].is_network_roaming
Device transfer detection - A new signal, STORAGE_GUID_TIMESTAMP_ABNORMAL, fires when the stored GUID predates the app install (a device transfer or restore).
Root detection - More detection methods, including native checks that Magisk DenyList tries to hide.
Huawei attribute support - Added the Huawei advertising ID.
profiling.android.huawei_advertising_id
Requires the com.huawei.hms:ads-identifier dependency in your app, which in turn needs this Maven repository:
maven {
url 'https://developer.huawei.com/repo/'
content {
includeGroup "com.huawei.hms"
}
}
Location fallback - If the GMS location provider can't resolve a GPS or fused location, the SDK polls other providers as a fallback. This populates the existing location attributes, plus:
profiling.android.location.provider - which provider resolved the locationprofiling.android.location.signals values: CURRENT, LAST, FUSED_GMS, FUSED_PLATFORM, GPS, NETWORK, PASSIVE
MDM detection - New mobile device management signals in profiling.android.signals.
MDM_ACTIVE_ADMINS - a device admin or MDM agent is active (legacy admin layer)MDM_DEVICE_OWNER - this app is the device owner and manages the whole device (company-owned or fully managed)MDM_PROFILE_OWNER - this app is the profile owner and manages a single profile only (for example a BYOD work profile)MDM_MANAGED_PROFILE - the app is running inside a managed (work) profileMDM_APP_RESTRICTIONS - an MDM has pushed app restrictions (managed configuration)
Battery charging - Battery attributes, in line with iOS.
profiling.android.battery_level - battery level as a percentageprofiling.android.battery_state - for example charging, plugged, unplugged
Device forensics attributes - Useful for detecting certain emulators.
profiling.android.system.gpu_vendorprofiling.android.system.gpu_rendererprofiling.android.system.gpu_versionprofiling.android.system.cpu_implementerprofiling.android.system.emulator_host_os
collect() improvements - Attributes that rely on permissions, such as location, Wi-Fi and phone state, are rechecked at the end of collect() so they're more likely to be present. They still can't be guaranteed if profiling doesn't run long enough. collectAsync gives you direct control over how long to wait for profiling.
Fixes
- The timezone offset is now in minutes (it was in seconds), matching iOS, web and the other timezone attributes.
- Fewer false
ERROR_ON_PROFILINGsignals. We also removed the noisyPROFILING_NOT_STOPPEDsignal.
Version 2.3.3
Date: 2 July 2026
- Fixed app freezes when a foldable device was unfolded during profiling on certain activities.
Version 2.3.2
Date: 17 June 2026
- Added Android DRM metadata attributes.
profiling.android.drm.deviceprofiling.android.drm.securityprofiling.android.drm.systemprofiling.android.drm.cryptoprofiling.android.drm.hdcpprofiling.android.drm.max_hdcpprofiling.android.drm.algorithmsprofiling.android.drm.vendorprofiling.android.drm.version
Version 2.3.1
Date: 18 May 2026
- Added the Android DRM ID to profiling.
Version 2.3.0
Date: 8 April 2026
Remote control and screen casting detection - We now detect when a device screen is being cast or remotely controlled. The SDK captures display context attributes for each connected display, including the display name, resolution, refresh rate and state. This lets you identify sessions running through tools like TeamViewer, or screen casting to secondary displays.
profiling.android.system.display[AndroidDisplayContext].context - display identifier (for example DEFAULT, DISPLAY_2)profiling.android.system.display[AndroidDisplayContext].name - display name (for example "Built-in Screen", "Cast Receiver")profiling.android.system.display[AndroidDisplayContext].width - display width in pixelsprofiling.android.system.display[AndroidDisplayContext].height - display height in pixelsprofiling.android.system.display[AndroidDisplayContext].refresh_rate - refresh rate in Hzprofiling.android.system.display[AndroidDisplayContext].state - current state (for example STATE_ON, STATE_OFF, STATE_VR)
Mock location detection - The SDK can now detect when a device's GPS location is being faked by a spoofing app (such as iAnyGo). When a mock location is active, you also get the name of the app providing it.
profiling.android.location.is_mock - true when location data is mockedprofiling.android.location.is_mock_provider - true when a mock provider is activeprofiling.android.location.mock_provider - name of the app supplying the mocked location
Requires the ACCESS_COARSE_LOCATION permission and the com.google.android.gms:play-services-location dependency.
Package inspection - We've added metadata attributes about installed packages. These are useful for detecting virtual or unusual Android environments, for example ones with very few packages installed.
profiling.android.app_package_source - source of the app packageprofiling.android.app_package_installer - installer package nameprofiling.android.package_number - total package countprofiling.android.nonsystem_package_number - non-system package count
Requires the QUERY_ALL_PACKAGES permission.
App tampering detection - We've expanded app integrity checks with hash values for individual APK components. These attributes help identify repackaged or modified apps, injected libraries and active debugging.
profiling.android.apk_classes_hash - hash of classes.dexprofiling.android.apk_resources_hash - hash of the resourcesprofiling.android.apk_manifest_hash - hash of AndroidManifest.xmlprofiling.android.apk_native_lib_hash - hash of the native librariesprofiling.android.libc_hash - hash of libcprofiling.android.proc_maps_libs - libraries loaded according to /proc mapsprofiling.android.tracer_pid - tracer process ID (non-zero means a debugger is attached)profiling.android.rwxp_count - number of read-write-execute memory pagesprofiling.android.memfd_entries - in-memory file descriptorsprofiling.android.tmp_libs - libraries loaded from temporary paths
Multi-user profiling - Android supports multiple user profiles on a single device, and this is sometimes abused for fraud by switching between user accounts. We now detect when multi-user mode is enabled and report details about the current user profile.
profiling.android.settings.user_switch_enabled - true when user switching is enabled on the deviceprofiling.android.system.is_system_user - true when the current user is the primary (system) userprofiling.android.system.user_creation_time - when the current user profile was createdprofiling.android.system.user_serial_number - serial number of the current user profile
React Native biometrics - React Native integrations can now pass element references directly (through useRef) for biometric field detection, as well as CSS selectors. This gives more reliable field binding in React Native apps.
Supported version change: minSdk raised to 23 - The minimum Android SDK version has been raised from 21 to 23 (Android 6.0). This was needed to upgrade the advertising ID library (which Google Play Console was flagging as problematic) and to bring all dependency libraries up to date. Jetpack and AndroidX libraries have required minSdk 23 or higher since June 2025.
Version 2.2.0
Date: 3 December 2025
- Added
profiling.android.all_languages. - Obfuscated more attributes in the profiling protobuf.
- Behavioural biometrics statistics now cover more events.
- Fixed
local_storage_guidsometimes going missing. - Fixed class conflicts with certain other apps.
Version 2.1.0
Date: 16 September 2025
System feature detection - Reports the hardware features the phone supports (not necessarily enabled).
profiling.android.system.features values:FACE - biometric hardware for face authenticationIRIS - biometric hardware for iris authenticationFINGERPRINT - biometric hardware for fingerprint detectionNFC - can communicate using Near-Field CommunicationBLUETOOTH - can communicate with other devices over BluetoothCAMERA - has a back cameraCAMERA_FRONT - has a front-facing cameraCAMERA_FLASH - the camera supports flashAUTOMOTIVE - a device dedicated to showing UI on a vehicle head unitTELEVISION - a device dedicated to showing UI on a televisionWATCH - a device dedicated to showing UI on a watch
eSIM detection - Reports whether a SIM is an eSIM.
profiling.android.sim_info[AndroidSimContext].is_esim
Requires the phone state permission (READ_PHONE_STATE).
Installed app store detection - Reports which app store is installed.
profiling.android.system.app_store
Camera attributes - Reports details of each camera.
profiling.android.system.camera[AndroidCameraContext].number_of_characteristicsprofiling.android.system.camera[AndroidCameraContext].facingprofiling.android.system.camera[AndroidCameraContext].max_face_countprofiling.android.system.camera[AndroidCameraContext].max_digital_zoom
WebRTC IP address profiling - The SDK now supports WebRTC IP address profiling.
Build and integration
- Increased the Android Gradle Plugin (AGP) version to 8.9.2.
- Increased the Gradle version to 8.11.1.
- Reduced reflection use to improve performance.
- Apps that use ProGuard need additional lines in
proguard-rules.pro.
Version 2.0.2
Date: 28 July 2025
- Fixed missing
profiling.android.storage_guidandprofiling.android.file_guidwhen using multiple instances.
Version 2.0.1
Date: 14 May 2025
- Moved RootBeer under
com.darwinium.dwn_sdk.
Version 2.0.0
Date: 25 March 2025
- Improved root detection.
- Expanded rootkit detection (for example Magisk and Frida).
- New forensic signals:
profiling.android.system.frida_port,profiling.android.system.boot_stateand scanned packages. - See: Android Root Detection
- Formalised support for React Native apps.
- Added support for multiple SDK instances.
- Behavioural biometrics can be kept separate when profiled from different objects.
- Stability and performance improvements.
Version 1.14.39
Date: 7 January 2025
- Added support for Jetpack Compose elements.
- Behavioural biometrics keyboard profiling now covers these UI input elements.
Version 1.14.38
Date: 17 December 2024
- Added audio device detection.