Messages posted by: mGoyal
Forum Index » Profile for mGoyal » Messages posted by mGoyal
Message
We are currently using an older version of Jabra SDK(Nov2017 version) and we are trying to upgrade to the latest version for OSX.

The following methods are not available in the new version:-
Jabra_GetLock
Jabra_ReleaseLock
deviceInfo.isBTPaired

Our implementation was library based, we were using libjabra.1.dylib
And using Jabra_Initialize.

Please provide us a demo for libarary integration, as we have a old code base so we have to stick to dylib integration, can not move to framework.
Our app does not supports swift as it is a coredova application.


Please find the attached source code:-

-(void)setup
{

// Prevent setup more than once
static dispatch_once_t once;

dispatch_once(&once, ^
{
NSMutableDictionary* dict = [[NSMutableDictionary alloc] init];
[self setJabraDevices:dict];
void* lib_handle = dlopen("libjabra.dylib", RTLD_LOCAL|RTLD_LAZY);
if (!lib_handle) {
NSLog(@"[%s] Unable to load libjabra library: %s\n", __FILE__, dlerror());
}
else
{
NSLog(@"Successfully loaded libjabra library");
}
lib_handle = NULL;
lib_handle = dlopen("libjsoncpp.1.dylib", RTLD_LOCAL|RTLD_LAZY);
if (!lib_handle) {
NSLog(@"[%s] Unable to load libjsoncpp.1 library: %s\n", __FILE__, dlerror());
}
else
{
NSLog(@"Successfully loaded libjsoncpp.1 library");
}
Jabra_SetAppID(APP_NAME);
[self initializeGNLibrary];
});
}
 
Forum Index » Profile for mGoyal » Messages posted by mGoyal
Go to: