如何完全在react-redux-firebase上禁用身份验证?

问题描述 投票:0回答:1

我正在使用React Native为react-redux-firebase创建一个运动场应用。我想完全禁用auth模块,因为我只需要Firestore。

文档没有提到这一点,我认为所有示例都在配置中包含userProfile,如果我没记错的话,这与Auth有关。

使用react-native-firebase时出现预期的错误

Error: You attempted to use firebase.auth but this module could not be found.

reactjs react-native redux react-native-firebase react-redux-firebase
1个回答
0
投票

没关系,我找到了

在rrf提供者道具上将initializeAuth设置为false

© www.soinside.com 2019 - 2024. All rights reserved.