[
https://issues.apache.org/jira/browse/CB-11038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Mücksch updated CB-11038:
--------------------------------
Description:
For some reason, Android (or Gmail) creates a contact for each email a user
receives (via gmail). *By default those Contacts are hidden in the systems
contacts-app.*
The problem is; the cordova-plugin-contacts retrieves those useless contacts
together with the ordinary contacts that are actually of interest; *even if
they aren't real contacts and in most cases of literally +no interest+*.
Additionally this is different behaviour from the iOS version.
You can spot these "ghost contacts" when you open your contacts app, click on
the settings (top right corner), and then on "Contacts to display" ->
"Customize" -> Google -> "My Contacts".
In my opinion there should be at least an option to filter out specific
contacts sources. It's very annoying to have plenty of *+nonsense+* contacts
(around 50 in my case). For example I have some contacts in the list for email
addresses I have received invoices from or even newsletters.
Side note: I'm not 100% percent sure where these contacts come from. Either
android or the gmail web app.
I guess filtering by this attribute may help:
[ContactsContract.Contacts.IN_VISIBLE_GROUP|http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html]
??An indicator of whether this contact is supposed to be visible in the UI. "1"
if the contact has at least one raw contact that belongs to a visible group;
"0" otherwise.??
Here is someone who describes a similar issue (not development related): [How
to filter my google
contacts?|http://android.stackexchange.com/questions/43198/how-to-filter-my-google-contacts]
was:
For some reason, Android (or Gmail) creates a contact for each email a user
receives (via gmail). *By default those Contacts are hidden in the systems
contacts-app.*
The problem is; the cordova-plugin-contacts retrieves those useless contacts
together with the ordinary contacts that are actually of interest; *even if
they aren't real contacts and in most cases of literally +no interest+*.
Additionally this is different behaviour from the iOS version.
You can spot these "ghost contacts" when you open your contacts app, click on
the settings (top right corner), and then on "Contacts to display" ->
"Customize" -> Google -> "My Contacts".
In my opinion there should be at least an option to filter out specific
contacts sources. It's very annoying to have plenty of *+nonsense+* contacts
(around 50 in my case). For example I have some contacts in the list for email
addresses I have received invoices from or even newsletters.
Side note: I'm not 100% percent sure where these contacts come from. Either
android or the gmail web app.
I guess filtering by this attribute may help:
[ContactsContract.Contacts.IN_VISIBLE_GROUP|http://developer.android.com/reference/android/provider/ContactsContract.Groups.html]
??An indicator of whether this contact is supposed to be visible in the UI. "1"
if the contact has at least one raw contact that belongs to a visible group;
"0" otherwise.??
Here is someone who describes a similar issue (not development related): [How
to filter my google
contacts?|http://android.stackexchange.com/questions/43198/how-to-filter-my-google-contacts]
> Android: Automatically created (nonsense) contacts are retrieved too
> --------------------------------------------------------------------
>
> Key: CB-11038
> URL: https://issues.apache.org/jira/browse/CB-11038
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Affects Versions: 2.0.0
> Environment: Android 6 Marshmallow
> Reporter: Tobias Mücksch
>
> For some reason, Android (or Gmail) creates a contact for each email a user
> receives (via gmail). *By default those Contacts are hidden in the systems
> contacts-app.*
> The problem is; the cordova-plugin-contacts retrieves those useless contacts
> together with the ordinary contacts that are actually of interest; *even if
> they aren't real contacts and in most cases of literally +no interest+*.
> Additionally this is different behaviour from the iOS version.
> You can spot these "ghost contacts" when you open your contacts app, click on
> the settings (top right corner), and then on "Contacts to display" ->
> "Customize" -> Google -> "My Contacts".
> In my opinion there should be at least an option to filter out specific
> contacts sources. It's very annoying to have plenty of *+nonsense+* contacts
> (around 50 in my case). For example I have some contacts in the list for
> email addresses I have received invoices from or even newsletters.
> Side note: I'm not 100% percent sure where these contacts come from. Either
> android or the gmail web app.
> I guess filtering by this attribute may help:
> [ContactsContract.Contacts.IN_VISIBLE_GROUP|http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html]
> ??An indicator of whether this contact is supposed to be visible in the UI.
> "1" if the contact has at least one raw contact that belongs to a visible
> group; "0" otherwise.??
> Here is someone who describes a similar issue (not development related): [How
> to filter my google
> contacts?|http://android.stackexchange.com/questions/43198/how-to-filter-my-google-contacts]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]