Skip to content

Commit

Permalink
Update: mac address key
Browse files Browse the repository at this point in the history
  • Loading branch information
IloveJavaa committed Jul 19, 2024
1 parent 38cf112 commit 285909d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ data class DeviceInfo(
var screenDensityNumber: Int = 0
var imei1: String? = ""
var imei2: String? = ""
var macAddress: String? = ""
var mac: String? = ""

companion object {
fun init(deviceInfo: DeviceInfo, context: Context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ object TrackierSDK {

@JvmStatic
fun setMacAddress(macAddress: String) {
instance.macAddress = macAddress
instance.mac = macAddress
}

@JvmStatic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TrackierSDKInstance {
var customerPhoneNumber = ""
var imei1 = ""
var imei2 = ""
var macAddress = ""
var mac = ""
var customerOptionals: MutableMap<String, Any>? = null

var firstInstallTime = ""
Expand Down Expand Up @@ -179,7 +179,7 @@ class TrackierSDKInstance {
}
device.imei1 = this.imei1
device.imei2 = this.imei2
device.macAddress = this.macAddress
device.mac = this.mac
trackierWorkRequest.device = device
trackierWorkRequest.gaid = gaid
trackierWorkRequest.refDetails = getReferrerDetails()
Expand Down

0 comments on commit 285909d

Please sign in to comment.