Latest Android SDK release

Prev Next

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 new DwnProfilingSDK instance, and on start() of an existing instance after stop(). A start() 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 when start() calls happen close together. Calling stop() on the earlier instance doesn't end its scan early.
  • Symptoms: a native SIGSEGV crash in libdwnToolChecker.so, at strstr under scanFileForKeywords. 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_other in profiling.android.system.root_detection_signals and profiling.android.system.is_jailbroken true.

Version 2.4.1

Date: 7 August 2026

Stability improvements

  • Improved the presence of profiling.android.system attributes 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_id
profiling.android.audio_device.mic_type
profiling.android.audio_device.mic_name
profiling.android.audio_device.call_direction - inbound or outbound
profiling.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_obscured
profiling.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 location
profiling.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) profile
MDM_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 percentage
profiling.android.battery_state - for example charging, plugged, unplugged

Device forensics attributes - Useful for detecting certain emulators.

profiling.android.system.gpu_vendor
profiling.android.system.gpu_renderer
profiling.android.system.gpu_version
profiling.android.system.cpu_implementer
profiling.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_PROFILING signals. We also removed the noisy PROFILING_NOT_STOPPED signal.

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.device
profiling.android.drm.security
profiling.android.drm.system
profiling.android.drm.crypto
profiling.android.drm.hdcp
profiling.android.drm.max_hdcp
profiling.android.drm.algorithms
profiling.android.drm.vendor
profiling.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 pixels
profiling.android.system.display[AndroidDisplayContext].height - display height in pixels
profiling.android.system.display[AndroidDisplayContext].refresh_rate - refresh rate in Hz
profiling.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 mocked
profiling.android.location.is_mock_provider - true when a mock provider is active
profiling.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 package
profiling.android.app_package_installer - installer package name
profiling.android.package_number - total package count
profiling.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.dex
profiling.android.apk_resources_hash - hash of the resources
profiling.android.apk_manifest_hash - hash of AndroidManifest.xml
profiling.android.apk_native_lib_hash - hash of the native libraries
profiling.android.libc_hash - hash of libc
profiling.android.proc_maps_libs - libraries loaded according to /proc maps
profiling.android.tracer_pid - tracer process ID (non-zero means a debugger is attached)
profiling.android.rwxp_count - number of read-write-execute memory pages
profiling.android.memfd_entries - in-memory file descriptors
profiling.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 device
profiling.android.system.is_system_user - true when the current user is the primary (system) user
profiling.android.system.user_creation_time - when the current user profile was created
profiling.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_guid sometimes 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 authentication
IRIS - biometric hardware for iris authentication
FINGERPRINT - biometric hardware for fingerprint detection
NFC - can communicate using Near-Field Communication
BLUETOOTH - can communicate with other devices over Bluetooth
CAMERA - has a back camera
CAMERA_FRONT - has a front-facing camera
CAMERA_FLASH - the camera supports flash
AUTOMOTIVE - a device dedicated to showing UI on a vehicle head unit
TELEVISION - a device dedicated to showing UI on a television
WATCH - 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_characteristics
profiling.android.system.camera[AndroidCameraContext].facing
profiling.android.system.camera[AndroidCameraContext].max_face_count
profiling.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_guid and profiling.android.file_guid when 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_state and 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.