TP-41659 | review comments implementation (#7948)
This commit is contained in:
@@ -817,6 +817,13 @@ class NaviPayAnalytics private constructor() {
|
||||
)
|
||||
}
|
||||
|
||||
fun onShareQrFailure(error: String) {
|
||||
NaviTrackEvent.trackEventOnClickStream(
|
||||
"Dev_NaviPay_ShareQr_Failure",
|
||||
mapOf("error" to error)
|
||||
)
|
||||
}
|
||||
|
||||
fun onCustomerStatusChecked(customerStatus: String) {
|
||||
NaviTrackEvent.trackEventOnClickStream(
|
||||
"Dev_NaviPay_MoreOptions_CustomerStatus", mapOf(
|
||||
|
||||
@@ -31,6 +31,7 @@ import androidx.compose.ui.unit.dp
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.hilt.navigation.compose.hiltViewModel
|
||||
import androidx.lifecycle.compose.collectAsStateWithLifecycle
|
||||
import com.navi.analytics.utils.NaviTrackEvent
|
||||
import com.navi.common.screenshot.ShareBitmapImage
|
||||
import com.navi.common.utils.createBitmapFromView
|
||||
import com.navi.common.utils.log
|
||||
@@ -125,7 +126,7 @@ fun NaviPayHomeScreen(
|
||||
view = binding.root
|
||||
)
|
||||
} catch (e: Exception) {
|
||||
e.log()
|
||||
naviPayAnalytics.onShareQrFailure(e.message.toString())
|
||||
null
|
||||
}
|
||||
bitmap?.let {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user