Releases: maxmind/device-android
Releases · maxmind/device-android
Release list
0.3.1
- Removed the unused
androidx.lifecycle:lifecycle-runtime-ktxdependency. In
0.3.0 this dependency was at version 2.11.0, which forced consumers with any
androidx.lifecycleCompose artifacts on their classpath up to 2.11.0 via
androidx version alignment, in turn requiring compileSdk 37 and a newer
Android Gradle Plugin. The SDK never used this dependency, and removing it
eliminates the toolchain requirement. Reported by Dzmitry Struk. GitHub #63. - Removed the unused
kotlinx-coroutines-androiddependency. The SDK only uses
Dispatchers.IO, so it does not need the AndroidDispatchers.Main
integration this artifact provides. - Removed the
androidx.core:core-ktxdependency. Its only use was the
SharedPreferences.edit {}extension, which has been replaced with the
equivalent framework calls. The published artifact now has noandroidx
dependencies, so it no longer participates in androidx version alignment and
imposes nocompileSdkor Android Gradle Plugin floor on consumers.
Previouslycore-ktx1.18.0 requiredcompileSdk36 and AGP 8.9.1.
0.3.0
- Lowered the minimum supported Android API level from 29 (Android 10) to 27
(Android 8.1). Device data collection on API 27 and 28 falls back to
pre-API-28 methods for the app version code and MediaDRM cleanup; no collected
signals are lost. - Fixed
enableLoggingnot being forwarded fromSdkConfigto
DeviceDataCollector, which caused collector-level error logs to be silently
suppressed even when logging was explicitly enabled.
0.2.0
- Breaking:
collectAndSend()now returnsResult<TrackingResult>instead
ofResult<Unit>. TheTrackingResultcontains atrackingTokenproperty
for use with the minFraud API's/device/tracking_tokenfield. - Breaking:
collectDeviceData()andsendDeviceData()are no longer part
of the public API. UsecollectAndSend()instead.