Quickblox Blog

Igor Khomenko

New way to build a Chat with QuickBlox

Posted by Igor Khomenko on August 21, 2014

Hi everybody!

During last year we were receiving phenomenal feedback about QuickBlox Chat module and we can say now that Chat is a module №1!
Everybody needs a Chat, everybody wants to integrate chat into their applications, everybody would like to build own WhatsApp.

And this is a key signal for us to make it easier to integrate. During last 6 months we were working on the new Chat module which we call Chat 2.0. We had processed all users’ feedback and developed new Chat module which works out of the box and provides all the features users need. We developed new APIs, new features, so now users can use them out of the box, don’t need to do additional job.

Main Chat 2.0 features:

  • State-of-the-art Communication platform – build WhatsApp/Vyber/Skype apps out of the box
  • Real Time Chat via TLS protocol for mobile and WebSockets (new!) for Web
  • Server-side Chat History available via REST API and Admin panel
  • Improved server-side logic for push alerts (chat and call notifications, badge counters for offline users)
  • Smart Push Notification templates (merge tags) for automated business logic driven push alerts
  • Chat State Notifications and Message Delivery Receipts
  • Seamless cross device Chat history sync via message carbons


How to start?

 


Save your time! Build great apps with QuickBlox!

Alex Bass

Q-municate BETA update

Posted by Alex Bass on July 26, 2014

QM-banner

We’ve received phenomenal feedback from our beta launch of Q-municate - the open-source instant messaging, video calling and audio calling app. You can check out the article on TheNextWeb (big thank you to them for writing about us).

If you signed up for the beta, you would have received the email saying that the iOS build would be out shortly. Unfortunately this has not been the case. We decided that we had to push ourselves even further to build a faster, more bug-free, more polished build - and that is what we are doing. We have completed a huge code refactor, in which over 90% of the code was rewritten resulting in an app that was 5X faster than the original. We think that, as an open-source project, this sort of attention to detail is super important. We hope that you understand this, and we appreciate your patience.

As a result, we think we’ll be able to send out the first iOS beta build on Tuesday 29th July. This build will not have video calling or audio calling enabled, as an optimisation in the WebRTC SDK revealed a rather unfortunate bug, of which the development team are working around the clock to fix. However, as soon as it is fixed, we will re-enable calling features and send out the build.

Regarding the web version – this is also under development and likely to be released in 2-3 weeks. If you would like more information about this, feel free to shoot an email to q-municate@quickblox.com and we’ll get back to you ASAP.

Finally, we would just like to say thank you to all of the developers/beta testers who have reported bugs, given feedback and put time in to make Q-municate a better product. We have big ambitions for this app and some awesome new features on their way too – of which we cannot wait to share with you.

Igor Khomenko

QuickBlox Server Updates

Posted by Igor Khomenko on July 24, 2014

The QuickBlox Team always tries to make users experience easy and pleasant, so we made several cool updates in Admin panel, Messages and Users modules!

Now  the admin panel has:

  • Ability to upload your own app logo (by now it is displayed on “Forgot password” page only)
  • AppStore link field added to Application
  • Extended list of Application types (new types were added)
  • New user email notification system management

Messages include the following updates:

  • Email notification channel now supports HTML-tags
  • GCM push notification channel improvements (stability, errors handling, detailed event logs)

Users:

  • API – filter methods now work in scope of current application (instead of account scope)

Chat:

  • API & Admin panel improvements

You can test new features right now! For any questions contact our Assistance Team.

Andrey Povelichenko

JavaScript SDK 1.2.0 and new Documentation released

Posted by Andrey Povelichenko on June 16, 2014

Hey guys!

QuickBlox team has released an update of JS SDK 1.2.0:

  • Updated the SDK core
    • removed jQuery library
    • completion of support IE9
    • QB.session and QB.config are deprecated (please use QB.service.qbInst object instead)
    • optimization SDK
  • Updated Auth module
    • added Twitter authorization
  • Updated Users module
    • added all users filters
    • renamed perPage and pageNo to per_page and page respectively
    • get user by external ID
    • delete user by external ID
    • added .resetPassword() function
  • Bug fixes Content and CO modules

Also was updated the JS documentation

http://quickblox.com/developers/Javascript

Igor Khomenko

Building iOS Apps with QuickBlox and Swift

Posted by Igor Khomenko on June 15, 2014

As everybody already knows Apple released a new programming language called Swift. Swift is the result of the latest research on programming languages, combined with decades of experience building Apple platforms. It is an innovative new programming language for Cocoa and Cocoa Touch. Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. To learn more about Swift, checkout Apple’s reference book.

Swift is ready for your next iOS  project — or for addition into your current app — because Swift code works side-by-side with Objective-C.
And QuickBlox is not an exception. Swift is fully compatible with existing Objective-C libraries, including system libraries like Foundation and third-party libraries like QuickBlox.

To start with QuickBlox and Swift we prepared a demo application which shows how to work with QuickBlox and Swift together.
To connect QuickBlox iOS SDK to your Swift application you need:

  1. Add a new file to your project, an Objective-C .m file.
  2. When prompted about creating a bridge header file, approve the request.
  3. Remove the unused .m file you added.
  4. Add your Objective-C import statements to the created bridge header .h file:
    @import UIKit;
    @import Foundation;
    @import SystemConfiguration;
    @import MobileCoreServices;
    
    #import <Quickblox/Quickblox.h>
    

After this you can start using the QuickBlox framework in your Swift project.

As an additional here is an example how to create an object for  CustomObjects module:

let object = QBCOCustomObject()
object.className = "Movie"
//
var params = ["title": "How to Train Your Dragon 2 ",
              "year": "2014"].bridgeToObjectiveC() as NSMutableDictionary      
object.fields = params
//
QBCustomObjects.createObject(object, delegate: self)

...

func completedWithResult(result: Result){
    if result is QBCOCustomObjectResult{
        if result.success{
            println("success")
        }else{
            println(result.errors.description)   
        }
    }
}

That’s all you need to know to start. For any further questions please ask ‘quickblox’ tagged question on StackOverflow