Quickblox Blog

Igor Khomenko

QuickBlox Server Updates

Posted by Igor Khomenko on July 24, 2014

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 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:
- 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

Taras Filatov

Server and API optimisation updates

Posted by Taras Filatov on June 7, 2014

Yesterday (Friday 6th June 2014) QuickBlox has rolled out a number of important improvements into our production environment:

  • Improved API performance for deleting Users users API opimisation
  •  Improved API performance for deleting Custom Objects
    custom objects API optimisation
  • Average APNS push notification delivery time reduced to 5 seconds
  • Implemented detailed history viewing for APNS notifications
    push log details 1  push log details 2
  • And last, but not least, we have finalised the implementation of God framework. It monitors all internal processes, daemons and services and resurrects them if required. This ensures even better uptime for QuickBlox server applications.

god process monitoring framework   Happy coding with QuickBlox!

Andrey Povelichenko

QuickBlox for NodeJS

Posted by Andrey Povelichenko on June 5, 2014

npm

From today you can use QuickBlox JavaScript SDK with server-side applications on NodeJS through the native node package. Please look at it here:

https://www.npmjs.org/package/quickblox

All that you need it is just install this package in your NodeJS application project like that:

npm install quickblox

After installing quickblox node package, you could include it to your JS code:

var QB = require('quickblox');

So you can use this JavaScript SDK with NodeJS just as you would in the browser.