How to trigger pause event / go to Homescreen?

Hi,

i registered a back button action in my app and want to go directly to the home screen without “kill” the app.

$ionicPlatform.registerBackButtonAction(function () {

navigator.app.exitApp(); //kills the app

}, 100);

Is it possible to pause the app? Something like this:

navigator.app.pauseApp();

best regards
mav

1 Like