You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paul Schaub 4849c6c544
Fix NPE for recevied messages with missing public key
2 months ago
.github Add Github Pull Request Template 2 years ago
config [checkstyle] Bump to 8.27 1 year ago
documentation Add support for XEP-0420: Stanza Content Encryption 11 months ago
gradle/wrapper Add gradle wrapper to fix gradle build errors of composite build 11 months ago
resources add FailedNonzaException 1 year ago
smack-android gradle: use compileClasspath instead of compileOnly 1 year ago
smack-android-extensions gradle: add Android jar to smack-android-extensions compile classpath 1 year ago
smack-bosh Introduce Smack's Modular Connection Architecture 1 year ago
smack-core s/Websocket/WebSocket/ 10 months ago
smack-debug [core] Deprecate AbstractConnectionListener 1 year ago
smack-debug-slf4j [core] Deprecate AbstractConnectionListener 1 year ago
smack-experimental [mam] Improve MamResultExtension: use MessageView in from() and add QNAME 10 months ago
smack-extensions [jingle] Use correct XmlStringBuilder constructor in JingleReason 10 months ago
smack-im Delete TypedCloneable 1 year ago
smack-integration-test s/Websocket/WebSocket/ 10 months ago
smack-java7 smack-java7: Add missing smack-xmlparser-stax dependency 2 years ago
smack-java8-full s/Websocket/WebSocket/ 10 months ago
smack-jingle-old Introduce test fixtures 1 year ago
smack-legacy Re-work data form API 1 year ago
smack-omemo [extensions] Deprecate old-style PepManager PEP listeners 1 year ago
smack-omemo-signal [checkstyle] Tighten JavadocMethod checkstyle rule 1 year ago
smack-omemo-signal-integration-test SmackReactor/NIO, Java8/Android19, Pretty print XML, FSM connections 2 years ago
smack-openpgp Fix NPE for recevied messages with missing public key 2 months ago
smack-repl s/Websocket/WebSocket/ 10 months ago
smack-resolver-dnsjava resolver-dnsjava: bump to dnsjava 3.0 series 1 year ago
smack-resolver-javax Introduce Smack's Modular Connection Architecture 1 year ago
smack-resolver-minidns Introduce Smack's Modular Connection Architecture 1 year ago
smack-resolver-minidns-dox Introduce test fixtures 1 year ago
smack-sasl-javax Introduce test fixtures 1 year ago
smack-sasl-provided Introduce test fixtures 1 year ago
smack-streammanagement Create smack-streammanagement project and move code there 10 months ago
smack-tcp Merge branch '4.4' 10 months ago
smack-websocket s/Websocket/WebSocket/ 10 months ago
smack-websocket-okhttp s/Websocket/WebSocket/ 10 months ago
smack-xmlparser smack-xmlparser: Improve ISE message 2 years ago
smack-xmlparser-stax Introduce test fixtures 1 year ago
smack-xmlparser-xpp3 Introduce test fixtures 1 year ago
.gitignore Add to gitignore 2 years ago
.travis.yml [travis] Only run javadocAll on Java 11 or higher 1 year ago
LICENSE Add Appendix to LICENSE 4 years ago update Travis-CI badge on 1 year ago
build.gradle Introduce websocket module into smack 10 months ago
gradlew Add gradle wrapper to fix gradle build errors of composite build 11 months ago
gradlew.bat Add gradle wrapper to fix gradle build errors of composite build 11 months ago
repl Bump Ammonite REPL to 1.3.2 3 years ago
settings.gradle Introduce smack-websocket-okhttp 10 months ago
version Smack 4.5.0-alpha1-SNAPSHOT 11 months ago


Build Status Coverage Status Project Stats Link to XMPP chat


Smack is an open source, highly modular, easy to use, XMPP client library written in Java for Java SE compatible JVMs and Android.

A pure Java library, it can be embedded into your applications to create anything from a full XMPP instant messaging client to simple XMPP integrations such as sending notification messages and presence-enabling devices. Smack and XMPP allows you to easily exchange data, in various ways e.g. fire-and-forget, publish-subscribe, between human and non-human endpoints (M2M, IoT, …).

More information are provided by the Overview.

Getting started

Start with having a look at the Documentation and the Javadoc.

Instructions on how to use Smack in your Java or Android project are provided in the Smack Readme and Upgrade Guide.

Professional Services

Smack is a collaborative effort of many open source, professionally and spare-time, paid and unpaid, contributors. While we try to provide the best possible XMPP library for Android and Java SE compatible execution environments by following state of the art software engineering practices, the API may not always perfectly fit your requirements. We welcome contributions and encourage discussion about how Smack can be further improved. We also provide paid services ranging from XMPP/Smack related consulting to designing and developing features in order to accommodate your needs. Please contact Florian Schmaus for further information.

Bug Reporting

Only a few users have access for filling bugs in the tracker. New users should:

  1. Read "How to ask for help or report an issue"
  2. Create a discourse account (you can also sign up with your Google account).
  3. Login to the forum account
  4. Press "New Topic" in your toolbar and choose the 'Smack Support' sub-category.

Please search for your issues in the bug tracker before reporting.


If you find Smack useful and feel like donating, then you can use one of the following systems:

  • Donate via Bitcoin: 1LiU78z3498wu3jwRPKbvovKAHjTcpVbuK


The developers hang around in #smack (freenode, IRC) and (XMPP MUC room). Remember that it may take some time (~hours) to get a response.

You can also reach us via the Smack Support Forum if you have questions or need support, or the Smack Developers Forum if you want to discuss Smack development.


If you want to start developing for Smack and eventually contribute code back, then please have a look at the Guidelines for Smack Developers and Contributors. The guidelines also contain development quickstart instructions.


Ignite Realtime

Ignite Realtime is an Open Source community composed of end-users and developers around the world who are interested in applying innovative, open-standards-based RealTime Collaboration to their businesses and organizations. We're aimed at disrupting proprietary, non-open standards-based systems and invite you to participate in what's already one of the biggest and most active Open Source communities.

Smack - an Ignite Realtime community project.