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

时间:2020-04-05 11:31:49

标签: reactjs react-native redux react-native-firebase react-redux-firebase

我正在使用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.

1 个答案:

答案 0 :(得分:0)

没关系,我找到了

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