You can use cordova's "pause" or "resume" events and ionic also provides service on handling events.
see here: http://ionicframework.com/docs/api/service/$ionicGesture/
https://cordova.apache.org/docs/en/latest/cordova/events/events.pause.html
You can use cordova's "pause" or "resume" events and ionic also provides service on handling events.
see here: http://ionicframework.com/docs/api/service/$ionicGesture/
https://cordova.apache.org/docs/en/latest/cordova/events/events.pause.html