Updated on 2026-08-14

This commit is contained in:
Tangem 2025-06-06 15:32:48 +04:00
parent 60c861b9e7
commit af04a09095
4 changed files with 30 additions and 1 deletions

View file

@ -43,4 +43,22 @@ sealed class PushNotificationAnalyticEvents(
AnalyticsParam.STATE to if (isAllowed) "Allow" else "Cancel",
),
)
data class NotificationOpened(
val type: String,
) : PushNotificationAnalyticEvents(
event = "Push Notification Opened",
params = mapOf(
AnalyticsParam.TYPE to type,
),
)
data class NotificationsEnabled(
val isEnabled: Boolean,
) : PushNotificationAnalyticEvents(
event = "Push Toggle Clicked",
params = mapOf(
AnalyticsParam.STATE to if (isEnabled) "On" else "Off",
),
)
}