|
红米8A(Redmi 8A)PUSH推送怎样进入应用内指定页面?'title' => '消息标题','description' => '消息描述消息描述消息描述','payload' => '消息描述消息描述消息描述',
'restricted_package_name' => "xxxx.xxxx.xxxx",
'pass_through' => 0,
'notify_type' => -1,
'time_to_live' => 604800000,
'notify_id' => rand(1000000000,9999999999),
'extra.notification_style_type' => 1,
'extra.notification_style_button_left_notify_effect' => 2,//1打开应用 2打开页面 3打开网页
'extra.notification_style_button_left_name' => '点击此处查看详情',
'extra.notification_style_button_left_intent_class' => "/home",
虽然提示‘Received push messages for 1 REGID’,也收到消息了,但是没有出现‘左侧按钮’,并且点击消息本身会跳转到应用首页而不是‘/home’页?
通知展示的效果和下图(官方提供)并不一样。
|
|