Updated on 2026-08-14
This commit is contained in:
parent
60c861b9e7
commit
af04a09095
4 changed files with 30 additions and 1 deletions
|
|
@ -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",
|
||||
),
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue