contacts_service
A Flutter plugin to access and manage the device's contacts.
Usage
To use this plugin, add contacts_service
as a dependency in your pubspec.yaml
file.
Make sure you add the following permissions to your Android Manifest:
On iOS, make sure to set NSContactsUsageDescription
in the Info.plist
file
To check and request user permission to access contacts, I recommend using the following plugin: flutter_simple_permissions
If you do not request user permission or have it granted, the application will fail. For testing purposes, you can manually set the permissions for your test app in Settings for your app on the device that you are using. For Android, go to "Settings" - "Apps" - select your test app - "Permissions" - then turn "on" the slider for contacts.
Example
Todo
- [ ] update contact