I’m utilizing this library https://github.com/stuffrabbit/SwiftCoAP to carry out COAP request on my iOS app. I’m utilizing the observe function on this library in order that when ever there are any updates they robotically get despatched again and if the app is in foreground the response is coming and updating, however after I transfer my app to background for minute or greater than that, the response stops coming even after the app is moved to foreground. Is there a means I could make it run even when it’s within the background. I have to make it work for even when the app goes to background mode for within the vary of 5 – 10 minutes. Is there a means we will do that. Please let me know if we will do one thing to maintain getting responses throughout atleast 5-10 minutes even when the app strikes to background mode.
Observe: I response is available in a delegate technique.