payfrit-beacon-ios/PayfritBeacon/Services
Schwifty c243235237 fix: connection callback bug + add provisioning diagnostics
BIG FIX: Provisioners were calling centralManager.connect() but
BLEManager is the CBCentralManagerDelegate — provisioners never
received didConnect/didFailToConnect callbacks, so connections
ALWAYS timed out after 5s regardless. This is why provisioning
kept failing. Fixed by:
1. Adding didConnect/didFailToConnect/didDisconnect to BLEManager
2. Provisioners register connection callbacks via bleManager
3. Increased connection timeout from 5s to 10s

DIAGNOSTICS: Added ProvisionLog system so failures show a timestamped
step-by-step log of what happened (with Share button). Every phase
is logged: init, API calls, connect attempts, service discovery,
auth, write commands, and errors.
2026-03-22 23:12:06 +00:00
..
APIClient.swift fix: decode actual API response format (OK + flat keys, not Success/Data) 2026-03-22 21:26:42 +00:00
APIConfig.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00
BLEManager.swift fix: connection callback bug + add provisioning diagnostics 2026-03-22 23:12:06 +00:00
ProvisionLog.swift fix: connection callback bug + add provisioning diagnostics 2026-03-22 23:12:06 +00:00
SecureStorage.swift feat: complete rebuild of PayfritBeacon iOS from scratch 2026-03-22 17:13:36 +00:00