title: Need to implement an instant messaging for iOS and Android?
body: <p>I'm building an iOS app for my boss, and I have to implement a chat. the app will run on iOS for now but in the future it's gonna run on android too, so I need a cross-platform working solution. I will develop it in Swift, on Iphone only.
  once you logged in by Facebook , Twitter or email you'll be able to send messages to other users logged in the app and online. you know, waze style.</p>
  
  <p>I think I cannot use iMessage since the app could be developed for Android too. 
  I'm trying to understand Jabber but I am totally new at it, but is it possible to make such a service in PHP?
  Boss told me to look for a third party chat service, pay it and stop but I cannot find the right one.</p>
  
  <p>could someone help me?</p>