更新时间:2022-12-27 10:55:50
我发现的***解决方案是仅使用Data
有效负载并处理onMessageReceived
方法中的背景/前景消息,并显示您的自定义通知.
The best solution i have found is to use only Data
payload and handle both background/foreground messages inside onMessageReceived
method and show your custom notifications.