Skip to content

DFU is not starting in background mode #27

@ghost

Description

                     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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions