TP-53619 | Master → Development (Release 5.3.2) (#10037)
Co-authored-by: Prakhar Saxena <prakhar.saxena@navi.com>
This commit is contained in:
@@ -12,8 +12,8 @@ plugins {
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
def VERSION_CODE = 383
|
||||
def VERSION_NAME = "5.3.1"
|
||||
def VERSION_CODE = 384
|
||||
def VERSION_NAME = "5.3.2"
|
||||
|
||||
android {
|
||||
namespace 'com.naviapp'
|
||||
|
||||
@@ -41,7 +41,7 @@ class EmptyBodyHandlingConverterFactory(private val moduleName: String? = null)
|
||||
} else {
|
||||
CommonNaviAnalytics.naviAnalytics
|
||||
.Errors()
|
||||
.onApiFailure("${moduleName.orEmpty()}$EMPTY_EVENT_NAME", null, null, null)
|
||||
.onApiFailure(EMPTY_EVENT_NAME, null, null, null, moduleName = moduleName)
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,8 @@ class CommonNaviAnalytics private constructor() {
|
||||
eventName: String,
|
||||
error: GenericErrorResponse?,
|
||||
errorMessage: ErrorMessage?,
|
||||
apiUrl: String?
|
||||
apiUrl: String?,
|
||||
moduleName: String? = null
|
||||
) {
|
||||
val map =
|
||||
mapOf(
|
||||
@@ -49,6 +50,7 @@ class CommonNaviAnalytics private constructor() {
|
||||
Pair("message", errorMessage.toString()),
|
||||
Pair("apiUrl", apiUrl.toString()),
|
||||
Pair("logMessage", error?.logMessage.toString()),
|
||||
Pair("module_name", moduleName.orEmpty()),
|
||||
)
|
||||
NaviTrackEvent.trackEvent(eventName, map)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user