【发布时间】:2022-08-17 02:49:50
【问题描述】:
当我测试我的 React Native 应用程序时,该应用程序取消了我的 firebase 配置文件
const auth = initializeAuth(app, {
persistence: getReactNativePersistence(AsyncStorage),
});
我收到错误消息:Cannot find module \'@firebase/auth/react-native\' from \'node_modules/firebase/auth/react-native/dist/index.cjs.js\'
该应用程序在运行时运行良好,但在测试期间似乎不起作用。
关于这个错误可能是由什么引起的任何想法?
标签: firebase react-native firebase-authentication asyncstorage