Open twyatt opened 2 months ago
@twyatt Hi. Can u add an iOS Filter by mac address from advertisement data?
Unfortunately (as far as I'm aware), Core Bluetooth (iOS) does not expose the MAC address, making it impossible to filter by that on iOS.
Let me know if you happen to find a Core Bluetooth API that exposes MAC address.
IllegalArgumentException: Filtering by address (Filter.Address) is not supported on Apple platforms
FileFailedToInitializeException: There was an error during file or class initialization
Stacktrace
```java > Task :app:runDebugExecutableMacosArm64 FAILED [I/SensorTag] Searching for SensorTag... Uncaught Kotlin exception: kotlin.native.internal.FileFailedToInitializeException: There was an error during file or class initialization at 0 sensortag.kexe 0x10014d12f kfun:kotlin.Error#This is caused by throwing the exception in the
CentralManagerCoreBluetoothScanner
class' init block:https://github.com/JuulLabs/kable/blob/c91f0fa9bdb5469b55ecc29aad31ce5760f24d21/core/src/appleMain/kotlin/CentralManagerCoreBluetoothScanner.kt#L26-L30