Hi, I tried putting the navigation code to the _custom.js:
navigator.notification.alert(
'Exit the app?', // message
alertDismissed, // callback
'Confirm', // title
'Exit' // buttonName
);
i exported the app but it didn’t work. I tried also wrapping it to a function and called it to the multipage “On Page Change” but it didn’t also work.
What did i missed? Can you kindly help me with this?