如何使用Firebase在iOS 10中实现丰富的通知 [英] How to implement rich notifications in ios 10 with Firebase

查看:74
本文介绍了如何使用Firebase在iOS 10中实现丰富的通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,我一直在寻找解决方案.但是我什么也找不到.我已经使用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.

现在已解决..您可以检查该链接,也可以检查此答案 AL.

这篇关于如何使用Firebase在iOS 10中实现丰富的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆