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

    <legend id='ZUIZF'><style id='ZUIZF'><dir id='ZUIZF'><q id='ZUIZF'></q></dir></style></legend>

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

    <tfoot id='ZUIZF'></tfoot>
      <bdo id='ZUIZF'></bdo><ul id='ZUIZF'></ul>

      如何将 Firebase 消息发送到项目中的特定应用程序?

      How to send Firebase message to specific application in project?(如何将 Firebase 消息发送到项目中的特定应用程序?)
        • <bdo id='qO9BL'></bdo><ul id='qO9BL'></ul>
          • <i id='qO9BL'><tr id='qO9BL'><dt id='qO9BL'><q id='qO9BL'><span id='qO9BL'><b id='qO9BL'><form id='qO9BL'><ins id='qO9BL'></ins><ul id='qO9BL'></ul><sub id='qO9BL'></sub></form><legend id='qO9BL'></legend><bdo id='qO9BL'><pre id='qO9BL'><center id='qO9BL'></center></pre></bdo></b><th id='qO9BL'></th></span></q></dt></tr></i><div id='qO9BL'><tfoot id='qO9BL'></tfoot><dl id='qO9BL'><fieldset id='qO9BL'></fieldset></dl></div>

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

              <legend id='qO9BL'><style id='qO9BL'><dir id='qO9BL'><q id='qO9BL'></q></dir></style></legend>

              <tfoot id='qO9BL'></tfoot>

                  <tbody id='qO9BL'></tbody>
              1. 本文介绍了如何将 Firebase 消息发送到项目中的特定应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我对 firebase 有疑问.它允许为单个项目添加多个应用程序.我添加了 App1、App2 和 App3.如何单独向 App1 发送通知?这 3 个应用的服务器密钥是相同的.

                I have a doubt based on firebase. It allows to add multiple application for a single project. I have added App1, App2 and App3. How can I send a notification to App1 alone? Server key is the same for those 3 apps.

                推荐答案

                在 Firebase 控制台的通知面板中,您可以向特定应用发送通知消息.但 Firebase Cloud Messaging API 不支持此类定位.

                In the Notifications panel in the Firebase Console, you can send a notification message to a specific app. But there is no support for such targeting in the Firebase Cloud Messaging API.

                不过,您可以通过为每个应用定义特定属性来轻松模拟该行为:/topics/apps-app1/topics/apps-app2、等等.然后让每个应用订阅自己的主题并且您可以使用单个 FCM 服务器密钥来定位每个应用的用户.

                You can easily emulate the behavior though, by defining a specific property for each of your apps: /topics/apps-app1, /topics/apps-app2, etc. Then have each app subscribe to its own topic and you can target the users of each app with a single FCM server key.

                这篇关于如何将 Firebase 消息发送到项目中的特定应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                How can I use CClistview in COCOS2d Android?(如何在 COCOS2d Android 中使用 CClistview?)
                cocos2d-android: how to display score(cocos2d-android:如何显示分数)
                Sqlite database not copied from asset folder Android(Sqlite 数据库未从资产文件夹 Android 复制)
                SQLite Database Copy Appears Corrupted When Generated by Device and not Emulator(SQLite 数据库副本在由设备而不是模拟器生成时出现损坏)
                Android file copy(安卓文件拷贝)
                Android how to detect Copy event of Edittext in android(Android如何在android中检测Edittext的Copy事件)
                • <i id='ouM9x'><tr id='ouM9x'><dt id='ouM9x'><q id='ouM9x'><span id='ouM9x'><b id='ouM9x'><form id='ouM9x'><ins id='ouM9x'></ins><ul id='ouM9x'></ul><sub id='ouM9x'></sub></form><legend id='ouM9x'></legend><bdo id='ouM9x'><pre id='ouM9x'><center id='ouM9x'></center></pre></bdo></b><th id='ouM9x'></th></span></q></dt></tr></i><div id='ouM9x'><tfoot id='ouM9x'></tfoot><dl id='ouM9x'><fieldset id='ouM9x'></fieldset></dl></div>

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

                      • <bdo id='ouM9x'></bdo><ul id='ouM9x'></ul>
                        <legend id='ouM9x'><style id='ouM9x'><dir id='ouM9x'><q id='ouM9x'></q></dir></style></legend>
                          <tbody id='ouM9x'></tbody>
                      • <tfoot id='ouM9x'></tfoot>