Search code examples
c#xamarinchatxamarin.formsgroupchat

Group Chat Feature


I want to add a chat to my xamarin.forms app. I've read alot of documentations about creating chats in c# but still I couldn't get an answer some of my questions:

  • What is the best(performance) way to create a chatroom(like a groupchat) i've read using a thread per room could be a solution but this seems senseless to me ...
  • Is there any Git-Projekt which implements a groupchat function where I can get some insights ?
  • What do I have to keep in mind in terms of my infrastructure - how can I connect my chat to SQL ?

I know these are alot of questions but I really dont know where to start. I hope someone can help me out.


Solution

  • I've been using PubNub for a while, and its awesome.

    You can consult examples in Android and iOS.

    It has full PCL support so you don't have to do specific Android/iOS code to exchange messages. I've also read a lot of the tests they have in the PCL and get good information from that.


    You have Real Time Framework, to exchange real time messages.


    They also have a very good support.

    For the SQL, you have SQLite-net.