Ion-nav-view - BackView becomes null

Hi there,

I built a simple application with a tabs bar in Creator an exported it. There is nav-view logic in it.

For simplification, let’s assume I have the following:

  • Authentication
  • page “Profile” (with a logout button)
  • page “Modify information”

The page “Modify information” is displayed when clicking on a button on the page “Profile” ; I want a back button on the “Modify information” button.

Pages are rendered within an index.html page which includes the following code:
<ion-nav-bar class="bar-calm"> <ion-nav-back-button></ion-nav-back-button> </ion-nav-bar> <ion-nav-view> </ion-nav-view>

Here comes my issue:

  1. log in
  2. go to profile --> ionicHistory is consistent
  3. click “edit my information” and the “Modify Information” page is showing with a back button (which is working) --> ionicHistory is still consistent and BackView refers to the “Profile” page
  4. click to “back” and arrives on “Profile” page
  5. click on logout and I am correctly logged out
  6. log in again
  7. go to profile --> ionicHistory is still consistent
  8. click “edit my information”
  9. /!\ “Modify information” page is showing BUT back button is not displayed anymore and BackView is now displaying “null”

Have you ever come across this kind of issue? DO you know how I could solve this