Social chat function (online / offline)

I have a need to have a chat function where people can click on someone in their list, use the ID to engage int a conversation, share messages, and upload images. All this needs to get kept in state (offline presumably for performance) and even the ability to upload recorded audio/playback messages would be cool but not not day 1 requirement.

Any advice on how best to do this with ionic so I can avoid any pitfalls. e…g multiple conversation views caching ? or storing the conversation and image references in local storage.

Anyone who has tread this path before or even has something pre-canned that is easily customisation for a few bucks I would be interested in hearing about just to save me some time.

Try out our Onymos Chat component available for Free at the Ionic Market place - http://market.ionic.io/plugins/onymos-chat