Skip to content

screen not updated during update process on Android with new architecture enabled #737

@sander48k

Description

@sander48k

In our App we show a progress bar for the device firmware upgrade process. On Android, when new architecture is enabled, the progress bar is not updated during firmware update. When new architecture is disabled, everything works as expected. On iOS there is no issue at all. Also, all other screen elements are properly updated in the Android App when the associated data changes. The only issue is with the progress- and state change of the mcu device upgrade.

To make sure this is not some issue specific to our App, I checked the example App of this library (current main branch). There, I see the same issue, i.e. the state and progress do not get updated in the Update screen during a firmware update. I have observed that the onProgress callback, passed to the Upgrade constructor in the useFirmwareUpdate hook is properly called when progress changes.

I've been looking for an explanation and solution for days but I am unable to find one. Therefor, although I can't imagine that the root cause lies in this library, I am asking you; Is this issue known to you? If so, do you have a solution or workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions