Cloudkibo / CloudKibo

CloudKibo
0 stars 0 forks source link

Send contact information if on cloudkibo or not #507

Closed sumairasaeed closed 7 years ago

sumairasaeed commented 7 years ago

On watsapp when we share contact, it shows button to "Invite" if shared contact is not on whatsapp. If contact is on whatsapp already, it shows buttons to "Save" and "Message" to receiver.

For implementing this, server should attach this status information (if contact is on cloudkibo) when sending contact information. This way receiver will get to know if contact is not on cloudkibo so it will show/hide the button to "Invite".

Here is screenshot from whatsapp: image

sojharo commented 7 years ago

This is under construction, I had worked on logic so that server would let the user know if someone from his address book joins cloudkibo. Further, I need to put in contact share payload about the contact availability on cloudkibo.

sojharo commented 7 years ago

In contact share payload, now I change the payload from name:number to name:number:true to let the user know that shared contact is already on cloudkibo or not.

@Assadbintahir @sumairasaeed