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

Cannot find symbol import io.flutter.plugin.common.PluginRegistry.Registrar #496

Open
kazekkloss opened this issue Dec 21, 2024 · 0 comments

Comments

@kazekkloss
Copy link

After updating Flutter to version 3.28, the flutter_background_service_android library (version 6.2.7) fails to build due to a breaking change in the Flutter API. Specifically, the issue is related to the use of the now-removed Registrar class from the io.flutter.plugin.common.PluginRegistry package.

Here is the error message:
error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry.Registrar;
^ symbol: class Registrar
location: interface PluginRegistry

This issue occurs because the Registrar API has been removed in recent versions of Flutter, and the library needs to be updated to use the FlutterPlugin API instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant