Don't show back button, ever?

We’re trying to, app wide, disable any history in the header nav, so there’s no back button appearing ever.

From looking through the docs and forum, we’ve tried:

// 1. in the html page:

<nav-page hide-back-button="true">

// 2. in the associated controller:
$ionicNavBarDelegate.showBackButton(false);

…but none of these work. We simply want NO back button to appear in our app. Is there a configuration for this?

Thanks so much!

I’m not sure how your app is structured but you should just have to remove

<ion-nav-back-button></ion-nav-back-button>

from the ion-nav-bar.

Which version of ionic are you using?

1 Like