In iOS, you can easily chat with a web view by injecting some JS. In the opposite direction, calling messages are a little more complicated, but still possible when you create a kind of bridge between JS and iOS.
I think Android is probably easier. I do not know about Windows Phone.
source share