Skip to content

Conversation

@pushpender-singh-ap
Copy link
Owner

@pushpender-singh-ap pushpender-singh-ap commented Oct 2, 2025

  • Add thread-safe session management with sessionQueue synchronization
  • Implement onSessionReady callback pattern for preview layer binding
  • Fix race conditions in start/stop scanning lifecycle
  • Add session interruption handling for calls and alarms
  • Add Swift 6 preconcurrency and unchecked Sendable annotations
  • Move flashlight operations to background queue for thread safety
  • Improve session reuse logic to prevent duplicate creation
  • Add proper cleanup in deinit and invalidate methods

…warnings

- Add thread-safe session management with sessionQueue synchronization
- Implement onSessionReady callback pattern for preview layer binding
- Fix race conditions in start/stop scanning lifecycle
- Add session interruption handling for calls and alarms
- Add Swift 6 @preconcurrency and @unchecked Sendable annotations
- Move flashlight operations to background queue for thread safety
- Improve session reuse logic to prevent duplicate creation
- Add proper cleanup in deinit and invalidate methods
@pushpender-singh-ap pushpender-singh-ap self-assigned this Oct 2, 2025
@pushpender-singh-ap pushpender-singh-ap merged commit cf1b833 into main Oct 2, 2025
5 of 6 checks passed
@pushpender-singh-ap pushpender-singh-ap deleted the fix/ios-camera-race-conditions branch October 2, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant