Reputation: 1376
I am working on a quickblox
application and its working fine for devices with API 20 or above
.
My problem is that my application crashes in devices below API level 20
.
Do Quickblox only support devices with API 20 or above?
Or i need to do some modification in my code?
I am using quickblox github demo in my application.
Upvotes: 0
Views: 113
Reputation: 713
try to intialize your quickblox by this method.
if(Build.VERSION.SDK_INT<Build.VERSION_CODES.LOLLIPOP){
QBSettings.getInstance().setStoringMehanism(StoringMechanism.UNSECURED);
}else{
QBSettings.getInstance().setStoringMehanism(StoringMechanism.SECURED);
}
Upvotes: 1