Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failures in Example App: Missing Parameters and Undefined Methods in Workmanager #568

Open
Turskyi opened this issue Sep 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Turskyi
Copy link

Turskyi commented Sep 30, 2024

I encountered compilation errors while running the example app from the flutter_workmanager repository.

Environment

  • Flutter version: 3.24.3
  • Dart version: 3.5.3
  • Android Emulator API: 30
  • iOS Simulator: iPhone 16 Plus

Errors Encountered

  • Error: No named parameter with the name 'flexInterval'.
  • Error: The method 'registerProcessingTask' isn't defined for the class 'Workmanager'.
  • Error: The method 'isScheduledByUniqueName' isn't defined for the class 'Workmanager'.
  • Error: The method 'printScheduledTasks' isn't defined for the class 'Workmanager'.

Steps to Reproduce

  1. Clone the https://github.com/fluttercommunity/flutter_workmanager repository.
  2. Navigate to the example folder.
  3. Run flutter pub get.
  4. Attempt to run the app on an Android Emulator or iOS Simulator.

Request for Guidance

The README for the example app appears to lack detailed instructions for setting it up and running it correctly. If there are specific steps or configurations required that are not mentioned, could you please provide some guidance? This would greatly help users who may encounter similar issues when trying to run the example app.

Thank you!

@Turskyi Turskyi added the bug Something isn't working label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant