Skip to content

Fix iOS Initializing speed - #320

Closed
BradleyAlcock wants to merge 1 commit into
Redth:mainfrom
BradleyAlcock:ImproveiOSInitializingSpeed
Closed

Fix iOS Initializing speed#320
BradleyAlcock wants to merge 1 commit into
Redth:mainfrom
BradleyAlcock:ImproveiOSInitializingSpeed

Conversation

@BradleyAlcock

@BradleyAlcock BradleyAlcock commented Aug 14, 2026

Copy link
Copy Markdown

Added UpdateCameraStart to move the point where captureSession.StartRunning() first fires to the last option that causes UpdateCamera to fire, MapVisibility. This reduces initialization time by a few seconds
fixes #319

Added UpdateCameraStart to move the point where captureSession.StartRunning() first fires to the last option that causes UpdateCamera to fire, MapVisibility
@jfversluis

Copy link
Copy Markdown
Collaborator

@BradleyAlcock Could you test #321 as a safe alternative? It keeps startup in Connect; a MapVisibility-owned start can be skipped by CameraView, custom mappers, or lifecycle ordering.

@BradleyAlcock

Copy link
Copy Markdown
Author

@jfversluis #321 tested across 3 scenarios, plain big island, moving to a different page and setting a property . All worked well, much more elegant solution, thank you.

@jfversluis

Copy link
Copy Markdown
Collaborator

Closing in favor of #321, which preserves connection-owned startup while avoiding redundant AVFoundation reconfiguration and stop/start cycles. Thanks @BradleyAlcock for identifying and profiling the issue.

@jfversluis jfversluis closed this Aug 14, 2026
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.

iOS delayed by 3-5 seconds to initialize and open barcode reader view

2 participants