DRSchlaubi / contact_picker

A Flutter plugin for picking a contact from the address book.
https://pub.dev/packages/fluttercontactpicker
BSD 3-Clause "New" or "Revised" License
18 stars 37 forks source link

Unimplemented error #28

Closed firatcetiner closed 3 years ago

firatcetiner commented 3 years ago

I got this error while trying to pick contacts using this library (4.3.1):

Unhandled Exception: UnimplementedError: pickPhoneContacts() has not been implemented

A similar error is thrown whenever I use some other components from the package, for example, available. I tested it for both iOS and Android devices.

I also tried to use version 4.2.1 but the result is the same.

DRSchlaubi commented 3 years ago

As the docs state both methods are only available using fitter web. On Android you can use pickFullContact() and on all platforms you can use pickPhoneConact() and pickEmailContact()