CodeScannerView freezes after returning from child page

Open
#120 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift
Domain
mobile

Research direction

Start with the CodeScannerView entry point and reproduce the listed navigation flow: open the scanner, visit a child page, and return. Investigate the camera behavior after returning, using the missing Dynamic Island green light as a symptom. Done means CodeScannerView remains responsive and continues scanning after navigation.

Written by the indexing model from the issue text.

Description

Description:
I have encountered an issue with the CodeScannerView where it freezes after returning from a child page.

Steps to Reproduce
  1. Navigate to the page containing the CodeScannerView.
  2. Navigate to a child page.
  3. Return to the page containing the CodeScannerView.
  4. Observe that the CodeScannerView becomes unresponsive and frozen.
Expected Behavior

After returning from the child page, the CodeScannerView should continue to function as expected.

Actual Behavior

The CodeScannerView freezes. I don't see the green light on the Dynamic Island too. I think the camera connection is cut off.

Dominant language
Swift
Stars
1.2k
Forks
328
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from twostraws/CodeScanner

All issues in twostraws/CodeScanner

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.