Back Button Closing App

I have an app I’d like to use the back button to navigate back through previous pages. I had previosly had

view: { pushState: true },

But I removed that to solve a previous issue here: Back Button Not workign on IOS initially

If it is a Cordova Android app I guess, do the search on forum, there were a plenty of solutions. Also create new app with F7-CLI and see how it handled there in created cordova-app.js file