如何使用Firebase中存储的用户ID导航到特定用户

时间:2019-05-27 05:34:28

标签: react-native firebase-authentication

我正在开发本机应用程序,该应用程序有两个用户买方和卖方。我已经实现了Google登录并将数据存储在Firebase中。但是现在要根据用户浏览屏幕。

我不知道该如何实现。这是一些代码:

  

用户身份验证:

webdriver-manager clean

node node_modules/protractor/bin/webdriver-manager update --standalone --versions.standalone=3.8.0

如果当前用户的用户ID来自买家表,我想导航到welcomeBuyer,否则必须转到welcomeVendor屏幕。 请帮助我...

0 个答案:

没有答案
相关问题