request body changed
This commit is contained in:
parent
18851cf7a1
commit
800eeadd22
@ -14,8 +14,9 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.mob.ustmm"
|
||||
applicationId = "com.mob.utsmyanmar"
|
||||
minSdk = 24
|
||||
//noinspection OldTargetApi
|
||||
targetSdk = 36
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
@ -38,6 +39,7 @@ android {
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
buildConfig = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@ import android.content.Context
|
||||
import android.os.BatteryManager
|
||||
import android.os.Build
|
||||
import androidx.annotation.RequiresPermission
|
||||
import com.mob.utsmyanmar.BuildConfig
|
||||
import com.mob.utsmyanmar.model.sirius.TMSValidity
|
||||
import com.mob.utsmyanmar.model.sirius.ValidityStatus
|
||||
import com.mob.utsmyanmar.viewmodel.SharedViewModel
|
||||
@ -59,10 +60,10 @@ class TMSUtil private constructor() {
|
||||
fun generateRequestParams(lastTransName: String, lastTransTime: Long): SiriusRequest =
|
||||
SiriusRequest().apply {
|
||||
serial = getSerialNumber()
|
||||
appPackage = "com.mob.utsmyanmar"
|
||||
appPackage = BuildConfig.APPLICATION_ID
|
||||
androidVersion = Build.VERSION.RELEASE
|
||||
firmwareVersion = getSystemParams(AidlConstants.SysParam.FIRMWARE_VERSION)
|
||||
applicationVersion = "1.0"
|
||||
applicationVersion = BuildConfig.VERSION_NAME
|
||||
currentNetwork = getNetworkType()
|
||||
lastTransaction = lastTransName
|
||||
lastTranTime = lastTransTime
|
||||
|
||||
Loading…
Reference in New Issue
Block a user