Skip to content

Commit

Permalink
update-small-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IloveJavaa committed Feb 1, 2024
1 parent d8f9a8c commit 62891e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class TrackierSDKInstance {
var organic = false
var gender = ""
var dob = ""
var storeRetargeting = ""
var preinstallData: MutableMap<String, Any>? = null


Expand Down Expand Up @@ -339,10 +338,10 @@ class TrackierSDKInstance {
dlt.onDeepLinking(dlResult)
}

fun getRetargetingData(): String {
fun getRetargetingData(): MutableMap<String, Any> {
val body = mutableMapOf<String, Any>()
body["rtgtime"] = Util.getSharedPrefString(this.config.context, Constants.STORE_RETARGETING_TIME)
body["url"] = Util.getSharedPrefString(this.config.context, Constants.STORE_RETARGETING)
return body.toString()
return body
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TrackierWorkRequest(
var gender = ""
var dob = ""
var preinstallData: MutableMap<String, Any>? = null
var storeRetargeting = ""
var storeRetargeting: MutableMap<String, Any>? = null

private fun setDefaults(): MutableMap<String, Any> {
val body = mutableMapOf<String, Any>()
Expand Down Expand Up @@ -89,7 +89,7 @@ class TrackierWorkRequest(
body["cphone"] = customerPhoneNumber
body["cname"] = customerName
body["getPreLoadAndPAIdata"] = preinstallData.toString()
body["storeRetargeting"] = storeRetargeting
body["storeRetargeting"] = storeRetargeting.toString()
return body
}

Expand Down

0 comments on commit 62891e2

Please sign in to comment.