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

        <tfoot id='yP97X'></tfoot>
        <legend id='yP97X'><style id='yP97X'><dir id='yP97X'><q id='yP97X'></q></dir></style></legend>
          <bdo id='yP97X'></bdo><ul id='yP97X'></ul>
      1. <small id='yP97X'></small><noframes id='yP97X'>

      2. 主题不会保存在 Firebase 中

        Topic Won#39;t Save in Firebase(主题不会保存在 Firebase 中)

        <tfoot id='CaXWW'></tfoot>

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

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

                  本文介绍了主题不会保存在 Firebase 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试让用户订阅主题并将其保存在 Firebase 中.我遵循了 firebase.google.com 的指南,并在用户点击按钮时添加了以下代码:

                  I'm trying to let a user subscribe to a Topic and save it in Firebase. I've followed the guides from firebase.google.com and have added the following code when a user taps a button:

                  [[FIRMessaging messaging] subscribeToTopic:@"/topics/sampletopic"];
                  

                  当我测试单击此按钮时,没有任何反应.我已经向 podfile 添加了必要的内容.我错过了什么?

                  Nothing happens though when I test clicking this button. I've added what is necessary to the podfile. What am I missing?

                  这甚至出现在 Firebase 的什么地方?在哪里可以看到我保存的主题?

                  edit: where does this even show up in Firebase? Where can I see my saved topics?

                  推荐答案

                  只要有订阅者,就会自动创建主题.但是,对于 FCM,它需要大约 24 小时才能在控制台中使用,以下帖子中也提到过:

                  A topic is created automatically so long that there is a subscriber. However, for FCM, it takes about 24 hours for it to be available in the console, as also mentioned in the following posts:

                  • https://stackoverflow.com/a/39371301/4625829
                  • 如何在 FCM 通知中创建主题
                  • https://stackoverflow.com/a/37848400/4625829

                  您可以在 Firebase 中发送新消息时查看它控制台,然后在目标部分中,选择主题.

                  You can view it when you are going to Send a New Message in the Firebase Console, then in the Target section, choose Topic.

                  这篇关于主题不会保存在 Firebase 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 通知)
                  Push Notifications are delivered but didReceiveRemoteNotification is never called Swift(推送通知已交付,但 didReceiveRemoteNotification 从未被称为 Swift)
                      <bdo id='4JRMr'></bdo><ul id='4JRMr'></ul>
                      <legend id='4JRMr'><style id='4JRMr'><dir id='4JRMr'><q id='4JRMr'></q></dir></style></legend>
                      <tfoot id='4JRMr'></tfoot>

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

                          <tbody id='4JRMr'></tbody>

                            <small id='4JRMr'></small><noframes id='4JRMr'>