我已经开始尝试使用,但是我似乎无法在没有缺少文件的情况下运行它:
Android Bundling failed 597ms
While trying to resolve module `firebase` from file `C:\Users\wootk\Documents\GitHub\React-and-rNative\React Native\React Native, Firebase v9, authen
tication and firestore\FirebaseAuthApp\firebase\firebaseConfig.js`, the package `C
我使用expo进行react原生,并希望在自己的react本地应用程序中初始化firebase auth。要修复的错误如下:
TypeError: (0, _reactNative.getReactNativePersistence) is not a function. (In '(0, _reactNative.getReactNativePersistence)(_asyncStorage.default)', '(0, _reactNative.getReactNativePersistence)' is undefined)
我的firebase in
我在使用expo的react原生应用程序中通过Firebase Javascript SDK使用Firestore,但在从expo弹出后,即使我的设备连接到互联网,也会收到以下错误: @firebase/firestore: Firestore (7.19.1): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet conn
我刚刚使用"expo升级43“将react本地应用程序中的expo SDK从42升级到43,我收到了一个错误,上面写着:
AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. See http
我是新的反应本土化,我一直在创建一个应用程序与Firebase为后端。我了解到,如果我只是在一个名为firebaseConfig.js的文件中复制并粘贴控制台页面中的firebase配置,那就太危险了。
我创建了一个.env文件并编写了一些局部变量(如果我认为它们是正确的),用变量替换firebase配置信息(如apiKey )。
我不知道哪里出了问题。
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { ge
我正试图使用世博google与我的用户进行防火墙签名,但是在成功地从以下站点检索结果之后:
Expo.Google.logInAsync
我得到了一个不明确的证书:
var credential = firebase.auth.GoogleAuthProvider.credential(idToken,accessToken);
带着这个错误
TypeError: undefined is not an object (evaluating_firebase.default.auth.GoogleAuthProvider.credential'
这是我的firebase配置文件:
im
使用博览44,我的应用程序可以在世博会与expo start一起正确获取修复内容。但是,当使用expo run:android发布时,当auth正常工作时,它会产生以下错误。
[2022-06-06T03:33:09.084Z] @firebase/firestore: Firestore (9.8.2): Could not reach Cloud Firestore
backend. Backend didn't respond within 10 seconds.This typically indicates that your device does not have a
I am getting this error when running firebase init functions in terminal 下面是我的firebase.js代码,我用它来调用firebase: import * as firebase from '@firebase/app' //line 1 which seems to cause the error
//imports for webonly
const Firebase = firebase.initializeApp(firebaseConfig);
export default Firebas
我正在尝试成功运行react本机安装附带的boiler -test.js测试。我已经看到这个测试在其他项目中“开箱即用”,然而,由于我们与Firebase SDK的集成,我的测试失败了。我们的长期目标是构建一个测试套件,模拟对我们的firebase SDK的调用(我想探索以下解决方案:https://medium.com/stories-from-upstatement/jest-mocks-roasting-on-an-open-firestore-36fa55b76953、How do you mock Firebase Firestore methods using Jest? ),但
不久前,我已经开始使用react本地的世博会,所以我有点迷失了。
当尝试使用以下命令构建应用程序时:
eas build --profile development --platform android
当到达安装依赖项部分时,生成失败。
Running "npm install" in the root dir of your repository 2[stderr] npm ERR! code ERESOLVE3[stderr] npm ERR!4[stderr] ERESOLVE could not resolve5[stderr] npm ERR! 6[stderr]
因此,我需要添加防火墙云功能,在开发反应-本机项目。所以在它正常工作之前,但现在它给了我错误。我至今所做的一切,
yarn add @react-native-firebase/app yarn add @react-native-firebase/functions
然后我尝试cd ios/ && pod install,但是它给了我下面的错误
etching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec [!] CocoaPods could not
我尝试使用jest运行测试,但它因错误而中断: Invariant Violation: Native module cannot be null.
at invariant (node_modules/invariant/invariant.js:40:15)
at RNFBNativeEventEmitter.NativeEventEmitter (node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js:36:7)
at new RNFBNativeEventEmi