我按照 expo cli Expo cli Facebook Guide 启动 react-native
然后我想通过关注 the docs from invertase.io 与 firebase 集成
似乎文档只支持特定平台。我可以在没有特定平台的情况下集成 react-native 和 firebase 吗?使用 Expo Cli,我们不需要创建 android/ios 文件夹。
最佳答案
有一份将 Firebase 集成到 Expo 的文档。 https://docs.expo.io/versions/latest/guides/using-firebase/
你不能在 Expo 中使用 react-native-firebase,因为 react-native-firebase 有本地代码。
Expo 仅支持 js。
使用 web 的 firebase。
关于android - 我们可以在没有特定平台的情况下集成 Firebase 和 React 原生应用吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56442132/