Question

is there is any way in smack library that make me able to be updated with changes in vcard of any of my contacts I tried roster listener and packets listeners which listen for Iq packets but I couldn't get any thing

Was it helpful?

Solution

Short answer: No.

Long answer: With the currently deployed vCard spec, you can't get notifications of changes. You can however, detect when the embedded avatar changes.

In the new, vCard4-based spec, this is solved by re-using PEP for notifications. Unfortunately, it isn't widely deployed yet.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top