Skip to content

Commit

Permalink
fix-app-anr-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
IloveJavaa committed May 27, 2024
1 parent d494895 commit 38acaa4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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=47
VERSION_NAME=1.6.57
VERSION_CODE=48
VERSION_NAME=1.6.58
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.trackier.sdk


object Constants {
const val SDK_VERSION = "1.6.57"
const val SDK_VERSION = "1.6.58"
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 @@ -123,7 +123,7 @@ data class DeviceInfo(
setCarrierInfo(deviceInfo, context)
deviceInfo.isEmulator = checkIsEmulator()

deviceInfo.fbAttributionId = getFBAttributionId(context.contentResolver)
//deviceInfo.fbAttributionId = getFBAttributionId(context.contentResolver)
deviceInfo.locale = Locale.getDefault().toString()

if (VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
Expand Down Expand Up @@ -445,7 +445,7 @@ data class DeviceInfo(
}


@SuppressLint("Range")
/*@SuppressLint("Range")
fun getFBAttributionId(contentResolver: ContentResolver): String {
try {
val attributionIdContentUri =
Expand All @@ -467,7 +467,7 @@ data class DeviceInfo(
} catch (e: Exception) {
return ""
}
}
}*/
}
}

Expand Down

0 comments on commit 38acaa4

Please sign in to comment.