DEV Community

Discussion on: Why WhatsApp web doesn't work without WhatsApp on your mobile app?

Collapse
 
ryuu profile image
James Filmer

Hey there, so just a few points I might want to just bring up that I've noticed with whatsapp. Although I may be wrong.

Messages to and from Whatsapp are only ever sent to and from our phones. Strictly...

I believe and in my experience of all the platforms and integrating etc. I believe that Whatsapp web creates a secure connection to your phones Whatsapp. Messages can be seen hitting your phone first with a notification only being triggered later.

If your phone disconnects, even for a few seconds, whatsapp web simply just says it can't send the message until the connection is restored, why would that be if it were stored on their servers.

I'm inclined to believe that the secure connection/socket to your phone is held and all communication between web is albeit via whatsapp servers, strictly to your phone. It then is sent by your phone to the recipient(s).

Additionally, delete for everyone is a time limit thing, I can't remember but I think it is up to 1 hour after sending that you can delete for everyone.

And yes, undelivered messages are kept for up to 30 days before permanently undeliverable.

Collapse
 
atulbhattsystem32 profile image
Atul Bhatt

Yeah. The same details are what I observed. When I did any operations like sending messages and other operation like deleting and other no api calls were there on whatsapp web network tab.
I was planning to see the logcat of my android device where the application is installed to verify the same.

And thanks for adding on these details that makes me more sure of it.

I'll surely release another article with more into technical details.
😀😀😀