Info
Version: | 1.2.2 |
Author(s): | Ivan Surzhenko, Enis Necipoğlu, sadgit, Sumeyya Arar |
Last Update: | Monday, February 24, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/isurzhenko/Xamarin.Forms.Contacts |
NuGet Url: | https://www.nuget.org/packages/IvanSurzhenko.Xamarin.Forms.Contacts |
Install
Install-Package IvanSurzhenko.Xamarin.Forms.Contacts
dotnet add package IvanSurzhenko.Xamarin.Forms.Contacts
paket add IvanSurzhenko.Xamarin.Forms.Contacts
IvanSurzhenko.Xamarin.Forms.Contacts Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Sample:
var contacts = await Plugin.ContactService.CrossContactService.Current.GetContactListAsync();
This package is depdended to Plugin.Permissions.
Don't forget to add it and make the right setup
https://github.com/jamesmontemagno/PermissionsPlugin
DON'T FORGET PERMISSIONS:
ON ANDROID:
READ_CONTACTS
ON IOS:
into Info.plist
<key>NSContactsUsageDescription</key>
<string>We need contact permission to do ...</string>.