How to handle states when logged in (Ionic, Firebase, AngularJS)?

后端 未结 3 1635
既然无缘
既然无缘 2021-02-05 11:06

I am building an app in Ionic and have started to dig into the Firebase Authentication method. So far I have managed to setup a Login through Twitter properly (I can login and l

3条回答
  •  佛祖请我去吃肉
    2021-02-05 11:23

    To succeed read the value using:

    toState.authRequired
    

    Please move authRequired: true inside of .state instead of views.

提交回复
热议问题