Another update - confirmed this is an issue with 3.5.0. I re-installed email@example.com and the back button works again. I noticed in the new release documentation that some changes were made to the navigation system - is there something that I should change in my code regarding the back button / setRoot or should I stay on 3.4.2 for now?
I built an Ionic project about a month ago with three levels of navigation - that is, from the home screen, a link brings you to a second page with a link that brings you to a third. Everything worked a month ago. However, when I came back to it today (I updated to the latest version of ionic), I found that the navigation no longer functioned on the third page.
Basically, from the home page, I click a link that takes me to page 2. Page 2 has an auto-generated back button that brings me back to the start. However, if I click on a link to take me to page 3, navigation no longer functions on that page. The auto-generated back button won’t bring me back to page 2, and a function I built using the setRoot command that functioned a month ago no longer works either:
this.nav.setRoot( HomePage );
I’m wondering if there’s any way I can try to debug what’s happening - I’ve been using console.log to log the NavController after running this command, and it doesn’t appear that the NavController’s root is modified at all.
Edit: Did some more testing - added the following code:
console.log(this.nav.getViews()); this.nav.setRoot( ProblemSettings ); console.log(this.nav.getViews());
However, the console shows no change in the view stack.