3 ms·
Example: WhatsApp needs to show a name for a given number who messaged you. It might be in your contacts. So you need an api to look up a contact by number. Or
by dmitrygr 2y ago
Example: WhatsApp needs to show a name for a given number who messaged you. It might be in your contacts. So you need an api to look up a contact by number. Or you want to send a message and want to send to a contact, so you need at least an api to pick a contact. The latter is easy. The former is harder. Phone numbers are slow. Enumerating the space to leak your entire contacts list is trivial. Thus a lookup by number api cannot be. And thus instead we end up with "share partial contact list" as the best case, IMHO