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

      1. <small id='X2Yus'></small><noframes id='X2Yus'>

        <legend id='X2Yus'><style id='X2Yus'><dir id='X2Yus'><q id='X2Yus'></q></dir></style></legend>
        <tfoot id='X2Yus'></tfoot>
      2. android中的Firebase计划通知

        时间:2023-07-30
          <i id='1pv4m'><tr id='1pv4m'><dt id='1pv4m'><q id='1pv4m'><span id='1pv4m'><b id='1pv4m'><form id='1pv4m'><ins id='1pv4m'></ins><ul id='1pv4m'></ul><sub id='1pv4m'></sub></form><legend id='1pv4m'></legend><bdo id='1pv4m'><pre id='1pv4m'><center id='1pv4m'></center></pre></bdo></b><th id='1pv4m'></th></span></q></dt></tr></i><div id='1pv4m'><tfoot id='1pv4m'></tfoot><dl id='1pv4m'><fieldset id='1pv4m'></fieldset></dl></div>

          <legend id='1pv4m'><style id='1pv4m'><dir id='1pv4m'><q id='1pv4m'></q></dir></style></legend>
              <tbody id='1pv4m'></tbody>

                <bdo id='1pv4m'></bdo><ul id='1pv4m'></ul>

              • <tfoot id='1pv4m'></tfoot>
                • <small id='1pv4m'></small><noframes id='1pv4m'>

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

                  问题描述

                  我正在使用 firebase 开发一个 android 应用程序,该应用程序应按用户应在应用程序设置中设置的小时数每天推送两次通知.

                  I'm developing an android app using firebase, this app should push notifications twice a day by hours user should set in app settings.

                  我看到至少 2 年前有人问过类似的问题,但没有答案,也许现在有一个选择.

                  I saw a similar question was asked at least 2 years ago, but no answer, maybe now there is an option to do it.

                  无论如何我可以使用 Firebase 实现这一点吗?如果没有,我该如何实现?

                  Is there anyway I can achieve this using Firebase ? If no, how can I achieve it ?

                  推荐答案

                  您可以安排从 Firebase 控制台发送通知.但这仅限于您手动输入的通知.没有办法安排一天两次"交付,也没有 API 可以以编程方式安排交付.

                  You can schedule sending notifications from the Firebase console. But that is limited to notifications you manually enter. There is no way to schedule "twice a day" delivery, nor is there an API to schedule the delivery programmatically.

                  这意味着您必须自己编写代码来实现它.一种方法是使用 Firebase Cloud Messaging API 发送消息,使用 Firebase 实时数据库(或 Cloud Firestore)存储有关何时何地发送消息的信息,然后 按计划调用云函数到从数据库中读取信息并调用 FCM API.

                  This means that you'll have to write code to implement this yourself. One way to do this would be to use the Firebase Cloud Messaging API to send the messages, use the Firebase Realtime Database (or Cloud Firestore) to store information on when and where to send the messages, and then invoke a Cloud Function on a schedule to read the information from the database and call the FCM API.

                  这篇关于android中的Firebase计划通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:不使用 FCM 通知服务器调用 didReceiveRemoteNotification 函数 下一篇:Firebase FCM 不匹配SenderID

                  相关文章

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

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

                  3. <legend id='VPhQd'><style id='VPhQd'><dir id='VPhQd'><q id='VPhQd'></q></dir></style></legend>