79095236

Date: 2024-10-16 17:47:32
Score: 0.5
Natty:
Report link

The issue you're encountering is related to the version of the workmanager package. Instead of using the following dependency:

workmanager: ^0.5.2

You should reference a specific commit from the GitHub repository to resolve this issue. Update your pubspec.yaml file like so:

workmanager:
  git:
    url: https://github.com/fluttercommunity/flutter_workmanager.git
    ref: b783000

This points to a specific commit that addresses the problem you're facing.

It's likely that the Flutter Workmanager team will resolve this in future releases, so keep an eye out for updates. Once the issue is officially fixed in a newer release, you should be able to switch back to using the standard versioning.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rapkat Baudunov