问题描述
我一直在为此寻找解决方案.但我找不到任何东西.我已经使用 FCM 为 iOS 实现了推送通知.但是不知道FCM是否支持iOS 10丰富的通知.如果是这样,我没有找到实现它的代码.提前致谢.
I have been looking for a solution for this since quite a while. But I am not able to find anything. I have implemented Push Notifications for iOS using FCM. But I don't know if FCM supports iOS 10 rich notifications. If it does, I didn't find code to implement it. Thanks in advance.
推荐答案
我有同样的问题,为什么富通知不起作用..问题出在 FCM mutable-content
有效载荷上..它变成了当有效载荷接收到 gcm.notification.mutable-content
时,这就是为什么存在尚未解决的问题.
I have the same question why rich notification not working.. and the problem is with FCM mutable-content
payload .. it turns in to gcm.notification.mutable-content
when payload receives and that's why there is a problem which is not resolved yet.
有关更多信息,您可以从 github 查看此问题.
For more information, you can check this issue from github.
现在已经解决了..您可以查看该链接并查看此answer AL.
这篇关于如何使用 Firebase 在 ios 10 中实现丰富的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!