I am new to Ionic and liking it so far. I’m having an issue with Android and navigation. This maybe due to my ignorance but I am a little confused how everything should fit together. I’m using a side-menu with Angular’s ngRoute service. That seems to work in the browser when using back/forward buttons. When I deploy it to the device, the back button causes the app to exit. I poked around the forum a little but still uncertain what is the expected behavior should be. I’d like to be able to use the back-button to bring the user back to the previous view in side-menu content (where the templates are being swapped out based on route).
- What is the expected behavior of back button on Android device in a pure side-menu app without routing?
- Should I be able to use ion-nav-view to host templates inside side-menu-content withouth ion-nav-bar and maintain history?
- But still, is it Ionic’s limitation not handling Android’s back button? Should I be looking at Cordova’s API to handle it??