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

    <legend id='sOCX7'><style id='sOCX7'><dir id='sOCX7'><q id='sOCX7'></q></dir></style></legend>
    <tfoot id='sOCX7'></tfoot>

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

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

        Google-services.json:“api_key"部分中有什么内容可以启用 Firebase 推送通

        Google-services.json : What goes in the #39;api_key#39; section to enable Firebase push notifications?(Google-services.json:“api_key部分中有什么内容可以启用 Firebase 推送通知?)

            <tbody id='zOL9U'></tbody>

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

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

                  本文介绍了Google-services.json:“api_key"部分中有什么内容可以启用 Firebase 推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想为我的 Android 应用启用 Firebase 云消息传递以推送通知.在推送通知所需的 google-services.json 文件中,有一个名为api_key"的字段.

                  I want to enable Firebase Cloud Messaging for push notifications for my Android app. In the google-services.json file needed for push notifications there's a field called "api_key".

                  现在我有 "api_key": [{ "current_key": "" }]

                  我应该将看到的 Web API 密钥放在 Firebase 控制台上吗?

                  Should I put the Web API Key I see on my Firebase Console?

                  推荐答案

                  FCM 不使用 google-services.json 中的 api_key 值.
                  (它被其他 Firebase 库使用)

                  The api_key value in google-services.json is not used by FCM.
                  (it is used by other Firebase libraries)

                  一般来说不要触摸 Firebase 控制台提供的 google-services.json.只需下载并按原样添加到您的应用中即可.

                  Generally speaking do not touch the google-services.json that is provided by the Firebase Console. Just download it and add it to your app as is.

                  这篇关于Google-services.json:“api_key"部分中有什么内容可以启用 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 通知)
                  Firebase FCM MismatchSenderID(Firebase FCM 不匹配SenderID)

                    1. <legend id='1VYSw'><style id='1VYSw'><dir id='1VYSw'><q id='1VYSw'></q></dir></style></legend>
                        1. <small id='1VYSw'></small><noframes id='1VYSw'>

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