Skip to content

Commit

Permalink
feat: google play full referrer collection
Browse files Browse the repository at this point in the history
- Collect and send full referrer to backend
  • Loading branch information
Hemant-Mann committed Mar 6, 2022
1 parent 771bb56 commit 195bd0e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions TrackierSDK/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ POM_DEVELOPER_ID=trackier
POM_DEVELOPER_NAME=Trackier
PUBLISH_DEVELOPER_EMAIL=[email protected]
POM_LICENCE_DIST=repo
VERSION_CODE=20
VERSION_NAME=1.6.17
VERSION_CODE=21
VERSION_NAME=1.6.18
GROUP=com.trackier
POM_SCM_DEV_CONNECTION=scm\:[email protected]\:trackier/android_sdk.git
POM_LICENCE_NAME=The Apache Software License, Version 2.0
Expand Down
4 changes: 2 additions & 2 deletions TrackierSDK/sdk-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 30
versionCode 20
versionName "1.6.17"
versionCode 21
versionName "1.6.18"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.trackier.sdk

object Constants {
const val SDK_VERSION = "1.6.17"
const val SDK_VERSION = "1.6.18"
const val USER_AGENT = "com.cloudstuff.trackiersdk:trackier-android:" + SDK_VERSION
const val API_VERSION = "v1"
const val BASE_URL = "https://events.trackier.io/" + API_VERSION + "/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class TrackierWorkRequest(val kind: String, private val appToken: String, privat
body["gaid"] = gaid!!
}
body["isLAT"] = isLAT
body["referrer"] = refDetails.url
body["clickId"] = refDetails.clickId
body["clickTime"] = refDetails.clickTime
if (Util.getYear(refDetails.installTime) == Constants.EPOCH_YEAR) {
Expand Down

0 comments on commit 195bd0e

Please sign in to comment.