Skip to content

Commit 1e14b3b

Browse files
committed
Readded cpuArch to native userAgent.
1 parent 8577dff commit 1e14b3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 1.9.0 (unreleased)
44

5-
- Updated user agent string formats to match backend parser requirements.
5+
- Updated user agent string formats to allow viewing version distributions in the new PowerSync dashboard.
66
- Sync options: `newClientImplementation` is now the default.
77
- Make `androidx.sqlite:sqlite-bundled` an API dependency of `:core` to avoid toolchain warnings.
88

common/src/nativeMain/kotlin/com/powersync/sync/UserAgent.native.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ import com.powersync.build.LIBRARY_VERSION
44
import kotlin.experimental.ExperimentalNativeApi
55

66
@OptIn(ExperimentalNativeApi::class)
7-
internal actual fun userAgent(): String = "powersync-kotlin/v$LIBRARY_VERSION ${Platform.osFamily.name}"
7+
internal actual fun userAgent(): String = "powersync-kotlin/v$LIBRARY_VERSION ${Platform.cpuArchitecture.name}/${Platform.osFamily.name}"

0 commit comments

Comments
 (0)