NucleicandClaude Opus 4.8 765183d25b iOS pairing scanner: delayed bounded retry for reason-1 interruption
On device the camera still reported reason 1 (videoDeviceNotAvailable-
InBackground) even when started from viewDidAppear with the app
foreground-active: the camera assertion isn't granted until the sheet's
presentation transition fully settles (a few hundred ms), and the
back-to-back retries all fired inside that unsettled window.

Add a short delayed retry (0.5s, bounded to 12 attempts) driven by the
interruption notification, plus a proactive +0.6s retry after the view
appears, resetting the counter once the session actually starts. Also log
the window/app/scene activation state to confirm the foreground signals.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-21 17:09:14 -07:00
S
Description
No description provided
2 MiB
Languages
Swift 100%