我从由转化酶提供的初学者工具包中安装了RNF。我正在使用RNF应用,数据库,分析,auth。一切都很顺利,直到我需要这个模块。它在应用程序启动时抛出一个错误(在Android上,还没有尝试过iOS):
...\node_modules\react-native\Libraries\Core\ExceptionsManager.js:86
You've attempted to require '@react-native-firebase/auth' version '6.0.3', however,
the '@react-nati
我使用这段代码使用NodeJS将实时数据库推送到一个实时数据库,这很好。
import admin from "firebase-admin";
admin.initializeApp({
credential: admin.credential.cert(process.env.GOOGLE_APPLICATION_CREDENTIALS),
databaseURL: 'https://xxxxx1.firebasedatabase.app/'
});
var db = admin.database();
var ref = db.ref(