单击后,FCM通知不会从通知托盘中删除

时间:2017-03-30 02:50:17

标签: android firebase android-notifications firebase-cloud-messaging

我的应用使用FCM,并且notification中包含FCM message body个密钥。大多数设备在点击notification时都会从notification tray中删除。但是,我的Asus Zenpad 8, android 5.0.2平板电脑设备中未将其删除。这是错误的步骤:

第1步:

  1. notification A
  2. notification B
  3. 点击notification A =>未从notification tray

    中删除

    4A。 - 点击notification B => A,B都从notification tray

    中移除

    4B。 - 点击notification A =>没有任何事情发生,A,B仍然保持在notification tray

  4. 第2步:

    1. notification A
    2. 点击notification A =>未从notification tray
    3. 中删除
    4. 继续点击notification A =>什么也没发生,A还在继续 notification tray
    5. 是否有解决方案可以从autoCancel消息设置FCM,或者从客户端处理remove每个notification

0 个答案:

没有答案
相关问题