问题描述
一段时间以来,我一直在寻找解决方案.但是我什么也找不到.我已经使用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.
这篇关于如何使用Firebase在iOS 10中实现丰富的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!