• <tfoot id='cIctF'></tfoot>
    <i id='cIctF'><tr id='cIctF'><dt id='cIctF'><q id='cIctF'><span id='cIctF'><b id='cIctF'><form id='cIctF'><ins id='cIctF'></ins><ul id='cIctF'></ul><sub id='cIctF'></sub></form><legend id='cIctF'></legend><bdo id='cIctF'><pre id='cIctF'><center id='cIctF'></center></pre></bdo></b><th id='cIctF'></th></span></q></dt></tr></i><div id='cIctF'><tfoot id='cIctF'></tfoot><dl id='cIctF'><fieldset id='cIctF'></fieldset></dl></div>
    <legend id='cIctF'><style id='cIctF'><dir id='cIctF'><q id='cIctF'></q></dir></style></legend>

    <small id='cIctF'></small><noframes id='cIctF'>

      <bdo id='cIctF'></bdo><ul id='cIctF'></ul>

      1. 在没有用户点击通知的情况下处理数据负载?

        Handle the data payload without user tapping on the notification?(在没有用户点击通知的情况下处理数据负载?)

        • <bdo id='9a8bH'></bdo><ul id='9a8bH'></ul>
          • <tfoot id='9a8bH'></tfoot>
              <tbody id='9a8bH'></tbody>

              <i id='9a8bH'><tr id='9a8bH'><dt id='9a8bH'><q id='9a8bH'><span id='9a8bH'><b id='9a8bH'><form id='9a8bH'><ins id='9a8bH'></ins><ul id='9a8bH'></ul><sub id='9a8bH'></sub></form><legend id='9a8bH'></legend><bdo id='9a8bH'><pre id='9a8bH'><center id='9a8bH'></center></pre></bdo></b><th id='9a8bH'></th></span></q></dt></tr></i><div id='9a8bH'><tfoot id='9a8bH'></tfoot><dl id='9a8bH'><fieldset id='9a8bH'></fieldset></dl></div>

              <small id='9a8bH'></small><noframes id='9a8bH'>

                <legend id='9a8bH'><style id='9a8bH'><dir id='9a8bH'><q id='9a8bH'></q></dir></style></legend>
                  本文介绍了在没有用户点击通知的情况下处理数据负载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在后台时,应用在通知托盘中接收通知负载,并且仅在用户点击通知时处理数据负载.

                  When in the background, apps receive the notification payload in the notification tray, and only handle the data payload when the user taps on the notification.

                  有没有什么方法可以在用户不点击通知的情况下处理数据负载?

                  Is there any way to handle the data payload without user tapping on the notification?

                  推荐答案

                  基于 处理消息:

                  App state   Notification        Data                Both
                  Foreground  onMessageReceived   onMessageReceived   onMessageReceived
                  Background  System tray         onMessageReceived   Notification: system tray
                                                                      Data: in extras of the intent.
                  

                  它不是专门通过点击通知来处理的.您可以在 onMessageReceived() 中处理它.很确定点击动作也取决于你如何实现它.

                  It's not specifically handled ONLY by tapping on the Notification. You may handle it in the onMessageReceived(). Pretty sure the tap action also depends on how you implement it.

                  如果您打算让它做其他事情,请提供更多详细信息.

                  If you intend for it to do something else, do provide more details.

                  这篇关于在没有用户点击通知的情况下处理数据负载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  When does a FCM token expire?(FCM 令牌何时到期?)
                  Firebase Cloud Messaging (FCM) - Launch Activity when user clicks the notification with extras(Firebase Cloud Messaging (FCM) - 当用户点击带有附加功能的通知时启动活动)
                  Implement Firebase inside of a Library(在库中实现 Firebase)
                  Firebase Backward compatibility with GCM(Firebase 与 GCM 的向后兼容性)
                  Receiving the FCM notifications multiple times on Nougat(在 Nougat 上多次接收 FCM 通知)
                  Firebase FCM MismatchSenderID(Firebase FCM 不匹配SenderID)
                1. <small id='LGpyO'></small><noframes id='LGpyO'>

                  <i id='LGpyO'><tr id='LGpyO'><dt id='LGpyO'><q id='LGpyO'><span id='LGpyO'><b id='LGpyO'><form id='LGpyO'><ins id='LGpyO'></ins><ul id='LGpyO'></ul><sub id='LGpyO'></sub></form><legend id='LGpyO'></legend><bdo id='LGpyO'><pre id='LGpyO'><center id='LGpyO'></center></pre></bdo></b><th id='LGpyO'></th></span></q></dt></tr></i><div id='LGpyO'><tfoot id='LGpyO'></tfoot><dl id='LGpyO'><fieldset id='LGpyO'></fieldset></dl></div>
                    <bdo id='LGpyO'></bdo><ul id='LGpyO'></ul>
                        <tbody id='LGpyO'></tbody>
                          <tfoot id='LGpyO'></tfoot>
                          <legend id='LGpyO'><style id='LGpyO'><dir id='LGpyO'><q id='LGpyO'></q></dir></style></legend>