Let’s say I am on the rootPage, and I press the back button on my device, this will cause the app to minimize/exit. I want to handle it based on which rootPage I am on (my app has multiple areas where I am using the cordova-google-map plugin, which forces me to make those pages as rootPage else the other pages show up above the map and below the current page).
- Do double back press to exit
- Go to a different page.
Any suggestions?