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

this fork works currently #345

Open
hkhere opened this issue Nov 20, 2024 · 3 comments
Open

this fork works currently #345

hkhere opened this issue Nov 20, 2024 · 3 comments

Comments

@hkhere
Copy link

hkhere commented Nov 20, 2024

flutter_contacts

@hkhere
Copy link
Author

hkhere commented Nov 20, 2024

if anyone wants to use the one i mentioned above, replace the contact_service: a.b.c entry in the pubspec.yaml with the following one:

  contacts_service:
    git:
      url: https://github.com/hkhere/flutter_contacts.git
      ref: master

@jonbhanson
Copy link

jonbhanson commented Feb 14, 2025

@hkhere I am getting the following error with the current stable version of Flutter, Channel stable, 3.29.0:

ContactsServicePlugin.java:44: error: cannot find symbol import io.flutter.plugin.common.PluginRegistry.Registrar;

You don't have the Issues tab enabled on your fork, so I am adding the error here.

Also, you should consider publishing your fork on pub.dev so it can be accessed directly.

Thanks for your work on this!

@hkhere
Copy link
Author

hkhere commented Feb 15, 2025

@hkhere I am getting the following error with the current stable version of Flutter, Channel stable, 3.29.0:

ContactsServicePlugin.java:44: error: cannot find symbol import io.flutter.plugin.common.PluginRegistry.Registrar;

You don't have the Issues tab enabled on your fork, so I am adding the error here.

Also, you should consider publishing your fork on pub.dev so it can be accessed directly.

Thanks for your work on this!

Thank you for pointing out the problem.
I have just upgraded my Flutter version to 3.29.0 and tested it. It threw some errors.
I have removed the io.flutter.plugin.common.PluginRegistry.Registrar (used to make the plugin work on older Flutter versions) and pushed the commit to my repository. It should now work on Android. I plan to take some time to further improve and finalize the plugin (e.g., update pubspec.yml, update the example, etc.).

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

2 participants