Android FCM通知未进入某些Android设备
当我为Android应用实现FCM通知时.我未在Mi的某些Android设备(如Mi,Oppo,一加二等)中收到通知,而在Mi中刷新了令牌,但未收到通知,而Oppo或一加二未获得刷新后的令牌和通知.我该如何解决这个问题?谢谢...
When I implement the FCM Notifications for Android app. I am not getting the notifications in some Android devices like Mi, Oppo, One Plus Two etc. in Mi getting refreshed token but not getting the notification and Oppo or One Plus Two not getting the refreshed token and notifications. How can I fix this problem? Thanks...
@Raman Dhiman
@Raman Dhiman
Form Android版本Oreo,在通知管理器中对设置通知进行了更改.为此,您必须创建和管理通知渠道,才能在其中设置通知通知管理器.
Form Android version Oreo, there are changes for setting notification in the notification manager. For that, you have to create and manage notification channel to set a notification in notification manager.
要设置Firebase通知,请查看以下两个链接:
For setting Firebase notification, check out below two links:
-
Firebase云消息传递:警告更新为Android Oreo.就您而言,您的日志猫以及设备通知Toast消息中都会出现错误(仅当开发人员选项处于启用状态时)
Firebase Cloud Messaging: Warning updating to Android Oreo. In your case, you will get an error in your log cat as well as also in your device notification toast message (only if developer option is on)
如何创建和管理我认为您将从这些信息中解决您的问题.
I think you will get resolve your issue from this information.