Payfrit Beacon iOS
Find a file
Schwifty 37e3364e1e fix: resolve FFE2 characteristic lost during write race condition
When CoreBluetooth renegotiates connection parameters (common at edge-of-range),
it can invalidate cached CBCharacteristic references, causing the characteristics
dictionary to return nil mid-write. This resulted in "FFE2 characteristic lost
during write" failures.

Changes:
- Add resolveCharacteristic() with live service fallback when cache misses
- Implement peripheral(_:didModifyServices:) to handle service invalidation
- Replace all direct characteristics[] lookups with resolveCharacteristic()
- Eliminates force-unwrap on FFE1 notification subscribe

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 04:48:04 +00:00
_backup Add ios-marketing idiom, iPad orientations, launch screen 2026-02-10 19:38:11 -08:00
PayfritBeacon fix: resolve FFE2 characteristic lost during write race condition 2026-03-22 04:48:04 +00:00
PayfritBeacon.xcodeproj Add UUIDFormatting.swift to Xcode project 2026-03-21 15:23:43 -07:00
.gitignore Initial commit: Payfrit Beacon iOS native app 2026-02-01 23:39:29 -08:00
ExportOptions.plist Add ios-marketing idiom, iPad orientations, launch screen 2026-02-10 19:38:11 -08:00
ExportOptionsLocal.plist Add ios-marketing idiom, iPad orientations, launch screen 2026-02-10 19:38:11 -08:00
Podfile Rewrite app: simplified architecture, CoreLocation beacon scanning, UI fixes 2026-02-04 22:07:39 -08:00
Podfile.lock Rewrite app: simplified architecture, CoreLocation beacon scanning, UI fixes 2026-02-04 22:07:39 -08:00
QA_WALKTHROUGH.md Initial commit: Payfrit Beacon iOS native app 2026-02-01 23:39:29 -08:00