Skip to content

Commit 5b2b128

Browse files
author
WarpLink
committed
fix: report real SDK version in User-Agent and attribution sdk_version
The runtime version string comes from the WarpLink.SDK_VERSION constant, which had never been bumped past 0.1.1. Every prior release (including 1.0.1, whose changelog claimed otherwise) sent WarpLink-Android/0.1.1 in the User-Agent and sdk_version=0.1.1 in attribution requests, because VERSION_NAME (the Maven coordinate) does not feed those code paths. Bump the constant to 1.0.2 so the User-Agent, FingerprintCollector, attribution sdk_version, and the public WarpLink.SDK_VERSION value all report 1.0.2.
1 parent 591f8ef commit 5b2b128

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.2] - 2026-06-26
9+
10+
### Fixed
11+
12+
- The SDK now actually reports its real version in the `WarpLink-Android/<version>`
13+
User-Agent and in the `sdk_version` field of attribution requests. Every prior
14+
release (including 1.0.1) reported `0.1.1` here, because the runtime version is
15+
read from the `WarpLink.SDK_VERSION` constant, which had never been bumped. The
16+
1.0.1 change only updated `VERSION_NAME` (the Maven coordinate), which does not
17+
feed the User-Agent, so the wire version was unchanged. This release bumps the
18+
constant itself, so `WarpLink.SDK_VERSION`, the User-Agent, the fingerprint
19+
collector, and attribution `sdk_version` all report `1.0.2`.
20+
821
## [1.0.1] - 2026-06-26
922

1023
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add the dependency to your app's `build.gradle.kts`:
1616

1717
```kotlin
1818
dependencies {
19-
implementation("app.warplink:sdk:1.0.1")
19+
implementation("app.warplink:sdk:1.0.2")
2020
}
2121
```
2222

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
33

44
GROUP=app.warplink
55
POM_ARTIFACT_ID=sdk
6-
VERSION_NAME=1.0.1
6+
VERSION_NAME=1.0.2
77

88
POM_NAME=WarpLink Android SDK
99
POM_DESCRIPTION=Deep linking SDK for Android

sdk/src/main/kotlin/app/warplink/WarpLink.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import app.warplink.internal.performDeferredCheck
1313

1414
object WarpLink {
1515

16-
const val SDK_VERSION = "0.1.1"
16+
const val SDK_VERSION = "1.0.2"
1717

1818
private val lock = Any()
1919
private var apiKey: String? = null

0 commit comments

Comments
 (0)