【埋点】推送界面展示事件中展示类型和展示位置上报为空

This commit is contained in:
renhaoting 2026-01-22 13:55:23 +08:00
parent 19f1dbe676
commit c3a1455482
1 changed files with 4 additions and 1 deletions

View File

@ -460,7 +460,10 @@ class NotificationUtil private constructor() {
channelName: String,
importance: Int = NotificationManager.IMPORTANCE_DEFAULT) {
if (!isNotificationsEnabled()) {
StatisticUtil.reportEvents(StatisticUtil.KEY_Push_Show)
StatisticUtil.reportEvents(StatisticUtil.KEY_Push_Show, mapOf(
"Push_Position" to 1,
"Push_Type" to 1
))
AndroidUtil.requestNotifyPermission(object : PermissionUtil.ICallback() {
override fun onAllGranted() {
doShowNotification(notificationId, notification, channelName, importance)