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

Unable to Use Switch button on Camera Capture (File Upload) #9002

Open
4 tasks
samholics opened this issue Nov 5, 2024 · 1 comment
Open
4 tasks

Unable to Use Switch button on Camera Capture (File Upload) #9002

samholics opened this issue Nov 5, 2024 · 1 comment
Assignees

Comments

@samholics
Copy link

samholics commented Nov 5, 2024

Describe the bug
When trying to upload files using camera capture on the file upload feature, the "Switch" button for switch between front camera and to rear camera is not working. it is showing an error " Switch Camera is not available". it's happening on an IOS device. (safari)
it takes multiple clicks to get this error response.
currently, the camera opens as front camera by default
Also even if we close the camera capture session, the system was showing the camera is still on use. I have to stop the camera use manually.
To Reproduce
Steps to reproduce the behavior:

  1. Go to CARE on an IOS device (18.1) safari
  2. select a patient card
  3. Click on file upload and try to upload a file using camera capture
  4. click on the switch button
  5. See error
    Expected behavior
  • The switch button should be responsive on the first click
  • Back camera should be opened as default
  • Camera use should be stopped automatically when the camera capture session is closed
  • Delay in opening camera and capturing picture should be resolved. ( seen on android devices)

Screenshots
If applicable, add screenshots to help explain your problem.
link for the video: https://drive.google.com/file/d/1bRGGN4avusAWx3fNguyvl1nBQcD0O_g3/view?usp=sharing

Smartphone (please complete the following information):

  • Device: [e.g. iPhone13]
  • OS: [e.g. iOS18.1]
  • safari

Additional context
Add any other context about the problem here.

@samholics samholics changed the title Switch button on camera capture (file Upload) is not working Unable to Use Switch button on Camera Capture (File Upload) Nov 5, 2024
@abhistarck
Copy link

Hey @samholics l like to work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Up Next
Development

No branches or pull requests

2 participants