React Native和Firebase身份验证

时间:2017-02-22 09:10:07

标签: firebase react-native firebase-realtime-database firebase-authentication

如果用户使用react native和Firebase输入正确的凭据,我想创建一个导航到另一个页面的登录/登录页面。我在Firebase控制台中使用电子邮件启用了身份验证,但每次都会收到警报,如下图所示:

enter image description here

通过在互联网上搜索,我找到了可能的解决方案,例如验证我在我的应用中使用了正确的数据库,但它没有用。 我的代码在这里:https://github.com/haifaGh/AuthenticationFirebase

1 个答案:

答案 0 :(得分:0)

不确定你做错了什么,但前几天我为自己的目的启动了firebase应用程序,所以你可以查看我是如何登录并注册的。

https://github.com/dratwas/react-native-firebase-chat/pull/10/files

pr。

中有例子
相关问题