Skip to content

Contact plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to read, create and update contacts from the address book.

License

Notifications You must be signed in to change notification settings

martijn00/flutter-contacts

 
 

Repository files navigation

Flutter Contacts Plugin

pub package

A Flutter contacts plugin which provides easy access to the platform specific address book.

Branch Build Status
develop Build Status
master Build Status

Features

  • Automatically check and request necessary permissions to access the platform specific address book;
  • Read contacts from the addres book;
  • Store new contacts in the address book;
  • Update details of existing contacts;
  • Delete existing contacts from the address book.

Usage

[TODO: Describe the API]

Permissions

Android

On Android you'll need to add either the READ_CONTACTS or the WRITE_CONTACTS permissions to your Android Manifest (depending if you need read and/ or write access to the address book). Todo so open the AndroidManifest.xml file and one of the following two lines as direct children of the <manifest> tag:

<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />

iOS

On iOS you'll need to add the NSContactsUsageDescription to your Info.plist file in order to access the device's address book. Simply open your Info.plist file and add the following:

<key>NSContactsUsageDescription</key>
<string>This app needs access to address book.</string>

Issues

Please file any issues, bugs or feature request as an issue on our GitHub page.

Want to contribute

If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our contribution guide and send us your pull request.

Author

This Contacts plugin for Flutter is developed by Baseflow. You can contact us at [email protected]

About

Contact plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to read, create and update contacts from the address book.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 45.6%
  • Ruby 35.4%
  • Kotlin 14.5%
  • Objective-C 4.5%