首页 > 解决方案 > 如何将 Firebase Web 应用程序与 fcm 连接?

问题描述

我已经为 android 开发了一个 expo 应用程序,我需要在其中实现通知。当我使用 expo go/expo 客户端运行应用程序时,expo 通知有效。但是当我构建应用程序然后运行时,既没有创建 expo 令牌,也没有推送通知。

我试图链接 FCM。但它没有帮助。

附言。在创建 firebase 项目时,我将我的 expo react native 应用程序比作 web 项目,并且没有 Google.Service.Json 文件

标签: firebasereact-nativefirebase-cloud-messagingexpoexpo-notifications

解决方案


推荐阅读