Ionic IOS app's Signal-R events are not updating (realtime) when the app moved to background?


I’m developing an sms based Ionic IOS app. And we are using Signal-R events to update the app in real-time. In Android, the app is updating real-time when it’s opened and even in the background. But in the IOS app, it’s not working when the app is in the background.
(This is a capacitor ionic app)

What may be the issue?


You need to use the Capacitor background task plugin. Also make sure to read the guidelines. Apple currently allows a maximum of 30 seconds after an app has closed to run any bg task, so you have minimal time.

Answered By – StackoverBlows

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published