Server: Pusher gem(rails) Client: Pusher Swift
How do I detect if the client is gone offline(app in background) or come back online(app in foreground) using Pusher gem?
What I want to achieve is sending APN to the client, when the client enters background without querying client online flag(s).
Is it possible to achieve this? Is there way to check the status of Event trigger if the message was received by client or not?
Thanks