The API requires HardwareId as a mandatory field, but the iOS app was sending MacAddress (wrong key) and always passing nil. This caused "HardwareId is required" errors after provisioning. Since CoreBluetooth doesn't expose raw MAC addresses, we use the CBPeripheral.identifier UUID as the hardware ID — same concept as Android's device.address. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| App | ||
| Assets.xcassets | ||
| en.lproj | ||
| Models | ||
| Provisioners | ||
| Services | ||
| Utils | ||
| Views | ||
| BeaconProvisioner.swift | ||
| Info.plist | ||
| payfrit-favicon-light-outlines.svg | ||