Early this year I mentioned a very extensive project for those looking to build full featured messaging apps called Spika.
Here’s another nice open source example for those integrated in providing chat features within an app called AwesomeChat from Related Code.
AwesomeChat shows how to use a Facebook/Twitter login, a great looking user interface with nice animations, data detectors for phone numbers, dates, and links, avatar images pulled from Facebook/Twitter, sound effects, a backend server and more.
The backend server included with the project utilizes Firebase which allows for a free trial so you can use it to test out the project.
Here’s a set of images from the readme showing AwesomeChat in action:
You can find AwesomeChat on Github here.
An excellent chat app example.