Smack 4.1.0-alpha1 available

After months of hard work it’s at the time to release the first alpha version of Smack 4.1, the open source Java XMPP client library, for testing purposes.

Smack 4.1 marks a milestone in the development history of Smack, as it’s the first version that runs native on Android. This means that aSmack is no longer required and will be phased out in the future. Future aSmack releases will be solely form the stable 4.0 branch.

Together with support for Android, Smack 4.1 also adds support for XEP-198 “Stream Management” in smack-tcp. XMPP connections with enabled Stream Management provide acknowledgments of sent stanzas (and acknowledges received stanzas to the server) and allow transparent stream resumption in case of a network outage (for example because of a WiFi :left_right_arrow: GSM switch on Android).

Smack 4.1.0-alpha1 is now available from Maven Central and we would welcome interested and adventurous users to try this early alpha release and provide feedback. For more information about using Smack 4.1 and how to include it in your Android project, consult the “Smack 4.1 Readme and Upgrade Guide”.

2 Likes

Great to see such stable development of Smack. Though, i wish someone would do the same for Spark (integrating those Smack improvements) and Openfire

started getting this error

Error:A problem occurred configuring project ‘:app’.

Could not resolve all dependencies for configuration ‘:app:_debugCompile’.

Could not find org.igniterealtime.smack:smack-android:4.1.0-alpha1-SNAPSHOT.

Required by:

app:unspecified

Please use the forum for supportand not the comments on the blog entry. It appears that you dont have the snapshot repository configured.

I has been successfully configured on the android. But there can’t find connect(),login(),disconnect()

,----->

private XMPPConnection connection= new XMPPTCPConnection(connectionConfig);

connection.connect(),

why?

Misayanice, i have deleted your second comment. Do not put inline images like that on blog comments. Blog is not intended for support. Please post your issues on the forums.

ok

it should be

private AbstractXMPPConnection connection = new XMPPTCPConnection(connectionConfig);

connection.connect();

connection.login(username , password , resource);

3q!!

hi,it is provide “transfer files” function for this version?