Keep socket sending data in background

Hi,


I'm working on an Uber-like app.


In the Driver app, i need to open socket to send the location of the driver continously after every 3 seconds.


I'm using this libs https://github.com/swiftsocket/SwiftSocket to handle the socket and it works perfectly on the foreground.


But when the application goes into background (common behavior for the drive when they're driving), the socket doesn't send data anymore.


Is there anyway to keep the socket from sending data in the background mode also ?


Thanks,

Hung

Replies

Dear Developer Team,


Could you please answer our question. Thank you very much.


Regards,

Louis Vu

Dear Apple Developer Team,


Any update about this case for us?


Thank you.