Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route Guard not passing in Ionic 4 version of app #1

Open
michaelmeinhart opened this issue Feb 4, 2020 · 0 comments
Open

Route Guard not passing in Ionic 4 version of app #1

michaelmeinhart opened this issue Feb 4, 2020 · 0 comments

Comments

@michaelmeinhart
Copy link

Hello, when cloning and running this repo locally and after setting up and adding params for Firebase and Firestore, I am unable to get the app to route correctly. The registration flow correctly adds the new user, but when the router tries to route to /home afterwards, the guard fails and loops back causing the following router error: "Navigation ID 2 is not equal to the current navigation id 3".

Also, there is no new "people" or "task" documents added, which seems like it might be why the route guard is failing. I tried out the Ionic 3 version from the same repo, adding the same Firebase parameters, and everything works correctly. This is all after installing Ionic, running npm install, etc from your blog tutorial. Is there some other setup dependency missing the Ionic 4 version?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant