Onresume and onpause events are not working in ios


#1

onresume and onpause event are working fine in the android.

document.addEventListener(“pause”,callbackfunction, false);

document.addEventListener(“resume”, callbackfunction, false);

these events are working fine in android,
but when it come to ios the event is not getting fired only.


#2

I’m having the same problem. I’ve tried using cordova events as well as $ionicPlatform events in the $ionicPlatform.ready function. I also tried removing the iOS platform and re-adding it.