From 1a7cbddc948d6156a5bd5a3116d7e2244129e6d8 Mon Sep 17 00:00:00 2001 From: KennyHuRadar <139801512+KennyHuRadar@users.noreply.github.com> Date: Wed, 12 Jun 2024 13:07:32 -0400 Subject: [PATCH] Kennyhu/fence 1886 building bundle id package name restrictions for torrid (#355) * add app package into header * change header field * Bump to 3.13.1 --------- Co-authored-by: Liam Meier --- sdk/build.gradle | 2 +- sdk/src/main/java/io/radar/sdk/RadarApiClient.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/build.gradle b/sdk/build.gradle index 194fea02..9a2c30d7 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -10,7 +10,7 @@ apply plugin: "org.jetbrains.dokka" apply plugin: 'io.radar.mvnpublish' ext { - radarVersion = '3.13.0' + radarVersion = '3.13.1' } String buildNumber = ".${System.currentTimeMillis()}" diff --git a/sdk/src/main/java/io/radar/sdk/RadarApiClient.kt b/sdk/src/main/java/io/radar/sdk/RadarApiClient.kt index 5a7a48f8..97a10009 100644 --- a/sdk/src/main/java/io/radar/sdk/RadarApiClient.kt +++ b/sdk/src/main/java/io/radar/sdk/RadarApiClient.kt @@ -102,7 +102,8 @@ internal class RadarApiClient( "X-Radar-Device-Model" to RadarUtils.deviceModel, "X-Radar-Device-OS" to RadarUtils.deviceOS, "X-Radar-Device-Type" to RadarUtils.deviceType, - "X-Radar-SDK-Version" to RadarUtils.sdkVersion + "X-Radar-SDK-Version" to RadarUtils.sdkVersion, + "X-Radar-Mobile-Origin" to context.packageName ) if (RadarSettings.isXPlatform(context)) { headers["X-Radar-X-Platform-SDK-Type"] = RadarSettings.getXPlatformSDKType(context)