nativescript-contacts-chooser
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

nativescript-contacts-chooser

iOS Screenshot

Android Screenshot

Installation

Describe your plugin installation steps. Ideally it would be something like:

tns plugin add nativescript-contacts-chooser

Usage

Describe any usage specifics for your plugin. Give examples for Android, iOS, Angular if needed. See nativescript-drop-down for example.

import { ContactsChooser, ContactsChooserResult } from 'nativescript-contacts-chooser';

//Request for permission (Android)
chooser.requestPermission();

//Choose contact
chooser.open()
    .then((contact: ContactsChooserResult) => {
        console.log(contact);
    })

API

Describe your plugin methods and properties here. See nativescript-feedback for example.

Property Description
requestPermission() Request for permission to access contacts
open() Open contacts picker

License

Apache License Version 2.0, January 2004

Package Sidebar

Install

npm i nativescript-contacts-chooser

Weekly Downloads

1

Version

1.1.0

License

Apache-2.0

Unpacked Size

36.5 kB

Total Files

17

Last publish

Collaborators

  • dammynex