Skip to content

Commit

Permalink
Add display name style in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstyl committed Feb 13, 2022
1 parent 997a170 commit a3b86aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/fetch_contacts.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,13 @@ if (linkedAccountValue != null) {
| Kik | `kik.android` |
| Duo | `com.google.android.apps.tachyon` |
| Threema | `ch.threema.app` |

## Display Name Style

You can specify the style of the display name you prefer when fetching contacts:

The `Primary` (default) style will return display names in a "given name first" fashion for Western names.

The `Alternative` style will return them in a "family name first" fashion instead.

The returned contacts will be sorted according to the style requested.

0 comments on commit a3b86aa

Please sign in to comment.