pusher/libPusher

Push Notification

Closed this issue · 1 comments

Hello all ! I have a question ! How to push notification When App state run backgound but don't use APNS of Apple ! Please help me ! Thanks so much !

Hi, I already answered this question here: #141

As I said before, libPusher is not designed to run in the background. You may be able to keep the socket open and running in the background of for up to 10 minutes if you use the iOS background task API however this is of limited use.

If you want to send near to real-time notifications to your user at any time if they aren't using the app you need to use the APNS - its what its designed for.

libPusher and Pusher is largely designed to allow for a real-time experience while the user is actually using the app. I hope this helps.