Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPhone 15 Pro Max Camera Automatically Switches Lenses During Use #67

Open
Keddib opened this issue Nov 15, 2024 · 0 comments
Open

iPhone 15 Pro Max Camera Automatically Switches Lenses During Use #67

Keddib opened this issue Nov 15, 2024 · 0 comments

Comments

@Keddib
Copy link

Keddib commented Nov 15, 2024

There is an issue with react-camera-pro on the iPhone 15 Pro Max. When using the library, the camera starts with a default lens but automatically switches to another lens (e.g., ultra-wide) when focusing on objects or moving the phone.

Attempting to switch between different deviceId values dynamically has no effect—the app always starts with the same default lens and switches to another one automatically during use.

This causes a visible flicker, likely due to changes in resolution or field of view, which is particularly disruptive for document scanning and similar tasks.

Steps to Reproduce:

1.	Test the demo provided in the repository using an iPhone 15 Pro Max.
2.	Allow camera access and start the feed.
3.	Focus on an object or move the phone slightly.
4.	Attempt to set or switch deviceId values in the code.
5.	Notice the lens switching behavior and resulting flicker.

Expected Behavior:

The app should respect the specified deviceId and prevent automatic switching between lenses. Switching deviceId values should result in the corresponding lens being selected and used consistently.

Actual Behavior:

The app starts with a default lens and switches to another lens during use, regardless of the deviceId provided or updated dynamically.

Environment:

•	Device: iPhone 15 Pro Max
•	Browser: Safari, Chrome
•	Library Version: [Latest release]

This issue was tested with the demo in the repository, and the behavior is reproducible. I have a screenshot demonstrating the problem—let me know if it would help!

Thank you so much 🙏

RPReplay_Final1731683022-ezgif com-optimize

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

No branches or pull requests

1 participant