Quickblox Blog

Igor Khomenko

Android SDK 2.1

Posted by Igor Khomenko on January 19, 2015

After almost 3 months, the QuickBlox team is ready to release the next update of Android SDK: 2.1.

This is kind of polishing of the 2.x family which contains a bunch of new features and some stability fixes.

What’s new:

Features:

  • Added QBParticipantListener that will be notified of any new Presence packets sent to the group chat.
  • Added QBMessageListenerImpl – an implementation of QBMessageListener.
  • API to remove multiple chat messages in a single query
  • API to create a chat message via REST
  • New filters in QBRequestGetBuilder: outputInclude, outputExclude, near
  • Added a method getRecipientId to QBDialog class.
  • Added a method getSession to QBAuth to get an info about current session.
  • New filters in QBRequestUpdateBuilder: addToSet, updateArrayValue.
  • Added put<type> methods to QBCustomObject class.
  • Added a method setId to QBChatMessage to set the custom Id.
  • Upload/Download files progress callbacks for Content and CustomObjects modules.
  • API to create the geodata with the location-push
  • Updated core of the XMPP library
  • Removed classes QBMessage and QBChatHistoryMessage. Now QBChatMessage must be used anywhere.

Fixes:

  • Doesn’t add extraParams to the chat message if there are no any extra parameters or attachments added to chat message.
  • deleteDialog method in the QBGroupChatManager and QBPrivateChatManager classes are marked as none static.
  • Issue with chat logout where it wasn’t possible to login with another user without doing QBChatService.getInstance().destroy();

Feel free to download the Android SDK 2.1 here.

Don’t be shy and go build something awesome with QuickBlox Android SDK!

Igor Khomenko

QuickBlox releases Android SDK 2.0 with updated Chat API, generics and synchronous requests

Posted by Igor Khomenko on November 11, 2014

QuickBlox releases Android SDK 2.0 with updated Chat API, generics and synchronous requests!
We completely reviewed Chat module and made it easier to use and also add a huge amount of new features.

It’s the biggest Android release ever we did.

What’s new:

  • Updated Chat API with ‘user is typing’, ‘message read’, ‘message delivered’ statuses tracking, message carbons and more :)
  • New generic callbacks, Result entity is deprecated
  • Synchronous requests

We prepared the transition guide from 1.2 to 2.0, so feel free to use it and migrate to the new API

Also we updated all code samples , so you can easily start working with new features

QuickBlox to power your apps! Cheers!

Alex Bass

Be part of a big developer economics survey!

Posted by Alex Bass on November 10, 2014

Our friends over at VisionMobile have just launched their latest Developer Economics survey and they’re tracking developer trends across platforms, app revenues and dev tools – as well as investigating the emerging IoT market. The key findings from the survey will become available in the form of a free research report in February next year. Aside from contributing to the research, respondents to the survey will also get a chance to win some great prizes, including an iPhone 6, an Oculus Rift DevKit, and a Samsung Gear Smartwatch. You can take the survey here: http://vmob.me/DE1Q15QuickBlox

What are the latest trends in app development you’re seeing? Which platform is the best for monetising your apps? Which is the right revenue model for your apps? Do you think IoT is here to stay or just a fad? Take the survey and contribute to this research :)

Taras Filatov

Kafka, XMPP Chat, SSL and clustering married together

Posted by Taras Filatov on November 4, 2014

QuickBlox has recently added the support for Kafka (pub-sub queue / messaging system).

We have made our Chat server write to Kafka so that it is easier for our enterprise users to apply analytics, trust & safety and external systems and tools to chat server generated data.

We have also enabled SSL encrypted connection via AWS load balancer so that you can connect Kafka consumers via a secure HTTPS connection.

This solution has been adjusted and tested to work in a scalable environment so that X Kafka brokers can work with Y Chat servers controlled by Z Kafka ZooKeepers. You may also connect multiple consumers if required. This is very useful for backup, analytics and real-time reaction / integration systems.

The configuration depends on architecture and scalability factors but here is an example diagram (clickable) showing the principal scheme.

Apache Kafka queue added to XMPP Chat server via SSL and clustered

Igor Khomenko

New feature: Push Notifications for offline participants in a group chat dialog

Posted by Igor Khomenko on October 24, 2014

QuickBlox releases a new feature – Push Notifications for offline participants in a group chat dialog!

Earlier this feature was available only for 1-1 dialogs.

How it works:
For example you have a group chat dialog with 3 users. Let’s say User1 sent a message to this dialog and 2 other users are offline at the moment.
Now they will receive an automatic push notification, so they will be able to reply quickly.

Push Notifications settings can be configured in Chat Alerts tab in the QuickBlox dashboard.

Cheers!