Mobile phones have IP addresses as well and every time you message someone on Viber or WhatsApp they can see your IP address among other details. However, it gets worse. If someone sends you a link to a website and you click on it, then that site can spy IP address as well.