<legend id='LSm0Q'><style id='LSm0Q'><dir id='LSm0Q'><q id='LSm0Q'></q></dir></style></legend>
      • <bdo id='LSm0Q'></bdo><ul id='LSm0Q'></ul>

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

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

        是否可以在 Android 中使用 Firebase Messaging 和 Google Analytics?

        Is it possible to use Firebase Messaging with Google Analytics in Android?(是否可以在 Android 中使用 Firebase Messaging 和 Google Analytics?)

            <small id='7frLd'></small><noframes id='7frLd'>

                <bdo id='7frLd'></bdo><ul id='7frLd'></ul>
                <legend id='7frLd'><style id='7frLd'><dir id='7frLd'><q id='7frLd'></q></dir></style></legend>

                    <tbody id='7frLd'></tbody>
                1. <i id='7frLd'><tr id='7frLd'><dt id='7frLd'><q id='7frLd'><span id='7frLd'><b id='7frLd'><form id='7frLd'><ins id='7frLd'></ins><ul id='7frLd'></ul><sub id='7frLd'></sub></form><legend id='7frLd'></legend><bdo id='7frLd'><pre id='7frLd'><center id='7frLd'></center></pre></bdo></b><th id='7frLd'></th></span></q></dt></tr></i><div id='7frLd'><tfoot id='7frLd'></tfoot><dl id='7frLd'><fieldset id='7frLd'></fieldset></dl></div>
                2. <tfoot id='7frLd'></tfoot>
                  本文介绍了是否可以在 Android 中使用 Firebase Messaging 和 Google Analytics?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我开始将 Firebase Cloud Messaging 用于 Android 应用,现在我尝试将 Google Analytics(不是 Firebase 分析)添加到同一个应用.

                  I started using Firebase Cloud Messaging for an Android app and now I'm trying to add Google Analytics (not Firebase analytics) to the same app.

                  问题在于,在为 Analytics 创建 google-services.json 时,它会忽略 FCM.我使用同一个谷歌帐户来创建两个 json 文件.

                  The problem is that when creating google-services.json for Analytics, it ignores FCM. I'm using the same google account to create both json files.

                  我读到在启用第二个服务(在本例中为 Analytics)时,json 应该更新添加消息传递和分析,但也许这只适用于 Firebase 服务?

                  I read that when enabling the second service (in this case Analytics) the json should update adding both Messaging and Analytics but maybe this only works within Firebase services?

                  我可以使用 Firebase Analytics,实际上这是 Google 推荐的,但是否可以同时使用 Google Analytics 和 Firebase 服务?

                  I could use Firebase Analytics and actually that's what Google recommends, but is it possible to use both Google Analytics with Firebase services?

                  推荐答案

                  是的,可以在同一个应用程序中使用 Firebase Cloud Messaging 和 Google Analytics.我建议使用 Firebase 生成的 json 文件并将以下对象合并到服务"对象中:

                  Yes, it is possible to use Firebase Cloud Messaging and Google Analytics in the same app. I would suggest using the json file generated by Firebase and merging in the following object into the "services" object :

                   "analytics_service": {
                            "status": 2,
                            "analytics_property": {
                              "tracking_id": "<your tracking id>"
                            }
                          },
                  

                  这篇关于是否可以在 Android 中使用 Firebase Messaging 和 Google Analytics?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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)
                  <legend id='qyBML'><style id='qyBML'><dir id='qyBML'><q id='qyBML'></q></dir></style></legend>
                3. <small id='qyBML'></small><noframes id='qyBML'>

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

                      <tfoot id='qyBML'></tfoot>

                        <tbody id='qyBML'></tbody>

                        • <bdo id='qyBML'></bdo><ul id='qyBML'></ul>