Flutter: How to Access Contacts?

Sudhanshu Srivastava
1 min readJan 30, 2024
Photo by Antoine Barrès on Unsplash

Flutter packages provide a number of plugins which can be used to access contacts on iOS and Android platforms.

Here are 2 most recommended plugins out of may other available.

  • contacts_service
    Contacts Service helps you accessing and managing device contacts. You can read, create, update and delete contacts with this plugin.
    Though this is the plugin with most liked when it comes to accessing the device contacts, there is a catch.
    Contact Service doesn’t handle the process of asking permissions. To check and request contact access permission you’ll have to rely upon other plugin(s).
  • flutter_contacts
    Flutter Contacts helps read, create, update and delete contacts on your Android and iOS devices.
    Apart from CRUD operations on the contacts on device this plugin also has group and vCard support.
    Also, it also provides contact access permission handling.

Out of the above 2, my personal choice is flutter_contacts as it fits into my requirement. You can chose whichever is suitable for you.

Thanks for reading.

--

--

Sudhanshu Srivastava

I write about what I learn. Swift, Kotlin, Flutter, Social and Life.