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

Choose the right camera in PWAs, Android and iOS #321

Closed
salboaie opened this issue Aug 9, 2021 · 1 comment
Closed

Choose the right camera in PWAs, Android and iOS #321

salboaie opened this issue Aug 9, 2021 · 1 comment
Assignees
Labels
bug Something isn't working Mobile App Stories/ Issues related to Native Mobile apps

Comments

@salboaie
Copy link
Member

salboaie commented Aug 9, 2021

Currently we try to choose a back camera, but Samsung Galaxy S21 (and probably other new phones) have telephoto/ wide angle lens.

Solution: we should switch between cameras until we find a "normal / macro lens" one.

@rite2bala rite2bala added bug Something isn't working Mobile App Stories/ Issues related to Native Mobile apps labels Aug 9, 2021
@rite2bala
Copy link

rite2bala commented Aug 10, 2021

WhatsApp.Video.2021-08-09.at.2.01.45.PM.1.mp4

Here is the video using a Samsung Galaxy M31

You would observe that the camera opens in telescopic view having a large field of view.
inspite of holding the camera about 15 cm away from the laptop, the entire laptop is seen

When the change camera option is clicked, it opens the front camera .. and then after pressing it multiple times, at 0:21 seconds- the actual normal/ macro camera is turned on , and the code is visible very clearly before getting scanned.

In my opinion, if we can have the ability to identify the normal camera/ macro lens and choose it as a default, it would solve the issue.

Update from previous testing:
We have tried installing other apps that are popular in India - generally used to scan QR Code & make payments using the phone. It is observed that there is only one camera option to show the image from the normal lens - and no option to change cameras.

WhatsApp Image 2021-08-10 at 11 50 39 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Mobile App Stories/ Issues related to Native Mobile apps
Projects
None yet
Development

No branches or pull requests

4 participants