IOS APP, when in the OTA upgrade, into the background, OTA stopped, at this time into the front desk, can not continue to upgrade, how can you continue to upgrade after entering the background? Thankyou!
IOS APP, when in the OTA upgrade, into the background, OTA stopped, at this time into the front desk, can not continue to upgrade, how can you continue to upgrade after entering the background? Thankyou!
This seems to be a limitation in iOS. i.e. you can only do a limited set of actions while in the background. This is to make sure background apps don't use to many resources and waste power. So it is not possible to continue OTA while in the background. However the DFU implementation in SDK 12 and newer support continuing the transaction. Not sure if the iOS app does. Will check with the developer. Which iOS app are you using? and what SDK version are you using?
You need to enable the BLE background mode to support Buletooth operations in the backgorund You can do this in Xcode as seen here
for reference Core Bluetooth Background Processing for iOS Apps.
Thank you for your e-mail. According to your method, OTA is available in the background. Your service is very good. Thank you very much! I also found a small description of the error on GitHub, github.com/.../README_OBJC.md, the description above was somewhat wrong, "Click on the iOSDFULibrary target, then set the Use Legacy Swift version setting to No", It should be so "swift language version "should be set to "switf3" ,and this IOSLibrary maybe used in more than Xcode8 versions, because I have tried, it is not available in xcode7.3,please check!!
Glad to help, please open new questions/issues as new posts and not as answers to your question as this causes confusion, however, what you are seeing is not wring it's correct, it's just the way you're viewing the Plist file that can display "No" or "Swift 3" depending on how you're viewing it. so this is not a mistake.
Also please remember to mark your answer as resolved please to show other users what the correct answer is.