Skip to content

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

@michaelmeinhart

Description

@michaelmeinhart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions