Hi guys, I'm a newbie on iOS development and I need an advice. I'm working on an app that send data readed from a BLE sensor to a remote web server with http call every n second.
I created a timer that every n second reads the value and send it to a web server with an uploadTask on a background URLSession following some tutorial. When I lunch the app through xCode everything seams to work fine even if I switch throught one app to another or lock screen device. But if I lunch the application from my iPhone, after a period of time, transmission stops. I seem to understand that there are some limitation that iOS put on background processing. Is it possible to do such thing (scheduled HTTP calls through timer) in iOS?
Thanks
I created a timer that every n second reads the value and send it to a web server with an uploadTask on a background URLSession following some tutorial. When I lunch the app through xCode everything seams to work fine even if I switch throught one app to another or lock screen device. But if I lunch the application from my iPhone, after a period of time, transmission stops. I seem to understand that there are some limitation that iOS put on background processing. Is it possible to do such thing (scheduled HTTP calls through timer) in iOS?
Thanks