使用Laravel推送通知,收到的消息重叠,如何恢复?

使用Laravel推送通知,收到的消息重叠,如何恢复?,laravel,notifications,push,Laravel,Notifications,Push,我已经使用laravel完成了推送通知。但在我的手机上,通知是重叠的。如何显示计数和徽标。它不应重叠嗨,我找到了解决此问题的方法。我在消息参数中添加了“notid”属性。这是我的代码 $message=PushNotification::message($msg,数组('message'=>$msg, 'title'=>$title,'notId'=>rand(10100),'locKey'=>localized key','locArgs'=>array('localized args','l

我已经使用laravel完成了推送通知。但在我的手机上,通知是重叠的。如何显示计数和徽标。它不应重叠

嗨,我找到了解决此问题的方法。我在消息参数中添加了“notid”属性。这是我的代码
$message=PushNotification::message($msg,数组('message'=>$msg, 'title'=>$title,'notId'=>rand(10100),'locKey'=>localized key','locArgs'=>array('localized args','localized args'), )
);

安卓、ios、windows手机?你能发布它的截图吗?显示一些代码?嗨,我找到了这个问题的解决方案。我在消息参数中添加了“notid”属性。这是我的代码$message=PushNotification::message($msg,数组('message'=>$msg,'title'=>$title,'image'=>$image,'additionalData'=>$openUrl,'actionLocKey'=>'View','notId'=>rand(10100),'locKey'=>'localized key','locArgs'=>数组('localized args','localized args',),)