Skip to content

Commit

Permalink
fix: checkin req params
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed Oct 1, 2023
1 parent 197918a commit 6ba0a08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions src/main/kotlin/be/zvz/kotlininside/security/Auth.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import java.time.ZoneId
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
import java.util.*
import kotlin.random.Random

class Auth {
private val seoulTimeZone = TimeZone.getTimeZone("Asia/Seoul")
Expand Down Expand Up @@ -64,13 +65,17 @@ class Auth {
radio = "FLO-04.04"
clientId = "android-google"
sdkVersion = Const.Firebase.OS_VERSION.toInt()
packageVersionCode = Const.DC_APP_VERSION_CODE.toInt()
}
lastCheckinMs = 0
roaming = "WIFI::"
}
locale = Locale.getDefault().language
macAddress.add(RandomStringUtils.random(12, "ABCDEF0123456789"))
meid = RandomStringUtils.randomNumeric(15)
timeZone = ZoneId.systemDefault().id
locale = Locale.getDefault().toString()
loggingId = Random(System.currentTimeMillis()).nextLong()
macAddress.add(RandomStringUtils.random(12, "abcdef0123456789"))
meid = RandomStringUtils.randomNumeric(14)
serial = RandomStringUtils.random(8, "abcdef0123456789")
timeZone = TimeZone.getDefault().id
version = 3
otaCert.add("--no-output--")
macAddressType.add("wifi")
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/be/zvz/kotlininside/value/Const.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ object Const {
const val X_SCOPE_REFRESH_REMOTE_CONFIG = "/topics/DcRefreshRemoteConfig"
const val X_SCOPE_SHOW_NOTICE_MESSAGE = "/topics/DcShowNoticeMessage"
const val X_FIREBASE_APP_NAME_HASH = "R1dAH9Ui7M-ynoznwBdw01tLxhI"
const val USER_AGENT = "Android-GCM/1.5"
const val USER_AGENT = "Android-GCM/1.5 (generic_x86 KK)"
const val APP = DC_APP_PACKAGE
const val GCM_VERSION = Firebase.GCM_VERSION
const val CERT = Firebase.CERT
Expand Down

0 comments on commit 6ba0a08

Please sign in to comment.