navigator-cordova-jqm
This will help you to manage your pages-history in the app.
With this navigator the user will experience perfect return pages like you want.
Install
npm i navigator-cordova-jqm
Running
import navigator_corJQM from "navigator-cordova-jqm";
or
const navigator_corJQM = require('navigator-cordova-jqm');
*or add js file from github and link it in the html
Example
navigator_corJQM.constructor({
listLevelPages: {
"homePage": 0,
"newPost": 3,
"page_Shop": 1,
"page_Settings": 2,
"popupMap": 9,
"page_about": 2
}
, defaultPage: "homePage"
});