4

QuickBlox (Android SDK) isn't running anymore on Android API Before 14.

When I try to create a session for QuickBlox using QBAuth.createSession(new QBCallbackImpl() {, it gives this error:

(javax.net.ssl.SSLPeerUnverifiedException: No peer certificate).

The strange thing that it was running before!

I'm using QuickBlox Android SDK 1.2.4, should I migrate to SDK 2? but it is still Beta!

Ayman Mahgoub
  • 4,152
  • 1
  • 30
  • 27

1 Answers1

1

It seems that there is a problem when using QuickBlox Android SDK 1.2, highly recommended to use QuickBlox Android SDK 2 (but it still Beta!).

If we still need to use QuickBlox Android SDK 1.2, we can work around that by calling this before creating the session

QBSettings.getInstance().setTransferProtocol(TransferProtocol.HTTP);

It works like a charm.

Ayman Mahgoub
  • 4,152
  • 1
  • 30
  • 27