Questions tagged [xmpp]

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data.

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data. The protocol is commonly used in instant messaging (IM) applications, but can be used to exchange any kind of data. It can also be leveraged for multi-user chat, collaboration, voice and video, message-oriented middleware, and many other applications.

XMPP works by initiating a bidirectional XML stream between two entities. The stream is used to transport XMPP stanzas, which are small, well-defined blocks of XML.

An overview of XMPP protocol is available at https://xmpp.org/about/technology-overview.html

There are various XMPP servers available to use. For more comprehensive lists of server, client implementations as well as XMPP libraries, visit xmpp.org.

5885 questions
21
votes
3 answers

How to send Device to device notification by using FCM without using XMPP or any other script.?

Is there any way to send Upstream notification message through FCM from one android device to another devices connected with Firebase database. I know that XMPP server can then receive the upstream messages and send the notifications to the other…
Vishal Patoliya ツ
  • 2,840
  • 2
  • 17
  • 42
21
votes
5 answers

Chat App for Android using a XMPP Server and Google Cloud Messaging (or the newer Firebase Cloud Messaging) for Push Notifications

I'm developing a Chat App for Android. I have been reading for weeks about XMPP and Google Cloud Messaging (and Firebase Cloud Messaging) and I am still very confused. Currently, I already setup an XMPP server locally (Ejabberd) and successfully…
21
votes
1 answer

Using your own XMPP server for android chat app (Smack API)

I am new to Android programming.I have completed the basics though and wish to learn XMPP for making a chat application on Android. I've gone through tutorials, but have not got the way to use a custom pc as server for the application.I want to use…
user3419596
  • 243
  • 1
  • 3
  • 7
21
votes
2 answers

Can GAE act as an XMPP server?

I'm thinking of building a multi-player game using GAE. When player A makes a move, I'd like to record the details and then let player B know about the move. I thought that I might get some open-source XMPP library in my client and notify presence…
kasuku
  • 361
  • 3
  • 13
21
votes
3 answers

Google chat server archive (XEP-0136)

I am looking for a way how to retrieve archive of chat messages from google server via using XEP-0136 standard, but I got these results just trying to ask for the feature. Request: Response:
Vanya
  • 4,813
  • 4
  • 28
  • 54
20
votes
5 answers

Android & (millions of) push notifications

I'm working on the Android version of an application I first created on iPhone and this application requires to send (if it's as successful as its iPhone version) up to millions of push notifications to users daily. I naively thought the Android…
Vivi
  • 932
  • 14
  • 30
20
votes
7 answers

Ajax jabber/XMPP client recommendations (real experience only please) !

i'm setting up a chat system for my niche social site and have decided on ejabberd for the server side, but i cannot find any decent web-based ajax clients. most seem to be abandoned years ago or simply do not work. i've looked at every single one…
Sherif Buzz
  • 1,168
  • 5
  • 18
  • 36
20
votes
3 answers

Integrating Smack with Android Studio project for chat application

I am trying to implement a chat messenger using ejabberd server and smack library but having a hard time to integrate all the jars and dependencies of smack. I am using android Studio. My build.gradle(module): apply plugin:…
no one
  • 467
  • 5
  • 18
20
votes
1 answer

STOMP or XMPP - Over websocket

I am working on a project which involves real time chat (messaging, including group chats). I have worked with websockets before, So I started working on this using spring-websockets and I did some reading about what is the best way to implement it.…
Karthik
  • 4,652
  • 4
  • 27
  • 62
19
votes
2 answers

Not able to make xmpp connection between my app server and GCM's CCS using XMPPHP library

Like push-notification(downstream message), I want to implement upstream messaging from my android device to my app server in php. I am using this XMPPHP library from Github to connect my app server to GCM's CCS. But when I try to execute below…
Chaman Saini
  • 213
  • 1
  • 6
19
votes
3 answers

Enable Stream Management asmack android

I am facing an issue with using XEP-0198 stream management. Basically, I want to enable this for message dropping issue on Android when internet disconect randomly and server still has client presence online. To solve this issue I want to use…
Akhil Dad
  • 1,728
  • 19
  • 33
19
votes
0 answers

WhatsApp like group chat in android using xmpp and asmack

I am developing a clone of WhatsApp for which i need to implement group chat like in WhatsApp. i am using Openfire as a server and Asmack on android end. Now i have implemented group chat following this guide but this is no way like WhatsApp. Users…
Talha Mir
  • 1,126
  • 10
  • 19
19
votes
3 answers

XMPPFramework - Implement Group Chat (MUC)

I am working on the iOS chat client. Can anyone please help me with the Multi-User Chat? I have implemented Robbiehanson's XMPPFramework. Can anyone please let me know how to get list of group and create a group in server with this framework? Thanks…
Satish
  • 1,002
  • 2
  • 15
  • 30
18
votes
3 answers

Good XMPP/Jabber client library for .NET 3.5 (or 4.0)

What are some good (or the best!) XMPP/Jabber client libraries for .NET 3.5 or 4.0 development? I have seen a few decent libraries out there, but most of the good ones seem to be built for Framework 2.0. (If a Framework 2.0 library is still the…
pearcewg
  • 9,413
  • 20
  • 76
  • 123
18
votes
3 answers

XMPPFramework - How to create a MUC room and invite users?

I am using Robbiehanson's iOS XMPPFramework. I am trying to create a MUC room and invite a user to the group chat room but it is not working. I am using the following code: XMPPRoom *room = [[XMPPRoom alloc]…
Naveed Rafi
  • 2,433
  • 5
  • 29
  • 39