TP-59438 | Sayed Owais Ali | reverted alfred version changes (#10022)
This commit is contained in:
@@ -233,37 +233,38 @@ open class NaviApplication : MultiDexApplication(), Application.ActivityLifecycl
|
||||
if (isDifferentPackage) {
|
||||
return
|
||||
}
|
||||
val screenName: String?
|
||||
val moduleName: String?
|
||||
when (activity) {
|
||||
is BaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = activity.getCurrentModuleName()
|
||||
if (AlfredManager.isAlfredRecordingEnabled()) {
|
||||
val screenName: String?
|
||||
val moduleName: String?
|
||||
when (activity) {
|
||||
is BaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = activity.getCurrentModuleName()
|
||||
}
|
||||
is InsuranceBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.INSURANCE_MODULE
|
||||
}
|
||||
is ChatBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.CHAT_MODULE
|
||||
}
|
||||
else -> {
|
||||
screenName = AlfredConstants.THIRD_PARTY_SCREEN
|
||||
moduleName = AlfredConstants.THIRD_PARTY_MODULE
|
||||
}
|
||||
}
|
||||
|
||||
is InsuranceBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.INSURANCE_MODULE
|
||||
try {
|
||||
AlfredManager.startRecording(
|
||||
activity.applicationContext,
|
||||
activity.window.decorView.rootView,
|
||||
screenName,
|
||||
moduleName,
|
||||
activity = activity
|
||||
)
|
||||
} catch (e: Exception) {
|
||||
e.log()
|
||||
}
|
||||
|
||||
is ChatBaseActivity -> {
|
||||
screenName = activity.screenName
|
||||
moduleName = AlfredConstants.CHAT_MODULE
|
||||
}
|
||||
|
||||
else -> {
|
||||
screenName = AlfredConstants.THIRD_PARTY_SCREEN
|
||||
moduleName = AlfredConstants.THIRD_PARTY_MODULE
|
||||
}
|
||||
}
|
||||
try {
|
||||
AlfredManager.onActivityResumed(
|
||||
screenName = screenName,
|
||||
moduleName = moduleName,
|
||||
activity = activity
|
||||
)
|
||||
} catch (e: Exception) {
|
||||
e.log()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ moengage-android-sdk = "12.6.02"
|
||||
moengage-inapp = "6.5.0"
|
||||
moengage-push-amp-plus = "6.2.1"
|
||||
moengage-rich-notification = "4.3.2"
|
||||
navi-alfred = "1.1.4-20240221.103807-16"
|
||||
navi-alfred = "1.1.4"
|
||||
navi-guarddog = "1.3.2"
|
||||
navi-pulse = "1.0.1"
|
||||
navi-uitron = "1.3.0"
|
||||
|
||||
Reference in New Issue
Block a user