Skip to content

🐞[Is there a chance to update my UI from callbackDispatcher] #151

Closed
@2math

Description

@2math
  • I have read the README
  • I have done the setup for Android
  • I have done the setup for iOS
  • I have ran the sample app and it does not work there

Version

Technology Version
Workmanager version 0.2.2
Xcode version
Swift version
iOS deployment target

Describe the error
Is there a chance to send messages to UI thread from BackgroundTaskHandler?

Currently my app is syncing with the server, but the UI does not update with new data until the widget is restarted. The Moor DB is updated but streams are not and I assume because the DB is updated from another isolate. There is an option to share DB btw isolates, but how can I pass DB isolate to BackgroundTaskHandler :( ?

Thanks in advance!
Output of flutter doctor -v

Metadata

Metadata

Assignees

No one assigned

    Labels

    answeredUsed to auto-close 'answered' issues after a certain time of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions