NTP-1234 | Shivam | Pass isNeededForAppsflyer & isNeededForFirebase params in AnalyticsAction (#14972)
This commit is contained in:
@@ -118,7 +118,12 @@ fun handleBottomSheetAction(
|
||||
}
|
||||
}
|
||||
is AnalyticsAction -> {
|
||||
NaviTrackEvent.trackEvent(action.eventName.orEmpty(), action.eventProperties)
|
||||
NaviTrackEvent.trackEvent(
|
||||
eventName = action.eventName.orEmpty(),
|
||||
eventValues = action.eventProperties,
|
||||
isNeededForAppsflyer = action.isNeededForAppsflyer,
|
||||
isNeededForFirebase = action.isNeededForFirebase,
|
||||
)
|
||||
}
|
||||
is ScreenOverlayStateUpdateAction -> {
|
||||
val nudgeTransitionState =
|
||||
|
||||
@@ -52,7 +52,12 @@ fun ProfileScreenActionHandler(
|
||||
}
|
||||
}
|
||||
is AnalyticsAction -> {
|
||||
NaviTrackEvent.trackEvent(action.eventName.orEmpty(), action.eventProperties)
|
||||
NaviTrackEvent.trackEvent(
|
||||
eventName = action.eventName.orEmpty(),
|
||||
eventValues = action.eventProperties,
|
||||
isNeededForAppsflyer = action.isNeededForAppsflyer,
|
||||
isNeededForFirebase = action.isNeededForFirebase,
|
||||
)
|
||||
}
|
||||
else -> Unit
|
||||
}
|
||||
|
||||
@@ -65,8 +65,10 @@ class HandleCtaUseCase @Inject constructor() {
|
||||
}
|
||||
is AnalyticsAction -> {
|
||||
NaviTrackEvent.trackEvent(
|
||||
uiTronAction.eventName ?: "",
|
||||
uiTronAction.eventProperties,
|
||||
eventName = uiTronAction.eventName ?: "",
|
||||
eventValues = uiTronAction.eventProperties,
|
||||
isNeededForAppsflyer = uiTronAction.isNeededForAppsflyer,
|
||||
isNeededForFirebase = uiTronAction.isNeededForFirebase,
|
||||
)
|
||||
}
|
||||
is TriggerApiAction -> {
|
||||
|
||||
@@ -57,8 +57,10 @@ class ScreenOverlayUitronActionHandler @Inject constructor() {
|
||||
}
|
||||
is AnalyticsAction -> {
|
||||
NaviTrackEvent.trackEvent(
|
||||
uiTronAction.eventName ?: EMPTY,
|
||||
uiTronAction.eventProperties,
|
||||
eventName = uiTronAction.eventName ?: EMPTY,
|
||||
eventValues = uiTronAction.eventProperties,
|
||||
isNeededForAppsflyer = uiTronAction.isNeededForAppsflyer,
|
||||
isNeededForFirebase = uiTronAction.isNeededForFirebase,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user