TP-53619 | backport | release-5.15.1 (#11738)

Co-authored-by: ashutosh-y_navi <ashutosh.y@navi.com>
Co-authored-by: vedant aggarwal <vedant.aggarwal@navi.com>
Co-authored-by: Shaurya Rehan <shaurya.rehan@navi.com>
Co-authored-by: Somarapu Vamshi <somarapu.vamshi@navi.com>
Co-authored-by: Varun Jain <varun.jain@navi.com>
Co-authored-by: Balrambhai Sharma <sharma.balrambhai@navi.com>
Co-authored-by: shankar yadav <shankar.yadav@navi.com>
Co-authored-by: Ankit Yadav <ankit.yadav@navi.com>
Co-authored-by: Sohan Reddy Atukula <sohan.reddy@navi.com>
Co-authored-by: Neil Mehta <neil.mehta@navi.com>
Co-authored-by: Raaj Gopal <raaj.gopal@navi.com>
Co-authored-by: Anmol Agrawal <anmol.agrawal@navi.com>
Co-authored-by: Apoorv Nigam <apoorv.nigam@navi.com>
Co-authored-by: Prakhar Saxena <prakhar.saxena@navi.com>
Co-authored-by: shreyansu raj <shreyansu.raj@navi.com>
Co-authored-by: Mehul Garg <mehul.garg@navi.com>
Co-authored-by: Saksham Mahajan <saksham.mahajan@navi.com>
Co-authored-by: Kshitij Pramod Ghongadi <kshitij.pramod@navi.com>
Co-authored-by: Hitesh Kumar <hitesh.kumar@navi.com>
Co-authored-by: Aparna Vadlamani <aparna.vadlamani@navi.com>
Co-authored-by: Akshita Singh <akshita.singh@navi.com>
This commit is contained in:
Shivam Goyal
2024-07-06 02:28:42 +05:30
committed by GitHub
parent ae841a5c24
commit a43b7d0dba
2 changed files with 21 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ plugins {
alias libs.plugins.facebook.react
}
def VERSION_CODE = 423
def VERSION_NAME = "5.14.0"
def VERSION_CODE = 425
def VERSION_NAME = "5.15.1"
android {
namespace 'com.naviapp'

View File

@@ -282,7 +282,25 @@ open class NaviApplication :
AlfredManager.stopRecording()
ResourceManager.initResourceDownloadWorker(applicationContext)
}
NaviTrackEvent.trackEventOnClickStream(eventName = NAVIAPP_BACKGROUND_PUSH)
val screenName =
when (activity) {
is BaseActivity -> {
activity.screenName
}
is InsuranceBaseActivity -> {
activity.screenName
}
is ChatBaseActivity -> {
activity.screenName
}
else -> {
activity.javaClass.simpleName
}
}
NaviTrackEvent.trackEventOnClickStream(
eventName = NAVIAPP_BACKGROUND_PUSH,
mapOf("screenName" to screenName)
)
}
}