【埋点】推送界面展示事件中展示类型和展示位置上报为空
This commit is contained in:
parent
19f1dbe676
commit
c3a1455482
|
|
@ -460,7 +460,10 @@ class NotificationUtil private constructor() {
|
||||||
channelName: String,
|
channelName: String,
|
||||||
importance: Int = NotificationManager.IMPORTANCE_DEFAULT) {
|
importance: Int = NotificationManager.IMPORTANCE_DEFAULT) {
|
||||||
if (!isNotificationsEnabled()) {
|
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() {
|
AndroidUtil.requestNotifyPermission(object : PermissionUtil.ICallback() {
|
||||||
override fun onAllGranted() {
|
override fun onAllGranted() {
|
||||||
doShowNotification(notificationId, notification, channelName, importance)
|
doShowNotification(notificationId, notification, channelName, importance)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue