goderbauer / contact_picker

A Flutter plugin for picking a contact from the address book.
BSD 3-Clause "New" or "Revised" License
77 stars 109 forks source link

contact_picker isn't working #6

Closed EphronKarthick closed 6 years ago

EphronKarthick commented 6 years ago

Hi,

When i pick the contact using contact_picker, its just redirect to back page instead of showing the contact information for particular selected contact.

Thanks, Karthick

goderbauer commented 6 years ago

You need to provide more context (ideally with code snippets and screenshots). How are you using contact_picker? What are you doing that exposes the problem? What was the expected outcome of your action? What did actually happen?

EphronKarthick commented 6 years ago

Hi,

Thanks for your response.

I have used contact_picker to select particular contact in the contact list.

Below i have mentioned the screenshot of my flutter app and also pointed out the expected outcome.

Link : https://www.screencast.com/t/ZYZrLOxSDbC

https://www.screencast.com/t/vrcOBrfkhEg2

Thanks,

Karthick

On Mon, Mar 19, 2018 at 11:10 PM, Michael Goderbauer < notifications@github.com> wrote:

You need to provide more context (ideally with code snippets and screenshots). How are you using contact_picker? What are you doing that exposes the problem? What was the expected outcome of your action? What did actually happen?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/goderbauer/contact_picker/issues/6#issuecomment-374301445, or mute the thread https://github.com/notifications/unsubscribe-auth/AjutDS7MvfcpQBG8_h8LiVCF3LqPQCKbks5tf-1ygaJpZM4SvyyP .

goderbauer commented 6 years ago

What does your code look like where you call the contact_picker?

EphronKarthick commented 6 years ago

Hi,

Thanks for your response.

Below i have mentioned the screenshot of code.

Link : https://www.screencast.com/t/mzMzimjmRu4

Please guide me how to fix the issue.

Thanks, Karthick

On Tue, Mar 20, 2018 at 11:23 AM, Michael Goderbauer < notifications@github.com> wrote:

What does your code look like where you call the contact_picker?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/goderbauer/contact_picker/issues/6#issuecomment-374484550, or mute the thread https://github.com/notifications/unsubscribe-auth/AjutDaQpE3Pu60RnxWrIPl731X2s7ZERks5tgJlXgaJpZM4SvyyP .

goderbauer commented 6 years ago

You're not displaying the contact anywhere in your app. If you replace the line body: new Container() with something like the following you'll see the selected contact:

body: new Center(
  child: new Text(_contact == null ? 'No contact selected.' : _contact.toString()),
),
EphronKarthick commented 6 years ago

Hi,

Thanks for your response. Its working fine.

Thanks, Karthick

On Tue, Mar 20, 2018 at 12:07 PM, Michael Goderbauer < notifications@github.com> wrote:

Closed #6 https://github.com/goderbauer/contact_picker/issues/6.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/goderbauer/contact_picker/issues/6#event-1530169245, or mute the thread https://github.com/notifications/unsubscribe-auth/AjutDZfhzZ2qxcnqBCi_NvqP-D0hXKM5ks5tgKORgaJpZM4SvyyP .