Onresume and onpause events are not working in ios

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.

1 Like

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.

Hey ! I am having same problem on my cordova application.
Have you got any solution for this isssue.

Have you got any solution for this?