Thank you, @borrrden,
How can I know that when the app on master device is in background,
The thing happening is, when I replicate initially from my master device i.e. iPad, after some amount of p2p replication to slave device if I push home button of iPad (that makes app go to background), no changed event fire and stays as it is. If I kill the app I get status offline and I can proceed, other case is if I again put app to foreground, it starts remaining replication.
So, my problem is, is there any way to get event on slave device when master device go to background or can I set timeout for puller on slave device so I can proceed further without making user to wait.
Thanks in advance