I want to create a plugin
Reference frame Flashlight
https://docs.coronalabs.com/tutorial/native/iosIntro/index.html
It’s no luck
Add
#import <CoreBluetooth/CoreBluetooth.h>
Build
…
error
/clang:-1: linker command failed with exit code 1 (use -v to see invocation)
bool PluginLibrary::Initialize( CoronaLuaRef listener ) { // Can only initialize listener once bool result = ( NULL == fListener ); if ( result ) { fListener = listener; } manager = [[CBCentralManager alloc] initWithDelegate:nil queue:nil]; return result; }
How to use CBCentralManager
need help