IMP: iOS app stops executing LOGIC as customer returns after visiting another app

Works well on android but is a pain in the case of iOS.

My logic gets triggered because of page mount and focus events. As most things are happening in a webview, I have no other method of controlling/triggering events on a particular page. In the case of android, if a user goes to another app momentarily (to check messages, or validate a transaction) and return back, the page mount/focus based events automatically trigger. But in iOS, as soon as the user leaves app to open something else, the application stops execution of all logic flows and does nothing despite returning to the app. It just hangs there, and only user input can trigger something but all background stuff stops.

My app id 222350.

Bumping this post up