Links local device contacts with server-side user profiles in the ContactsManager SDK
LocalCanonicalContact
model bridges the gap between local device contacts and server-side user profiles. It provides a way to link a contact on the user’s device with their canonical representation in your app’s ecosystem, enabling powerful social features.
contact: Contact?
- The local device contact informationcontactId: String
- Unique identifier for the local contactsourceContactId: String
- External identifier in the local databasecanonicalContact: CanonicalContact
- Server-side canonical profile informationContact
) exist only on the user’s device and contain device-specific information like phone numbers and email addresses.
CanonicalContact
) are server-side representations of users in your app’s ecosystem, with consistent identities across all devices.
LocalCanonicalContact
) create the mapping between these two worlds, enabling your app to: