-
Notifications
You must be signed in to change notification settings - Fork 319
[Workmanager] Unresolved References After Flutter 3.29.0 Update #588
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
Comments
I'm facing the same issue in flutter 3.29.0 |
Same here, even more errors when using the workmanager in a widget
Flutter 3.29.0 is pain, they removed support for the old v1 plugins. Rendring thousand of plugins to be forced updated. |
facing the same issue in flutter 3.29.0. |
Does anyone fork and upgrade this repo to the v2 plugin version? |
Same issue here my running
Before the new flutter it was okay here |
facing the same issue in flutter 3.29.0. |
It can be solved by directly relying on this repository, and the author has replies on other issues
|
Thank you for this simple and clever solution. It also fixed my androidx.work:work-runtime-ktx strictly use on 2.8.1 when combined with Glance-widget. |
Yes, I also noticed this situation and deleted the forced dependency replacement for 2.8.1 |
Good.. Thank you, I think it would be a good idea to update the package in https://pub.dev/packages/workmanager so more developers could know about it!. |
Facing same issues with latest
|
is it fixed in repo but not released a new version? |
The callbackDispatcher is not calling for me in version 3.29.0. Are others having same issue? |
Best solution for now |
Same here |
++Faced - Let us know once it gets resolved & new version is available with the fix please. |
The simplest task of running flutter default app worked after 3 days of configuration, reinstalling but now I'm facing the same issue. |
Worked for me. Waiting for the release of the new version... |
Thank you, this solved the issue, but it would be great to release this update on pub.dev as well. |
I'm facing the same issue in flutter 3.29.1 |
Thanks, It got fixed |
Yes, probably, but what's the point? Everyone is using pub.dev for their packages, so why isn't a release happening? |
Yes this solution has gotten me around the Unresolved reference issue, but now my delayed periodic task just don't run For details, my Workmanager().registerPeriodicTask runs and seems to be registering (I have no idea but I guess it does), but the callback won't run. |
Did you put
above the |
I have. Everything is in order because the callback does get invoked every now and then. The problem is how inconsistent it is especially when it comes to periodic tasks back then. Even worse is now when I changed my pubspec, callback just won't run at all, lol, even when I set initialDelay to 1 second. |
I hope yall didnt take my last post as "problem solved", in fact it's the exact opposite. Upon further testing I realized that initDelay in And you gotta know that this used to work before I changed my pubspec to main branch. I will raise an issue about this shortly. |
The minimum cycle for android workmanager has always been 15 minutes |
I'm speaking of initDelay. I don't think it has anything to do with minimum cycle of periodic tasks. But whether or not it's relevant, I'm sure that initDelay used to work perfectly before. |
I have used the previous version before, but it still takes at least 15 minutes to trigger, So my expectations for this library are not very high |
The previous version did work (and allowed the time between updates to be lower than 15 minutes) by using exactly the same combination of several The new version does not seem to work because the native WorkManager was updated. See my reply here: #594 (comment) Whether this is something that has been changed in (native) Android or something that needs to be updated in this package when using a WorkManager higher than v2.7.1, that I don't know. |
simple but best solution |
Is there a reason why it hasn't been released on pub.dev? |
Had the same issue. For a temporary solution, I've forked the repository starting from this commit: b783000 to make it compatible with Flutter 3.29 (mine was tested on 3.29.3).
|
Issue Report
Version
Describe the error
After updating Flutter to version 3.29.0 (stable), the sample app does not work. The following errors appear when launching the app:
It seems like there are unresolved references related to
shim
,ShimPluginRegistry
, andPluginRegistrantCallback
in the Workmanager package.Would appreciate any guidance on how to resolve this issue.
Output of
flutter doctor -v
The text was updated successfully, but these errors were encountered: