title: Ionic 4 Delete Page from History (Android)
body: <p>Android devices has back button on menu toolbar. I want to disable the possibility when i login to my app and click on that back button to route on login page. </p>
  
  <p>I want if user click on back button after login then i close the app.
  Here is my initial code for routing below.</p>
  
  <pre><code>if (token) {
      this.router.navigate(['/main-tabs/tabs/dashboard'])
  } else {
      this.router.navigate(['/login']).then();
  }
  </code></pre>