We need to build a mobile application whose API will be written in Ruby on Rails. There is a requirement to send xmpp messages for some cases to mobile ? Please help how to do it ?
Asked
Active
Viewed 617 times
1 Answers
2
Are you familiar with the ruby toolbox? It is a database of all available rubygems that you can search from. You can search for xmpp and it'll give you a lot of gems that might fit your needs.
https://www.ruby-toolbox.com/search?utf8=%E2%9C%93&q=xmpp
Blather or Xmpp4r sound like good candidates.
Check out these other related SO questions:

Community
- 1
- 1

Marc Lainez
- 3,070
- 11
- 16
-
I saw XMPP4r gem.. but couldn't find how to add mobile to send xmpp message in it. – Pankhuri Kaushik Aug 23 '14 at 17:58
-
1You probably need to read more about the protocol http://xmpp.org/about-xmpp/ and try to interact with it with a very basic program before you jump into implementing it in production. You'll need an xmpp server such as http://www.process-one.net/en/ejabberd/ and some client libraries to interact with it both on the rails side and on the mobile side. That's what my answer is about. – Marc Lainez Aug 23 '14 at 20:24
-
Is there are any other options to XMPP4r gem because still I don't see any updated gem for XMPP. – Deepak Shinde Jul 02 '16 at 06:49
-
Blather seems to still be maintained. Last commits in January. https://github.com/adhearsion/blather – Marc Lainez Jul 02 '16 at 06:52