Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate? #96

Closed
skeie opened this issue Oct 7, 2016 · 1 comment
Closed

Duplicate? #96

skeie opened this issue Oct 7, 2016 · 1 comment
Labels

Comments

@skeie
Copy link

skeie commented Oct 7, 2016

Hi, I have one contact on my Android Honor phone. So when I use Contacts.getAll() I get this:
{
emailAddresses: [],
phoneNumbers: [{ label: 'mobile', number: '1337' }],
thumbnailPath: '',
familyName: null,
middleName: null,
givenName: 'test',
recordID: '42470598bf3db8d'
}
{
emailAddresses: [],
phoneNumbers: [{ label: 'mobile', number: '1337' }],
thumbnailPath: '',
familyName: null,
middleName: null,
givenName: 'test',
recordID: '1289'
}

I think it's because of other apps. Like whatsapp. Do you know if its possible to only get contacts from your sim / gmail?

@morenoh149
Copy link
Owner

I think it'd be much simpler to detect related contacts in application code and merge them yourself. I actually do this in one of my apps. Otherwise the bridge would only return some of the contacts. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants