Home > DeveloperSection > Forums > How does contact sync work in Android
naomi burke
naomi burke

Total Post:28

Points:196
Posted on    November-23-2015 12:34 AM

 Android Android 
Ratings:


 1 Reply(s)
 259  View(s)
Rate this:
I can understand the initial bit of all user contacts taken to the cloud and then matched against the Whatsapp global user list. But later when user adds more contacts in phonebook, it shows up in Whatsapp contacts in just a few seconds without any manual syncing button. Is it possible to keep passing the data from phone contacts to the cloud?


Mayank Tripathi
Mayank Tripathi

Total Post:397

Points:3117
Posted on    November-23-2015 5:49 AM

There is a background process running in OS, with is associated with whatsapp.

When you install whatsapp it will add it's account in your OS settings (You can check by going in ,Settings > Accounts ) that will allow it to use it's SyncAdaper, which can periodically sync data from app to server, in this case whenever a new contact is added in your phone, or after some fixed iterative time defined by OS, All SyncAdapters are called upon to sync data with associated server, in this case whatsapp app to whatsapp server.(Google Mail / Contacts works similarly - autonomous)

So next time when you open app, you find your new contacts listed in whatsapp..

P.S: Details accurate for android OS

Don't want to miss updates? Please click the below button!

Follow MindStick