我已经开始尝试使用,但是我似乎无法在没有缺少文件的情况下运行它:
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
我正在使用多个防火墙服务在我的反应本机项目。现在我试着加入破折主义
yarn add @react-native-firebase/crashlytics
但我犯了个错误
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In snapshot (Podfile.lock):
Firebase/CoreOnly (= 8.12.1)
In Podfile:
RNFBApp (from `../node_modules/@react-native-f
我正在构建一个使用React本机的应用程序,我必须将geo坐标插入到我的防火墙数据库中,我使用的是firebase、firestore和geofirestore,我已经遵循了一些教程,但仍然无法完成这个工作,您能不能帮助我,这是我的代码:
import firebase from '@react-native-firebase/app';
import firestore from '@react-native-firebase/firestore';
import * as geofirestore from 'geofirestore';
我遵循了iOS来自的说明,但是编译显示了这些错误。我猜这是某种版本不兼容,但我相信我是最新版本的react-native-firebase。当我构建应用程序时,会出现以下错误:
❌ /Users/matt/Desktop/myapp/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:91:51: expected a type
- (void)applicationReceivedRemoteMessage:(nonnull FIRMessagingRemoteMessage
我正在尝试将我的firestore与我的当前用户链接起来。在我添加firebase.auth()之前,一切都正常工作。
我有一个错误,找不到变量: firebase
还有我的函数:
createUser = () => {
firebase.auth().onAuthStateChanged(function(user) {
if (user) {
// User is signed in.
firestore()
.collection('Users')
.add
当我试图在iOS中运行自己的时,我得到了这个错误:
[!] CocoaPods could not find compatible versions for pod "Firebase/Auth":
In Podfile:
Firebase/Auth
RNFBAuth (from `../node_modules/@react-native-firebase/auth`) was resolved to 10.5.1, which depends on
Firebase/Auth (~> 7.4.0)
CocoaPods could n
嗨,我一直在尝试从React本地应用程序访问Firestore
我的试用码
import firebase from '@react-native-firebase/app'
import firestore from '@react-native-firebase/firestore';
import * as Actions from '../../../StateManager/Actions/ActionTypes'
export function getVersion() {
return async (dispatch) =
我正在尝试成功运行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? ),但
我是新来的火基地和反应本地人。当我将电子邮件身份验证添加到应用程序并更新身份验证规则时,我得到了一个丢失或特权不足的错误。
当试图在componentDidMount函数中写入Screen1中的Firestore时,我会收到这个错误。
我为我的应用程序添加了以下规则。
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth
我在使用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