Learn how to store and sync the phone contact list with QuickBlox.
Address Book API provides an interface to work with the phone address book. Upload it to the server and retrieve already registered QuickBlox users from your address book.
Visit Key Concepts page to learn the most important QuickBlox concepts.
First of all, you need to upload your address book to the backend. It’s a normal practice to do a full upload for the first time and then upload new contacts on future app logins.
force: 1
option.UDID
is a unique device identifier. The UDID
is used in cases where a user has two or more devices and contacts sync is off. Otherwise, a user has a single global address book. The UDID
maximum length is 64 symbols.You can retrieve your uploaded address book using the code snippet below.
If you need to update the name or phone number in your address book contacts, you should use the code sample below.
You can delete contacts by using the code snippet below.
Using this request, you can easily retrieve the QuickBlox users - your address book contacts that are already registered in your app. Users are matched with address book contacts by phone number, so user and address book contact must have the same phone number to be included in response.
There is a way to get a push notification when some contact from your Address Book has been registered in the app. You can enable this feature at QuickBlox Dashboard. Just follow Dashboard => YOUR_APP => Users => Settings direction and enable push notifications for new contacts.
Learn how to store and sync the phone contact list with QuickBlox.
Address Book API provides an interface to work with the phone address book. Upload it to the server and retrieve already registered QuickBlox users from your address book.
Visit Key Concepts page to learn the most important QuickBlox concepts.
First of all, you need to upload your address book to the backend. It’s a normal practice to do a full upload for the first time and then upload new contacts on future app logins.
force: 1
option.UDID
is a unique device identifier. The UDID
is used in cases where a user has two or more devices and contacts sync is off. Otherwise, a user has a single global address book. The UDID
maximum length is 64 symbols.You can retrieve your uploaded address book using the code snippet below.
If you need to update the name or phone number in your address book contacts, you should use the code sample below.
You can delete contacts by using the code snippet below.
Using this request, you can easily retrieve the QuickBlox users - your address book contacts that are already registered in your app. Users are matched with address book contacts by phone number, so user and address book contact must have the same phone number to be included in response.
There is a way to get a push notification when some contact from your Address Book has been registered in the app. You can enable this feature at QuickBlox Dashboard. Just follow Dashboard => YOUR_APP => Users => Settings direction and enable push notifications for new contacts.