Home

Awesome

<p align="center"> <img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /> </p> <h3 id="home" align="center">Contacts</h3> <p align="center"><strong><code>@capacitor-community/contacts</code></strong></p> <p align="center">Capacitor Plugin for accessing Contacts.</p> <p align="center"> <img src="https://img.shields.io/badge/supported%20capacitor%20versions-v3,%20v4,%20v5%20and%20v6-blue?logo=Capacitor&style=flat-square" /> <img src="https://img.shields.io/maintenance/yes/2024?style=flat-square" /> <a href="https://www.npmjs.com/package/@capacitor-community/contacts"> <img src="https://img.shields.io/npm/l/@capacitor-community/contacts?style=flat-square" /> </a> <br> <a href="https://www.npmjs.com/package/@capacitor-community/contacts"> <img src="https://img.shields.io/npm/dw/@capacitor-community/contacts?style=flat-square" /> </a> <a href="https://www.npmjs.com/package/@capacitor-community/contacts"> <img src="https://img.shields.io/npm/v/@capacitor-community/contacts?style=flat-square" /> </a> </p>

Purpose

This plugin enables you to access the native contacts APIs of iOS and Android. It allows you to retrieve, create and delete contacts.

Versions

Currently there are three actively maintained versions of this plugin. The API of these versions is identical. The only difference between these versions is the supported Capacitor versions.

PluginCapacitorStatusDocumentation
v6.xv6.xLTSLink
v5.xv5.xLTSLink
v4.xv4.xLTSLink
v3.xv3.xLTSLink

If you are installing this plugin into a new project, you can ignore the following explanation.

In the past a few other versions of this plugin were released, also targeting different versions of Capacitor:

PluginCapacitorStatusDocumentation
v2.xv4.xDeprecatedLink
v1.0.9 and upv3.xDeprecatedLink
v1.0.0 and upv2.xDeprecatedLink
v0.xv2.xDeprecatedLink

Admittedly, this wasn't the most consistent versioning strategy, and we'll keep it more coherent in the future.

It's highly recommended to upgrade to either v3, v4, v5 or v6 if you are using an old version!

<p class="hide-next-element"></p>

Documentation

<p class="hide-next-element"></p>

Extensive documentation is available here.

<p class="hide-next-element"></p>

Shortcuts

<p class="hide-next-element"></p> <!-- - [Examples](https://github.com/capacitor-community/contacts-examples) -->

Limitations

This plugins only adds support for using the native iOS and Android APIs. If you want to make use of the JavaScript API as well (for a possible webapp) you should implement that separately. Of course it should be possible to integrate this into the plugin in the future. If you want to help out with this, please start a PR.