Closed Luxilia closed 4 years ago
I get a SIGABRT crash when trying to use the nearableManager in any way, for ranging or monitoring of nearables.
FREObject startNearableListening(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]) { @autoreleasepool { NSString *event = @"Nearable"; NSString *code = @"Nearable listener started"; //NSString *code = notImplemented; dispatchEvent(event, code); if(locationExtension.nearableManager != nil){ @try{ [locationExtension.nearableManager startMonitoringForIdentifier: @"32961b8de61e7106"]; } @catch(NSException * e){ NSLog(@"Exception: %@", e); } @finally{ NSLog(@"finally"); } } } return nil; }
This is the function that crashes. As you can see, I'm checking that the manager is not nil, and I even threw the call into a try/catch block to catch any exception, but it still enters (so not nil) and just crashes upon start of monitoring.
I get a SIGABRT crash when trying to use the nearableManager in any way, for ranging or monitoring of nearables.
This is the function that crashes. As you can see, I'm checking that the manager is not nil, and I even threw the call into a try/catch block to catch any exception, but it still enters (so not nil) and just crashes upon start of monitoring.