nylo-core / nylo

Nylo is the fastest way to build your next Flutter mobile app. Streamline your projects with Nylo's opinionated approach to building Flutter apps. Develop your next idea ⚡️
https://nylo.dev
MIT License
597 stars 61 forks source link

Auth Guard not working #98

Closed DesmondLouis closed 10 months ago

DesmondLouis commented 10 months ago

I configured an Auth guard and seems it is not even called image

agordn52 commented 10 months ago

Hi @DesmondLouis,

If you use routeTo instead of Navigator.pushNamed, it should work.

In a future release of Nylo it would be nice if it also worked with that method too.

DesmondLouis commented 10 months ago

Hi @agordn52, Thanks for your response I found that and was preparing to close the issue. I will be great if it is stated in the documentation. Any ways thanks

agordn52 commented 10 months ago

No problem :)

Re. the docs I'll get them updated.

Thanks 👍