Hi, I'm trying to make unity plugin for checking if Bluetooth is on or off on the iPhone/iPad. And I'm kinda stuck halfway.
In my current plugin I just call one method that initializes CBCentralManager and then should check the state of the manager. But nothing happens when I call IsBluetoothEnabled in Unity. Like the delegate isn't being fired. But I do get the alert if I call it manually ([self centralManagerDidUpdateState:self.bluetoothManager]
in detectBluetooth method. So calling the...
Bluetooth plugin for untiy
In my current plugin I just call one method that initializes CBCentralManager and then should check the state of the manager. But nothing happens when I call IsBluetoothEnabled in Unity. Like the delegate isn't being fired. But I do get the alert if I call it manually ([self centralManagerDidUpdateState:self.bluetoothManager]

Bluetooth plugin for untiy