-
Notifications
You must be signed in to change notification settings - Fork 46
Issues with FlutterBackgroundManager and latest version of Flutter (3.29.0) #86
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
Hello, guys! I'm encountering the same error and attempted to resolve it without success. However, I found some useful information that may help. The issue stems from a breaking change in Flutter 3.29.0. Specifically, the removal of v1 Android embedding Java APIs. The Flutter team has documented this change here: Flutter Breaking Change - Removal of v1 Android embedding Java APIs . I followed the steps outlined in the Plugin Authors section but was unable to resolve the issue. Hopefully, someone here has better luck. @vanlooverenkoen |
Hello sir, i got the same issue, how to solve it |
Hi, did you try with 3.27? Does that work? I've recently updated the dependencies to support that version. If you are upgrading from an older version, you may need to clean your gradle. |
@ikbendewilliam I tested with Flutter 3.27, and it works as expected. However, the breaking changes introduced in Flutter 3.29 require some updates. Specifically, the deprecated Java API usage needs to be removed. You can find the relevant information for this update in the Flutter post on breaking changes I referenced in my previous comment. It's crucial that this plugin is compatible with the latest Flutter version. I’ll try to work on a solution today and will provide updates as I progress. If you get a chance, it would be great if you could also take a look and try to tackle it from your side. |
Hi guy's, any update on this? |
Internally we are staying on 3.24 as both 3.27 and 3.29 have many issues imo. We are updating packages, but it is slow until we are confident we have no more issues with the latest Flutter version and can update our projects. However, we are certainly open for PR's if you deem this crucial |
i have same problem |
Use my fork for temporary solution. https://github.com/RekanAnwar/flutter-background-location-tracker.git |
Issue started appearing after upgrading to latest flutter version.
Ref: fluttercommunity/flutter_workmanager#588
The text was updated successfully, but these errors were encountered: