adamhartford / SwiftR

Swift client for SignalR (iOS and Mac)
MIT License
173 stars 74 forks source link

SwiftR : Handle iOS app inactive/background state #100

Open nmohankumarcse opened 7 years ago

nmohankumarcse commented 7 years ago

Once the app is moved to background, SignalR connections are closed, and therefore I'm not getting any messages from signalR. How to handle this scenario. Is push notification, the only way to handle this issue?

krishnameena commented 6 years ago

Hi @nmohankumarcse did you find any workaround of this ?

krishnameena commented 6 years ago

Hi @nmohankumarcse any update for me on the same ?

nmohankumarcse commented 6 years ago

Hi @krishnameena No other workaround. I handled it through push notification.

Narayanan-Gingerbox commented 6 years ago

Hi @nmohankumarcse if the app comes foreground i am getting all the message in one shot how were you handling it?