2

In a Flutter app, a background task can be started via a local notification (e.g. onDidReceiveBackgroundNotificationResponse from flutter_local_notifications plugin). The main isolate may or may not be active at this point and as far as my understanding goes does not know that the background task was started.

Is there a way for the background task to start a function on the main thread and force a UI update?

Geralt von Riva
  • 324
  • 3
  • 16

0 Answers0