Posts

Post not yet marked as solved
0 Replies
270 Views
We have developed a WiFi device which needs to have its firmware directlyusing iOS app mobile device. The Wifi device is first turned into hotspot modeand connected to iPhone using its wifi. Then firmware update process is startedusing simple tcp connection. The whole process takes about 30-40 mins in a windowsapplication. The question is which background mode should i use so that the tcpconnection is not cut off by iOS when it goes in background or if phone gets locked .I would like to have a notification showing progress as well. Any suggestions?According to my knowledge there are these background modes :Play audio: The app can continue playing and/or recording audio in the background.Receive location updates: The app can continue to get callbacks as the device’s location changes.Perform finite-length tasks: The generic “whatever” case, where the app can run arbitrary code for a limited amount of time.Background Fetch: Get updates to the latest content scheduled by iOS.But which should i choose?
Posted Last updated
.