NordicDFU.startDFU({
deviceAddress: obj.MacAddress,
name: obj.DeviceName,
filePath: filePath
}).then((res) => {
// handle success
}).catch((err) => {
// handle failure
})
I'm encountering an issue where the DFU process does not initiate when the app is in background mode. The DFU functionality works flawlessly when the app is in the foreground. However, if the app is minimized or sent to the background before starting the DFU process, the update does not commence.
Interestingly, if the DFU process is initiated while the app is in the foreground and then the app is moved to the background, the DFU continues without any problems. This suggests that the issue is specifically with starting the DFU process while the app is in the background.
I'm encountering an issue where the DFU process does not initiate when the app is in background mode. The DFU functionality works flawlessly when the app is in the foreground. However, if the app is minimized or sent to the background before starting the DFU process, the update does not commence.
Interestingly, if the DFU process is initiated while the app is in the foreground and then the app is moved to the background, the DFU continues without any problems. This suggests that the issue is specifically with starting the DFU process while the app is in the background.