locked
how to create chat app in xamarin form? RRS feed

  • Question

  • User306227 posted

    hi

    how to create chat app in cross-platform xamarin? suggest me any sample code or video

    Friday, February 2, 2018 9:31 AM

All replies

  • User171749 posted

    Heres a sample: https://developer.xamarin.com/samples/monotouch/Chat/

    Friday, February 2, 2018 9:33 AM
  • User306227 posted

    its only for ios.i need both Android and ios

    Friday, February 2, 2018 9:36 AM
  • User171749 posted

    @akk said: its only for ios.i need both Android and ios

    https://github.com/jamesmontemagno/app-monkeychat

    Friday, February 2, 2018 9:38 AM
  • User261202 posted

    https://github.com/jamesmontemagno/app-monkeychat This was not Working Now in VisualStudio 2017 .

    Tuesday, February 27, 2018 7:17 AM
  • User353983 posted

    To create a chat app (if you need an help for bacend) you can use Socket.io, Mqtt or Websocket. You need also a node.js server for this solutions.

    Socket.io: doesn't release their own library, but a developer has converted Javascript Socket.io library into C# compatible library. There's a problem: you can't use the newest version of socket.io in your backend node.js (backend use Socket.io original library)

    Mqtt: there's a Xamarin library ( http://xamarin.github.io/mqtt/ ) but it's old and doesn't work well. So I use this https://github.com/chkr1011/MQTTnet that's work really good with mqtt nodejs on backend.

    Websocket: there's a Xamarin library ( https://developer.xamarin.com/api/namespace/System.Net.WebSockets/ ) that work well, but I prefer mqtt because Websocket don't have "Nickname" and "Topic" function, and I don't have idea which is the correct way to transfer "nickname" to server from client and implement "topic" function

    Tuesday, February 27, 2018 8:38 AM
  • User261977 posted

    Here is some example of a chat application which includes more then 20+ features

    https://github.com/Doughouzlight/XamarinFormsWowonder-Messenger-v1.3

    Saturday, June 2, 2018 10:51 AM
  • User368680 posted

    Hi @Bluex , can you post the link of the c# porting of the socket.io client you quoted?

    Socket.io: doesn't release their own library, but a developer has converted Javascript Socket.io library into C# compatible library. There's a problem: you can't use the newest version of socket.io in your backend node.js (backend use Socket.io original library)

    Friday, October 11, 2019 9:33 AM